sys-libs/compiler-rt-sanitizers: Strip test broken by glibc-2.24
authorMichał Górny <mgorny@gentoo.org>
Thu, 15 Mar 2018 17:39:25 +0000 (18:39 +0100)
committerMichał Górny <mgorny@gentoo.org>
Thu, 15 Mar 2018 18:08:02 +0000 (19:08 +0100)
sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-4.0.1.ebuild
sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-5.0.1.ebuild

index 075cea462773d8909dcfb05b06ca42ac2fc0a5b9..632e36150ded813bbc1a21840730b7f3ab99ccfc 100644 (file)
@@ -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
index 87e15772f6b8b38e4b4477f9ddb6e17c35d800bc..f2e8c37d83c461994983382fba59219f8f5bdb06 100644 (file)
@@ -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