From 8d09cdc65b7cbec80d50a964fd220ea53dcda613 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Thu, 15 Mar 2018 18:39:25 +0100 Subject: sys-libs/compiler-rt-sanitizers: Strip test broken by glibc-2.24 --- sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-4.0.1.ebuild | 4 ++++ sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-5.0.1.ebuild | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'sys-libs') diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-4.0.1.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-4.0.1.ebuild index 075cea462773..632e36150ded 100644 --- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-4.0.1.ebuild +++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-4.0.1.ebuild @@ -70,6 +70,10 @@ src_prepare() { if use test; then # remove tests that are broken by new glibc + # (disabled in 6.0.0+, r313069) + if use elibc_glibc && has_version '>=sys-libs/glibc-2.24'; then + rm test/tsan/Linux/user_malloc.cc || die + fi # https://bugs.llvm.org/show_bug.cgi?id=36065 if use elibc_glibc && has_version '>=sys-libs/glibc-2.25'; then rm test/lsan/TestCases/use_tls_dynamic.cc || die diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-5.0.1.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-5.0.1.ebuild index 87e15772f6b8..f2e8c37d83c4 100644 --- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-5.0.1.ebuild +++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-5.0.1.ebuild @@ -74,6 +74,10 @@ src_prepare() { if use test; then # remove tests that are broken by new glibc + # (disabled in 6.0.0+, r313069) + if use elibc_glibc && has_version '>=sys-libs/glibc-2.24'; then + rm test/tsan/Linux/user_malloc.cc || die + fi # https://bugs.llvm.org/show_bug.cgi?id=36065 if use elibc_glibc && has_version '>=sys-libs/glibc-2.25'; then rm test/lsan/TestCases/Linux/use_tls_dynamic.cc || die -- cgit v1.2.3-65-gdbad