I'll just add that we added a test to the configure script to check whether the local ld supports -x after the 5.02 tree was branched, and it looks like it got overlooked in the merge, sorry about that.
To work around the problem, you can either just remove the -x's from invocations of ld in fptools/mk/target.mk, or replace them by the relevant Solaris ld option as Julian suggests. Cheers, Simon > -----Original Message----- > From: Julian Seward (Intl Vendor) [mailto:[EMAIL PROTECTED]] > Sent: 05 February 2002 10:35 > To: Dirk Evers; [EMAIL PROTECTED] > Subject: RE: ld in ghc-5.02.2 src build uses deprecated > option -x in Solaris 2.5.1 > > > > Which ld are you using, GNU ld or the solaris ld (/usr/ccs/bin/ld) ? > I think -x applies to GNU ld; you can use solaris ld but you must > change -x to -z redlocsym IIRC. > > J > > | -----Original Message----- > | From: Dirk Evers [mailto:[EMAIL PROTECTED]] > | Sent: Tuesday, February 05, 2002 9:37 AM > | To: [EMAIL PROTECTED] > | Subject: ld in ghc-5.02.2 src build uses deprecated option -x > | in Solaris 2.5.1 > | > | > | Hi, > | > | trying to build ghc-5.02.2 on a Solaris 2.5.1 system I run > | into the following > | problem: > | > | after building gmp: > | > | ld -r -x -o HSrts.o Adjustor.o BlockAlloc.o ClosureFlags.o > | Disassembler.o FrontPanel.o GC.o GCCompact.o Hash.o > | Interpreter.o Itimer.o Linker.o LinkerBasic.o MBlock.o Main.o > | Printer.o ProfHeap.o Profiling.o Proftimer.o RtsAPI.o > | RtsAPIDeprec.o RtsFlags.o RtsStartup.o RtsUtils.o Sanity.o > | Schedule.o Select.o Signals.o Sparks.o Stable.o Stats.o > | StgCRun.o StgPrimFloat.o Storage.o StrHash.o Ticky.o Weak.o > | hooks/ErrorHdr.o hooks/FlagDefaults.o hooks/InitEachPE.o > | hooks/MallocFail.o hooks/NoRunnableThreads.o hooks/OnExit.o > | hooks/OutOfHeap.o hooks/PatErrorHdr.o > | hooks/ShutdownEachPEHook.o hooks/StackOverflow.o > | hooks/Trace.o parallel/0 > | Hash.o parallel/0Unpack.o parallel/Dist.o parallel/Global.o > | parallel/GranSim.o parallel/HLComms.o parallel/LLComms.o > | parallel/Pack.o parallel/ParInit.o parallel/ParTicky.o > | parallel/Parallel.o parallel/ParallelDebug.o parallel/RBH.o > | Exception.o HeapStackCheck.o PrimOps.o StgMiscClosures.o > | StgStartup.o StgStdThunks.o Updates.o parallel/FetchMe.o > | > | ld: illegal option -- x > | ld: illegal option -- x > | > | manpage to ld says: -x Option no longer supported > | > | BTW: building with ghc-4.08.1 > | > | How do I get rid of the -x option? What should I use instead? > | > | Cheers > | Dirk > | > | -- > | +------------------------------------------------------------- > | --------+ > | | Dirk Evers > | Office: M3-120 | > | | Technische Fakultaet / AG PI Tel: +49 521 > | 106-2905 | > | | Universitaet Bielefeld FAX: +49 521 > | 106-6411 | > | | D-33594 Bielefeld e-mail: > | [EMAIL PROTECTED] | > | | Germany URL: > | http://www.TechFak.Uni-Bielefeld.DE/~dirk/ | > | > | |------------------------------------------------------------- > | --------| > | | Die Succulenten / a cappella singing / > | http://www.succulenten.de | > | > | +------------------------------------------------------------- > | --------+ > | _______________________________________________ > | Glasgow-haskell-bugs mailing list > | [EMAIL PROTECTED] > | http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs > | > _______________________________________________ > Glasgow-haskell-bugs mailing list > [EMAIL PROTECTED] > http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs > _______________________________________________ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs