Linker change in GHC 7.8 leads to widespread issues

Bryan O'Sullivan bos at serpentine.com
Tue Dec 2 21:06:50 UTC 2014


Hi folks,

It seems that something somewhere in linker-land changed in GHC 7.8 such
that packages that include C components now need to be built with
position-independent code on some platforms.

This affects a number of my packages. I am not sure whether the correct fix
is to pepper all of these packages (and presumably dozens to hundreds of
other packages on Hackage) with "-fPIC" and issue new releases, or to
instead teach Cabal to do this. It would certainly be vastly less
disruptive to all of the affected package authors to have Cabal
automatically do the right thing here.

Could someone who's closer to both piles of code please suggest which
approach they believe is more appropriate?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20141202/56c93242/attachment.html>


More information about the ghc-devs mailing list