This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: AIX bootstrap failure


  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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]