Bug#744020: binutils: Enablling build of the gold linker on hurd-i386

2014-04-09 Thread Thomas Schwinge
Hi!

On Wed, 09 Apr 2014 11:42:07 +0200, Svante Signell  
wrote:
> the gold linker is not enabled for
> GNU/Hurd. This linker is needed for e.g. gccgo. The attached patch fixes
> this problem. Running the testsuite for gold (disabled by
> 30_gold_disable_testsuite_build.patch) shows that 195 of 199 tests
> succeed.

For the record, this matches my testing of gold;
.  The four
FAILs have not yet been analyzed, though.


Grüße,
 Thomas


pgp_C88LUesZj.pgp
Description: PGP signature


Bug#744020: binutils: Enablling build of the gold linker on hurd-i386

2014-04-09 Thread Svante Signell
Source: binutils
Version: 2.24-5
Severity: important
Tags: patch
User: debian-h...@lists.debian.org
Usertags: hurd

Hello, for some reason build of the gold linker is not enabled for
GNU/Hurd. This linker is needed for e.g. gccgo. The attached patch fixes
this problem. Running the testsuite for gold (disabled by
30_gold_disable_testsuite_build.patch) shows that 195 of 199 tests
succeed.

Thanks! 
--- a/debian/rules.orig	2014-04-08 14:55:41.0 +0200
+++ b/debian/rules	2014-04-09 10:54:47.0 +0200
@@ -88,7 +88,7 @@
 
 SHELL  = /bin/bash
 
-ifneq (,$(filter $(DEB_HOST_ARCH), amd64 armel armhf i386 powerpc powerpcspe ppc64 ppc64el sparc sparc64 x32))
+ifneq (,$(filter $(DEB_HOST_ARCH), amd64 armel armhf i386 hurd-i386 powerpc powerpcspe ppc64 ppc64el sparc sparc64 x32))
   with_gold = yes
   gold_provides = -Vgold:Provides=binutils-gold
 endif