[Haskell-cafe] PSA: gcc-6.2.0 breaks linking in ghc 7.10.3/8.0.1

Alan & Kim Zimmerman alan.zimm at gmail.com
Mon Oct 31 19:39:27 UTC 2016

On my Debian testing machine, after gcc updated to

gcc (Debian 6.2.0-9) 6.2.0 20161019

I started getting linker errors complaining about -fPIC

Herbert Valerio Riedel pointed out on #hackage that the settings file has
to be updated to cope with this.

So, the files


need to be updated to have the following values set

 ("C compiler flags", "-fno-PIE -fno-stack-protector"),
 ("C compiler link flags", "-no-pie"),
 ("ld flags", "-no-pie"),

The precise location of these files may differ on your machine.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20161031/9e62420a/attachment.html>

More information about the Haskell-Cafe mailing list