summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-03-15 18:39:25 +0100
committerMichał Górny <mgorny@gentoo.org>2018-03-15 19:08:02 +0100
commit8d09cdc65b7cbec80d50a964fd220ea53dcda613 (patch)
tree290da04c21cdf757b28de27e7a48e4b7c7e9fb93 /sys-libs
parentsys-cluster/nova: 16.1.0 stable amd64 and x86 with cleanup (diff)
downloadgentoo-8d09cdc65b7cbec80d50a964fd220ea53dcda613.tar.gz
gentoo-8d09cdc65b7cbec80d50a964fd220ea53dcda613.tar.bz2
gentoo-8d09cdc65b7cbec80d50a964fd220ea53dcda613.zip
sys-libs/compiler-rt-sanitizers: Strip test broken by glibc-2.24
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-4.0.1.ebuild4
-rw-r--r--sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-5.0.1.ebuild4
2 files changed, 8 insertions, 0 deletions
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