This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: AIX 4.2 , with GNU ld- egcs-1.1b compile error
- To: Adrian Phillips <a dot phillips at dnmi dot no>
- Subject: Re: AIX 4.2 , with GNU ld- egcs-1.1b compile error
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Mon, 07 Sep 1998 22:08:52 -0400
- Cc: egcs at cygnus dot com
>>>>> Adrian Phillips writes:
Adrian> AIX 4.2.1 (all latest fixes)
Adrian> GNU ld (binutils.2.9.1)
Adrian> configuring :
Adrian> ../egcs-1.1b/configure --with-gnu-ld --with-gnu-as
Adrian> make bootstrap gives :
Adrian> stage1/xgcc -Bstage1/ -DIN_GCC -O2 -g -O2 -DHAVE_CONFIG_H -DHAIFA -Wl,-bbigtoc -o cccp cccp.o cexp.o prefix.o \
Adrian> version.o obstack.o alloca.o -lld
Adrian> /usr/local/powerpc-ibm-aix4.2.1.0/bin/ld: invalid BFD target `bigtoc'
Adrian> collect2: ld returned 1 exit status
Adrian> Any clues,
Both G++ and G77 now overflow the AIX TOC. -bbigtoc is an AIX
linker option added in AIX 4.1 that fixes up global references and solves
the overflow problem. GNU ld for AIX is woefully out of date with respect
to AIX ld and does not support that option. The real question is why are
you going to the trouble of configuring with --with-gnu-as and
--with-gnu-ld ?
David