gcc pass1 - syntax error, unexpected ENT_YACCUNION

Andy Campbell andy at nospam.com
Thu Dec 30 10:33:05 PST 2004


Base System : Fedora Core 3 (32 bit)
LFS         : 6.0 stable


I'm trying to build a new LFS system on my new PC after using 
a LFS on my old PC for the last few years. However I'm stuck at 
chapter 5 first pass of gcc

I get ...

gcc -c   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long  -Wno-error  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I../../gcc-pass1/gcc -I../../gcc-pass1/gcc/. -I../../gcc-pass1/gcc/../include  \
 ../../gcc-pass1/gcc/gengtype-lex.c -o gengtype-lex.o
gcc -c   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long  -Wno-error  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I../../gcc-pass1/gcc -I../../gcc-pass1/gcc/. -I../../gcc-pass1/gcc/../include  \
 gengtype-yacc.c -o gengtype-yacc.o
gcc   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H -DGENERATOR_FILE  -o gengtype \
 gengtype.o gengtype-lex.o gengtype-yacc.o ../libiberty/libiberty.a
./gengtype
../../gcc-pass1/gcc/input.h:27: syntax error, unexpected ENT_YACCUNION, expecting GTY_TOKEN
make[2]: *** [s-gtype] Error 1
make[2]: Leaving directory `/mnt/LFS1/tools/usr/src/gcc-build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/mnt/LFS1/tools/usr/src/gcc-build/gcc'
make: *** [bootstrap] Error 2


The only hit I've found seemed to be resolved by downloading the
package again 

http://archives.linuxfromscratch.org/mail-archives/lfs-support/2004-August/024231.html

I've also tried 3.4.2, and 3.4.3 - no joy.

Any ideas ?

Thanks in advance.

Andy



More information about the lfs-support mailing list