From 5216a5babc967f8374e3fe6c6e631080977d33ce Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 12 Mar 2024 07:54:17 +0000 Subject: sys-libs/compiler-rt-sanitizers: skip -Wthread-safety on older versions Too much pain to backport it, it's just that newer Clang got better at detecting these. Closes: https://bugs.gentoo.org/926330 Signed-off-by: Sam James --- sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-15.0.7.ebuild | 3 +++ sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild | 3 +++ sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild | 3 +++ 3 files changed, 9 insertions(+) (limited to 'sys-libs/compiler-rt-sanitizers') diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-15.0.7.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-15.0.7.ebuild index a0fc463aab2e..0ecd27c9f4f2 100644 --- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-15.0.7.ebuild +++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-15.0.7.ebuild @@ -91,6 +91,9 @@ src_prepare() { fi done + # bug #926330 + sed -i -e '/-Wthread-safety/d' CMakeLists.txt cmake/config-ix.cmake || die + # TODO: fix these tests to be skipped upstream if use asan && ! use profile; then rm test/asan/TestCases/asan_and_llvm_coverage_test.cpp || die diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild index fb27ee0f9e4d..58a7a57b942a 100644 --- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild +++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild @@ -89,6 +89,9 @@ src_prepare() { fi done + # bug #926330 + sed -i -e '/-Wthread-safety/d' CMakeLists.txt cmake/config-ix.cmake || die + # TODO: fix these tests to be skipped upstream if use asan && ! use profile; then rm test/asan/TestCases/asan_and_llvm_coverage_test.cpp || die diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild index 34f22c544481..b9264ab7e0a0 100644 --- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild +++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild @@ -89,6 +89,9 @@ src_prepare() { fi done + # bug #926330 + sed -i -e '/-Wthread-safety/d' CMakeLists.txt cmake/config-ix.cmake || die + # TODO: fix these tests to be skipped upstream if use asan && ! use profile; then rm test/asan/TestCases/asan_and_llvm_coverage_test.cpp || die -- cgit v1.2.3-65-gdbad