[Haskell-cafe] 8.4.2 FreeBSD bindist not working with gold & lld

Sumit Raja sumitraja at gmail.com
Wed May 30 05:41:44 UTC 2018


Hi,

Just got 8.4.2 running in my FreeBSD 11 environment and am getting the
following:
cabal: Failed to build entropy-0.4.1.1 (which is required by exe:test-ghoa
from oauth2-simple-0.1.0.0). The failure occurred during the configure step.
The exception was:
dieVerbatim: user error (cabal: '/usr/local/bin/ghc' exited with an error:
/usr/local/bin/ld.gold: error:
/usr/local/lib/ghc-8.4.2/rts/libHSrts_thr.a(RTS.thr_o): unexpected reloc 8
in
object file

LLD fails with

configure step. The exception was:
dieVerbatim: user error (cabal: '/usr/local/bin/ghc' exited with an error:
/usr/bin/ld.lld: error: do not know how to handle relocation
'R_X86_64_RELATIVE' (8)

Saw another thread that discussed this but there was no resolution. Any
ideas on how to fix this?

Thanks
Sumit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20180530/2219c110/attachment.html>


More information about the Haskell-Cafe mailing list