[Openmp-commits] [compiler-rt] [openmp] [ubsan][test] Skip Misc/Posix/static-link.cpp on Solaris (PR #175462)
via Openmp-commits
openmp-commits at lists.llvm.org
Mon Jan 12 08:56:15 PST 2026
================
@@ -48,6 +48,12 @@
#define KMP_CANCEL_THREADS
#define KMP_THREAD_ATTR
+// GCC 15 libstdc++ enables debug assertions in unoptimized builds.
+// Disable them to allow libomp.so to link without libstdc++.so.
+#if !__OPTIMIZE__
+#define GLIBCXX_NO_ASSERTIONS
+#endif
+
----------------
jprotze wrote:
The withdrawn commit from #175463 sneaked in here :)
https://github.com/llvm/llvm-project/pull/175462
More information about the Openmp-commits
mailing list