commit:     a6dc051cd3b1dadb52d49133bdde51a04171aaf6
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  3 21:08:15 2017 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Nov  3 21:08:15 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6dc051c

sys-devel/binutils: Temporarily disable ld.gold test suite, bug 634348

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       |  2 ++
 .../files/binutils-2.29.1-nogoldtest.patch         | 27 ++++++++++++++++++++++
 2 files changed, 29 insertions(+)

diff --git a/sys-devel/binutils/binutils-2.29.1-r1.ebuild 
b/sys-devel/binutils/binutils-2.29.1-r1.ebuild
index 89edaa6e995..b0f97883f2f 100644
--- a/sys-devel/binutils/binutils-2.29.1-r1.ebuild
+++ b/sys-devel/binutils/binutils-2.29.1-r1.ebuild
@@ -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
index 00000000000..8e0669922d4
--- /dev/null
+++ b/sys-devel/binutils/files/binutils-2.29.1-nogoldtest.patch
@@ -0,0 +1,27 @@
+From 40f6e93e5078f16897f23856886566fe3b546206 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= <[email protected]>
+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
+

Reply via email to