[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:02 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226872

            Bug ID: 226872
           Summary: lang/ghc: fails to build with lld as /usr/bin/ld
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: haskell at FreeBSD.org
          Reporter: emaste at freebsd.org
            Blocks: 214864
          Assignee: haskell at FreeBSD.org
             Flags: maintainer-feedback?(haskell at FreeBSD.org)

-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_17h43m11s/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).


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214864
[Bug 214864] [exp-run] test build with lld as /usr/bin/ld
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list