ld.gold
Kazu Yamamoto ( 山本和彦 )
kazu at iij.ad.jp
Tue Aug 6 06:07:21 CEST 2013
Hi,
If I understand correctly, GHC head supports ld.gold (on Linux). But
GHC got the following error:
----
% ghc -pgml=ld.gold -threaded Witty.hs
[1 of 9] Compiling Types ( Types.hs, Types.o )
...
[9 of 9] Compiling Main ( Witty.hs, Witty.o )
Linking Witty ...
<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.
ld.gold: -Wl,-u,ghczmprim_GHCziTypes_Izh_static_info: unknown option
ld.gold: use the --help option for usage information
----
How can I provide necessary linker information to GHC?
--Kazu
More information about the ghc-devs
mailing list