summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@gentoo.org>2025-08-29 12:34:59 -0400
committerEli Schwartz <eschwartz@gentoo.org>2025-08-29 12:39:45 -0400
commita382f2d3d366c198c7a2e8b0f05c88a53a89a618 (patch)
treec633116a69350bc59b116fd545170a8fedf2e41c
parentd6d722b0d9bc4167e4276c5cc5265cab30dc3fd3 (diff)
downloadgentoo-a382f2d3d366c198c7a2e8b0f05c88a53a89a618.tar.gz
gentoo-a382f2d3d366c198c7a2e8b0f05c88a53a89a618.tar.bz2
gentoo-a382f2d3d366c198c7a2e8b0f05c88a53a89a618.zip
llvm-runtimes/compiler-rt-sanitizers: sync more glibc version test skips
reduces noise, at least a little bit, for test failures in old slots. The printf-fortify skips were in older ebuilds for newer slots, that since got obsoleted by cherry-picks. But they weren't synced down, so add them now. Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
-rw-r--r--llvm-runtimes/compiler-rt-sanitizers/compiler-rt-sanitizers-15.0.7-r1.ebuild11
-rw-r--r--llvm-runtimes/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6-r1.ebuild4
-rw-r--r--llvm-runtimes/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6-r1.ebuild4
3 files changed, 19 insertions, 0 deletions
diff --git a/llvm-runtimes/compiler-rt-sanitizers/compiler-rt-sanitizers-15.0.7-r1.ebuild b/llvm-runtimes/compiler-rt-sanitizers/compiler-rt-sanitizers-15.0.7-r1.ebuild
index cc90625548d1..0953044302ff 100644
--- a/llvm-runtimes/compiler-rt-sanitizers/compiler-rt-sanitizers-15.0.7-r1.ebuild
+++ b/llvm-runtimes/compiler-rt-sanitizers/compiler-rt-sanitizers-15.0.7-r1.ebuild
@@ -106,6 +106,13 @@ src_prepare() {
if use ubsan && ! use cfi; then
> test/cfi/CMakeLists.txt || die
fi
+
+ if has_version -b ">=sys-libs/glibc-2.37"; then
+ # known failures with glibc-2.37
+ # https://github.com/llvm/llvm-project/issues/60678
+ rm test/dfsan/custom.cpp || die
+ rm test/dfsan/release_shadow_space.c || die
+ fi
if has_version -b ">=sys-libs/glibc-2.38"; then
# On glibc 2.38, the "nohang" test fails by... hanging.
# "fixed" in llvm 19.
@@ -113,6 +120,10 @@ src_prepare() {
# https://github.com/llvm/llvm-project/commit/deebf6b312227e028dd3258b162306b9cdb21cf7
rm test/tsan/getline_nohang.cpp || die
fi
+ if has_version ">=sys-libs/glibc-2.40"; then
+ # https://github.com/llvm/llvm-project/issues/100877
+ rm test/asan/TestCases/Linux/printf-fortify-5.c || die
+ fi
llvm.org_src_prepare
}
diff --git a/llvm-runtimes/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6-r1.ebuild b/llvm-runtimes/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6-r1.ebuild
index e90e63cb5f34..a0b644c7e945 100644
--- a/llvm-runtimes/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6-r1.ebuild
+++ b/llvm-runtimes/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6-r1.ebuild
@@ -119,6 +119,10 @@ src_prepare() {
# https://github.com/llvm/llvm-project/commit/deebf6b312227e028dd3258b162306b9cdb21cf7
rm test/tsan/getline_nohang.cpp || die
fi
+ if has_version ">=sys-libs/glibc-2.40"; then
+ # https://github.com/llvm/llvm-project/issues/100877
+ rm test/asan/TestCases/Linux/printf-fortify-5.c || die
+ fi
llvm.org_src_prepare
}
diff --git a/llvm-runtimes/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6-r1.ebuild b/llvm-runtimes/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6-r1.ebuild
index c8df8fbabb40..5ce45f2b76ec 100644
--- a/llvm-runtimes/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6-r1.ebuild
+++ b/llvm-runtimes/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6-r1.ebuild
@@ -112,6 +112,10 @@ src_prepare() {
# https://github.com/llvm/llvm-project/commit/deebf6b312227e028dd3258b162306b9cdb21cf7
rm test/tsan/getline_nohang.cpp || die
fi
+ if has_version ">=sys-libs/glibc-2.40"; then
+ # https://github.com/llvm/llvm-project/issues/100877
+ rm test/asan/TestCases/Linux/printf-fortify-5.c || die
+ fi
llvm.org_src_prepare
}