ghc-6.6 under sparc-sun-solaris
Winfried Kung
kung111 at gmx.de
Thu Jan 25 08:35:50 EST 2007
Hello,
when trying to build ghc-6.6 under Sparc Solaris (SunOS 5.9), the build fails with "/usr/ccs/bin/ld: illegal option -- x"
I use gcc version 3.4.4 and GNU ld version 2.11.2 (with BFD 2.11.2). My configure recognizes them and sets an ld option "-x" as expected. But when it comes to make, I get the message:
== make all -wr -f Makefile;
in /global/HOME/kung/install/ghc-6.6/libraries/base
------------------------------------------------------------------------
../../compiler/ghc-inplace -optc-mcpu=ultrasparc -opta-mcpu=ultrasparc -H16m -O -H16m -O -H16m -O -fglasgow-exts -cpp -Iinclude -"#include" HsBase.h -funbox-strict-fields -package-name base-2.0 -O -Rghc-timing -fgenerics -fgenerics -split-objs -c GHC/Base.lhs -o GHC/Base.o -ohi GHC/Base.hi
/usr/ccs/bin/ld: illegal option -- x
usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?] file(s)
[-64] enforce a 64-bit link-edit
...
...
[-z verbose] generate warnings for suspicious processings
collect2: ld returned 1 exit status
It seems strange to me that /usr/ccs/bin/ld is called here, instead of /usr/local/bin/ld which I have in my path, but calling ghc-inplace with option "-pgml /usr/local/bin/ld" did not help either.
Does anyone have a suggestion?
Thanks, Winfried
--
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
More information about the Glasgow-haskell-bugs
mailing list