Linker change in GHC 7.8 leads to widespread issues

Carter Schonwald carter.schonwald at gmail.com
Tue Dec 2 21:31:15 UTC 2014


whats an example of such a package?

On Tue, Dec 2, 2014 at 4:06 PM, Bryan O'Sullivan <bos at serpentine.com> wrote:

> 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?
>
> _______________________________________________
> cabal-devel mailing list
> cabal-devel at haskell.org
> http://www.haskell.org/mailman/listinfo/cabal-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20141202/0a1c20ff/attachment.html>


More information about the ghc-devs mailing list