AIX 4.2 , with GNU ld- egcs-1.1b compile error

Adrian Phillips a.phillips@dnmi.no
Mon Sep 7 09:48:00 GMT 1998


AIX 4.2.1 (all latest fixes)
GNU ld (binutils.2.9.1)

configuring :
../egcs-1.1b/configure --with-gnu-ld --with-gnu-as

make bootstrap gives :

stage1/xgcc -Bstage1/  -DIN_GCC    -O2 -g -O2  -DHAVE_CONFIG_H -DHAIFA    -I. -I../../egcs-1.1b/gcc -I../../egcs-1.1b/gcc/config \
  -DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/powerpc-ibm-aix4.2.1.0/egcs-2.91.57/include\" \
  -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/include/g++\" \
  -DOLD_GPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/g++-include\" \
  -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
  -DCROSS_INCLUDE_DIR=\"/usr/local/powerpc-ibm-aix4.2.1.0/sys-include\" \
  -DTOOL_INCLUDE_DIR=\"/usr/local/powerpc-ibm-aix4.2.1.0/include\" \
  -c `echo ../../egcs-1.1b/gcc/cccp.c | sed 's,^\./,,'`
stage1/xgcc -Bstage1/  -DIN_GCC    -O2 -g -O2  -DHAVE_CONFIG_H -DHAIFA    -I. -I../../egcs-1.1b/gcc -I../../egcs-1.1b/gcc/config -c ../../egcs-1.1b/gcc/cexp.c
stage1/xgcc -Bstage1/ -c  -DIN_GCC    -O2 -g -O2  -DHAVE_CONFIG_H -DHAIFA    -I. -I../../egcs-1.1b/gcc -I../../egcs-1.1b/gcc/config ../../egcs-1.1b/gcc/version.c
stage1/xgcc -Bstage1/  -DIN_GCC    -O2 -g -O2  -DHAVE_CONFIG_H -DHAIFA    -I. -I../../egcs-1.1b/gcc -I../../egcs-1.1b/gcc/config \
-DPREFIX=\"/usr/local\" \
  -c `echo ../../egcs-1.1b/gcc/prefix.c | sed 's,^\./,,'`
stage1/xgcc -Bstage1/ -c  -DIN_GCC    -O2 -g -O2  -DHAVE_CONFIG_H -DHAIFA    -I. -I../../egcs-1.1b/gcc -I../../egcs-1.1b/gcc/config ../../egcs-1.1b/gcc/obstack.c
stage1/xgcc -Bstage1/  -DIN_GCC    -O2 -g -O2  -DHAVE_CONFIG_H -DHAIFA    -I. -I../../egcs-1.1b/gcc -I../../egcs-1.1b/gcc/config  \
  -c `echo ../../egcs-1.1b/gcc/alloca.c | sed 's,^\./,,'`
true
stage1/xgcc -Bstage1/  -DIN_GCC    -O2 -g -O2  -DHAVE_CONFIG_H -DHAIFA -Wl,-bbigtoc -o cccp cccp.o cexp.o prefix.o \
  version.o obstack.o alloca.o    -lld
/usr/local/powerpc-ibm-aix4.2.1.0/bin/ld: invalid BFD target `bigtoc'
collect2: ld returned 1 exit status

Any clues,

Adrian

(And thanks to all involved with egcs - its truely excellent the work
being done here)



More information about the Gcc mailing list