Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Mar 2018 17:02:35 +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-i3RKNqE44A@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

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

--- Comment #3 from Ed Maste <emaste@freebsd.org> ---
(In reply to arrowd from comment #1)
> I'm aware of this problem, someone asked on IRC about this. The problem is that > even simple hello world Haskell programs linked with LLD are segfaulting.

Can we configure ghc to invoke ld.bfd by default perhaps?

It appears that building the compiler itself picks up LD=/usr/bin/ld.bfd as it
should, but the built ghc (somewhat unsurprisingly) defaults to invoking ld.

Of course the best case scenario is if ghc can just use lld as the linker (and
perhaps achieve a 10x speedup).

-- 
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-i3RKNqE44A>