Linker change in GHC 7.8 leads to widespread issues

Carter Schonwald carter.schonwald at
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> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the cabal-devel mailing list