[Haskell-cafe] Using GHC option '-optl-static' causes segfault

Niklas Hambüchen mail at nh2.me
Tue Mar 10 09:07:20 UTC 2020


On 3/10/20 4:24 AM, Vanessa McHale wrote:
> I’ve run into that before; I think it arises because you can’t link statically against libc? In any case, trying to use network code fails with a segfault. 

Just for clarity, this is a slightly incorrect wording:

It should be "libc" -> "glibc".

Other libcs (like musl) are perfectly happy to be statically linked against.


More information about the Haskell-Cafe mailing list