Re: Which version of ghc will stretch have?
On Sat, Oct 22, 2016 at 09:17:43PM +0300, Ilias Tsitsimpis wrote:
> If I add the `-fPIC' flag (i.e., cabal build --gcc-options='-fPIC') then
> it works. I found a very similar upstream report[1] and a patch that
> fixes it for OpenBSD[2]. Should we apply the same fix for Debian?
>
> Another solution would be to disable PIE during linking (i.e., pass the
> `-no-pie' flag to gcc). Currently only the `-fno-PIE' flag is passed (as
> shown in the above error).
>
> Any suggestions?
I think in the long run, we'll want all our objects build with -fPIC, so
adapting the OpenBSD patch seems like the right approach.
Reply to: