ld in ghc-5.02.2 src build uses deprecated option -x in Solaris 2.5.1

2002-02-05 Thread Dirk Evers
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

RE: ld in ghc-5.02.2 src build uses deprecated option -x in Solaris 2.5.1

2002-02-05 Thread Julian Seward (Intl Vendor)
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:

RE: ld in ghc-5.02.2 src build uses deprecated option -x in Solaris 2.5.1

2002-02-05 Thread Simon Marlow
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