[Haskell-cafe] undefined reference to '__gxx_personality_v0'
Henning Thielemann
lemming at henning-thielemann.de
Mon Aug 28 10:11:15 UTC 2017
On Mon, 28 Aug 2017, Henning Thielemann wrote:
> StackOverflow discussions on those linker errors suggest that it is important
> to link with g++, not gcc. Can I control how GHC links?
Adding
ghc-options: -pgmlg++
to the executable section seems to help. However, it means I will have to
add this option to all executables that will use the llvm-ffi package. :-(
More information about the Haskell-Cafe
mailing list