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

Niklas Hambüchen mail at nh2.me
Wed Mar 11 11:11:55 UTC 2020


On 3/11/20 3:06 AM, Jack Kelly wrote:> It's because glibc's NSS (name service switch) relies on dynamic linking
> whatever you do.
> 
> https://stackoverflow.com/questions/3430400/linux-static-linking-is-dead
Another similar explanation into the same direction:

https://stackoverflow.com/questions/57476533/why-is-statically-linking-glibc-discouraged/57478728#57478728


More information about the Haskell-Cafe mailing list