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:   maintainer-feedback requested: [Bug 226872] lang/ghc: fails to build with lld as /usr/bin/ld
Message-ID:  <bug-226872-16154-k5ipARha1i@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-226872-16154@https.bugs.freebsd.org/bugzilla/>
References:  <bug-226872-16154@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked haskell@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=3D226872



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



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