Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Mar 2018 13:04:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        haskell@FreeBSD.org
Subject:   [Bug 226872] lang/ghc: fails to build with lld as /usr/bin/ld
Message-ID:  <bug-226872-16154@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226872

            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@FreeBSD.org
          Reporter: emaste@freebsd.org
            Blocks: 214864
          Assignee: haskell@FreeBSD.org
             Flags: maintainer-feedback?(haskell@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=3D214864
[Bug 214864] [exp-run] test build with lld as /usr/bin/ld
--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-226872-16154>