[Pkg-haskell-maintainers] Bug#673081: binutils-gold breaks ghc linking stage

Joachim Breitner nomeata at debian.org
Wed May 16 08:28:39 UTC 2012


Hi,

Am Dienstag, den 15.05.2012, 22:22 +0100 schrieb Finn Lawler:
> Package: ghc
> Version: 7.4.1-3
> Severity: normal
> 
> ghc 7.4.1-3 (unstable) appears to be configured against the ordinary binutils ld.  The ld.gold that binutils-gold 2.22-6 (testing) replaces it with does not accept the `--hash-size' option, resulting in a fatal error at the linking stage.
> 
> See also <http://www.haskell.org/pipermail/haskell-cafe/2011-December/097959.html> and follow-up.

not sure what we should do here. Should GHC at runtime detect what
linker is used, and pass the appropriate flags? Is there a stable path
to the GNU ld that can be used no matter whether binutils-gold is
installed or not? Is /usr/bin/ld.bfd or /usr/lib/compat-ld/ld the right
path to use? Or is it binutils-gold’s responsibility to accept any
arguments that GNU ld accepts when it installs itself as /usr/bin/ld?

Thanks,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20120516/fbf5cade/attachment.pgp>


More information about the Pkg-haskell-maintainers mailing list