[Pkg-haskell-maintainers] Bug#673081: Bug#673081: binutils-gold breaks ghc linking stage
Joachim Breitner
nomeata at debian.org
Thu May 17 09:51:28 UTC 2012
Hi Jonathan,
Am Mittwoch, den 16.05.2012, 10:01 -0500 schrieb Jonathan Nieder:
> Joachim Breitner wrote:
> > Am Dienstag, den 15.05.2012, 22:22 +0100 schrieb Finn Lawler:
>
> >> 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.
> [...]
> > 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?
>
> In the short term, configuring GHC to use ld.bfd (from the PATH, no
> hardcoded path needed) makes sense.
thanks. I’d like to avoid a ghc upload at this stage of the release
process, so this change will likely not make it into stable. Do you see
this as a major problem?
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/20120517/ee133a62/attachment.pgp>
More information about the Pkg-haskell-maintainers
mailing list