maintainer-feedback requested: [Bug 226872] lang/ghc: fails to build with lld as /usr/bin/ld
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Mar 23 13:04:03 UTC 2018
Bugzilla Automation <bugzilla at FreeBSD.org> has asked haskell at FreeBSD.org for
maintainer-feedback:
Bug 226872: lang/ghc: fails to build with lld as /usr/bin/ld
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226872
--- Description ---
-CURRENT will soon be switching to LLVM's lld linker as /usr/bin/ld, and ghc
fails to build in this case. Build log tail:
---
<no location info>:
Warning: Couldn't figure out linker information!
Make sure you're using GNU ld, GNU gold or the built in OS X
linker, etc.
Segmentation fault (core dumped)
*** Error code 139
---
Log from exp-run in PR 214864,
http://package18.nyi.freebsd.org/data/headamd64PR214864-default/2018-03-21_17h4
3m11s/logs/errors/ghc-8.0.2_3.log
The common technique of specifying linker via LD / LDFLAGS does not work
(although this probably isn't surprising for non-C ports).
More information about the freebsd-haskell
mailing list