Hi! I got a build error when trying to build from today's CVS sources on i386-linux-gnu. The problem seems to be related to:
http://gcc.gnu.org/ml/gcc/2003-01/msg01582.html (I tried "cd gcc/gcc && cat .cvsignore | xargs rm" as suggested by the response message but that didn't help.) I'm using debian sid with: (host) gcc (GCC) 3.3.2 20030831 (Debian prerelease) flex 2.5.31 bison (GNU Bison) 1.875a And configured build gcc with: --prefix=/tmp/toolchain/install/ --enable-languages=c Error log follows: [...] gcc -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -o gengtype \ gengtype.o gengtype-lex.o gengtype-yacc.o ../libiberty/libiberty.a gengtype.o(.text+0x983): In function `adjust_field_rtx_def': ../../gcc/gcc/gengtype.c:400: undefined reference to `lexer_line' gengtype.o(.text+0xbe8):../../gcc/gcc/gengtype.c:463: undefined reference to `lexer_line' gengtype.o(.text+0xe8a):../../gcc/gcc/gengtype.c:526: undefined reference to `lexer_line' gengtype.o(.text+0xf3b):../../gcc/gcc/gengtype.c:569: undefined reference to `lexer_line' gengtype.o(.text+0x108c):../../gcc/gcc/gengtype.c:608: undefined reference to `lexer_line' gengtype.o(.text+0x1176):../../gcc/gcc/gengtype.c:621: more undefined references to `lexer_line' follow gengtype.o(.text+0x65e7): In function `main': ../../gcc/gcc/gengtype.c:2938: undefined reference to `parse_file' gengtype-yacc.o(.text+0x261): In function `yyparse': /tmp/toolchain/build-gcc/gcc/g-yacc.17332.c:1027: undefined reference to `yylex' gengtype-yacc.o(.text+0x419): In function `yyparse': ../../gcc/gcc/gengtype-yacc.y:72: undefined reference to `lexer_line' gengtype-yacc.o(.text+0x482):../../gcc/gcc/gengtype-yacc.y:74: undefined reference to `lexer_line' gengtype-yacc.o(.text+0x4a5):../../gcc/gcc/gengtype-yacc.y:75: undefined reference to `lexer_toplevel_done' gengtype-yacc.o(.text+0x4d0):../../gcc/gcc/gengtype-yacc.y:81: undefined reference to `lexer_line' gengtype-yacc.o(.text+0x537):../../gcc/gcc/gengtype-yacc.y:83: undefined reference to `lexer_toplevel_done' gengtype-yacc.o(.text+0x568):../../gcc/gcc/gengtype-yacc.y:91: undefined reference to `lexer_line' gengtype-yacc.o(.text+0x5b7):../../gcc/gcc/gengtype-yacc.y:96: undefined reference to `lexer_line' gengtype-yacc.o(.text+0x61d):../../gcc/gcc/gengtype-yacc.y:101: undefined reference to `lexer_line' gengtype-yacc.o(.text+0x64a):../../gcc/gcc/gengtype-yacc.y:109: undefined reference to `lexer_toplevel_done' gengtype-yacc.o(.text+0x669):../../gcc/gcc/gengtype-yacc.y:121: undefined reference to `lexer_line' gengtype-yacc.o(.text+0x832):../../gcc/gcc/gengtype-yacc.y:164: undefined reference to `lexer_line' gengtype-yacc.o(.text+0x838):../../gcc/gcc/gengtype-yacc.y:164: undefined reference to `lexer_line' gengtype-yacc.o(.text+0x8cd):../../gcc/gcc/gengtype-yacc.y:175: undefined reference to `lexer_line' gengtype-yacc.o(.text+0x8d3):../../gcc/gcc/gengtype-yacc.y:175: undefined reference to `lexer_line' gengtype-yacc.o(.text+0x9c9):../../gcc/gcc/gengtype-yacc.y:192: more undefined references to `lexer_line' follow gengtype-yacc.o(.text+0x11b2): In function `yyparse': /tmp/toolchain/build-gcc/gcc/g-yacc.17332.c:1508: undefined reference to `yyerror' gengtype-yacc.o(.text+0x11c0):/tmp/toolchain/build-gcc/gcc/g-yacc.17332.c:1512: undefined reference to `yyerror' gengtype-yacc.o(.text+0x11ce):/tmp/toolchain/build-gcc/gcc/g-yacc.17332.c:1516: undefined reference to `yyerror' gengtype-yacc.o(.text+0x1354):/tmp/toolchain/build-gcc/gcc/g-yacc.17332.c:1615: undefined reference to `yyerror' collect2: ld returned 1 exit status make[2]: *** [gengtype] Error 1 make[2]: Leaving directory `/tmp/toolchain/build-gcc/gcc' make[1]: *** [stage1_build] Error 2 make[1]: Leaving directory `/tmp/toolchain/build-gcc/gcc' make: *** [bootstrap-lean] Error 2 -- Robert Millan "[..] but the delight and pride of Aule is in the deed of making, and in the thing made, and neither in possession nor in his own mastery; wherefore he gives and hoards not, and is free from care, passing ever on to some new work." -- J.R.R.T, Ainulindale (Silmarillion)