This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: AIX bootstrap failure
- To: Dave Love <d dot love at dl dot ac dot uk>
- Subject: Re: AIX bootstrap failure
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 06 Nov 1997 10:20:31 -0700
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
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