[GHC] #13541: Make it easier to use the gold linker
GHC
ghc-devs at haskell.org
Thu Apr 13 01:49:08 UTC 2017
#13541: Make it easier to use the gold linker
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by angerman):
Replying to [comment:10 nh2]:
> Replying to [comment:7 angerman]:
> > clang doesn't understand `-fuse-ld` (at least not the one that comes
with the android toolchain, not sure if this statement holds universally)
>
> This seems to be Android toolchain specific.
>
> Upstream clang suppports `-fuse-ld` since 2014: https://github.com/llvm-
mirror/clang/commit/bab68c96f15867af6938d9c8f922d59d31351cad
This likely has been a misreading of the error on my side, as noted in
https://phabricator.haskell.org/D3351.
The LD that comes witht he android toolchain is called <toolchain>-ld or
<toolchain>-ld.gold, and both are
effectively gold, and there is no tool called just `ld.gold`, there is one
called `ld`, but that is ld64, and would
be horribly wrong to use.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13541#comment:13>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list