commit:     a382f2d3d366c198c7a2e8b0f05c88a53a89a618
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 29 16:34:59 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Fri Aug 29 16:39:45 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a382f2d3

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 <AT> gentoo.org>

 .../compiler-rt-sanitizers-15.0.7-r1.ebuild                   | 11 +++++++++++
 .../compiler-rt-sanitizers-16.0.6-r1.ebuild                   |  4 ++++
 .../compiler-rt-sanitizers-17.0.6-r1.ebuild                   |  4 ++++
 3 files changed, 19 insertions(+)

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
 }

Reply via email to