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 cc90625548d1e..0953044302ffb 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 e90e63cb5f349..a0b644c7e945b 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 c8df8fbabb40e..5ce45f2b76ec2 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 }