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

Clint Adams clint at debian.org
Fri May 18 15:05:57 UTC 2012


On Thu, May 17, 2012 at 05:34:15PM -0500, Jonathan Nieder wrote:
> Not really.  I mean that ghc Depends on !binutils-gold because its
> configure script is too zealous in adopting features from the linker
> it happens to be built against, but there's not any way to express
> that in debian/control.

I don't follow your logic.  ghc seems to work just fine with real ld.
If you install binutils-gold, suddenly ghc is broken.  Installing ghc
doesn't break gold; gold has already been broken for years.

> A proper long-term fix is probably to check the linker's functionality
> at run time.

That's an interesting idea.  Do any other compilers do that?





More information about the Pkg-haskell-maintainers mailing list