LFS 5.1.1 testing: GCC 3.4.1 pass1 compile error

Carsten Lenz c.lenz at lfs-tipps.de
Sat Aug 14 07:40:17 PDT 2004

Hi list,

I do have problems with gcc 3.4.1 pass1 in chapter 5 from LFS 5.1.1 testing 
book. 'configure' works well and reports no problems, but 'make 
BOOT_LDFLAGS="-static" bootstrap' does:

 gengtype-yacc.c -o gengtype-yacc.o
gcc   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prot       otypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H 
-DGENERATOR_FILE  -o gengtype        \
 gengtype.o gengtype-lex.o gengtype-yacc.o ../libiberty/libiberty.a
../../gcc-3.4.1/gcc/input.h:27: syntax error, unexpected ENT_YACCUNION, 
expectin       g GTY_TOKEN
make[2]: *** [s-gtype] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make: *** [bootstrap] Error 2

gcc-core is patched from 3.3.3 -> 3.4.0 -> 3.4.1, does this take any affect? 
Patching itself ran 

I hope this is not a FAQ issue, i searched archives but didn't find a hint. 
Can you help?


More information about the lfs-support mailing list