sys-devel/binutils: Temporarily disable ld.gold test suite, bug 634348
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Fri, 3 Nov 2017 21:08:15 +0000 (22:08 +0100)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Fri, 3 Nov 2017 21:08:15 +0000 (22:08 +0100)
The ld.gold test suite has problems with --enable-default-pie.
This is known upstream, but there's no activity on the bug, so
let's temporarily disable testing only for ld.gold.

The rest of the test suite (gas, ld, ...) works fine.

Bug: https://bugs.gentoo.org/634348
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=21090
Package-Manager: Portage-2.3.13, Repoman-2.3.4

sys-devel/binutils/binutils-2.29.1-r1.ebuild
sys-devel/binutils/files/binutils-2.29.1-nogoldtest.patch [new file with mode: 0644]

index 89edaa6e995b0c77ad2a9df9ab06ca14702950ae..b0f97883f2f9291f3f158c948736477a30b99fe4 100644 (file)
@@ -8,3 +8,5 @@ ELF2FLT_VER=""
 inherit toolchain-binutils
 
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd -sparc-fbsd ~x86-fbsd"
+
+PATCHES=( "${FILESDIR}/${P}-nogoldtest.patch" )
diff --git a/sys-devel/binutils/files/binutils-2.29.1-nogoldtest.patch b/sys-devel/binutils/files/binutils-2.29.1-nogoldtest.patch
new file mode 100644 (file)
index 0000000..8e06699
--- /dev/null
@@ -0,0 +1,27 @@
+From 40f6e93e5078f16897f23856886566fe3b546206 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= <dilfridge@gentoo.org>
+Date: Fri, 3 Nov 2017 21:51:35 +0100
+Subject: [PATCH] Gentoo: Disable gold testsuite for users since it fails
+ upstream
+
+https://bugs.gentoo.org/634348
+https://sourceware.org/bugzilla/show_bug.cgi?id=21090
+---
+ Makefile.in | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index 3acb83b8de..49de829bfa 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -2340,7 +2340,6 @@ check-host:  \
+     maybe-check-mpc \
+     maybe-check-isl \
+     maybe-check-libelf \
+-    maybe-check-gold \
+     maybe-check-gprof \
+     maybe-check-intl \
+     maybe-check-tcl \
+-- 
+2.15.0
+