AIX bootstrap failure

Jeffrey A Law law@cygnus.com
Thu Nov 6 09:18:00 GMT 1997


  In message < rzqen4u5ntj.fsf@djlvig.dl.ac.uk >you write:
  > On rs6000-ibm-aix4.1.4.0 the 311097 snapshot fails to bootstrap with
  > native tools:
  > 
  > 	stage1/xgcc -Bstage1/ -c  -DIN_GCC    -O2 -g   -DHAVE_CONFIG_H     -I. 
  > -I. -I./config rtl.c
  > 	cc  -DIN_GCC    -O2 -g   -DHAVE_CONFIG_H   -o genattr  genattr.o rtl.o 
  > ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "cc"@"alloca.o" i
  > n "cc"@?*) echo alloca.o ;; esac ` ` case "" in ?*) echo  ;; esac `   -lm -
  > lld
  > ld: 0711-317 ERROR: Undefined symbol: .alloca
  > ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more informati
  > on.
  > make: The error code from the last command is 8.
Hmmm, I'm not sure how this is happening.


HOST_CC should have been set to CC in your makefile which should
have made HOST_CC=stage1/xgcc -Bstage1/.

Instead HOST_CC=cc for some unknown reason.

jeff




More information about the Gcc mailing list