------- Additional Comments From brett dot albertson at stratech dot com  
2005-01-24 16:23 -------
I think I'm seeing the same problem on Sparc Solaris without bison on the 4.0
bootstrap.

gcc -c   -g -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC   -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-fno-common   -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -Ibuild
-I/var/tmp/gcc-4.0-20050123/gcc -I/var/tmp/gcc-4.0-20050123/gcc/build
-I/var/tmp/gcc-4.0-20050123/gcc/../include -I./../intl
-I/var/tmp/gcc-4.0-20050123/gcc/../libcpp/include  \
 -o build/gengtype.o /var/tmp/gcc-4.0-20050123/gcc/gengtype.c
flex  -ogengtype-lex.c /var/tmp/gcc-4.0-20050123/gcc/gengtype-lex.l
/var/tmp/gcc-4.0-20050123/missing bison  -d -o gengtype-yacc.c
/var/tmp/gcc-4.0-20050123/gcc/gengtype-yacc.y
WARNING: `bison' missing on your system.  You should only need it if
         you modified a `.y' file.  You may need the `Bison' package
         in order for those modifications to take effect.  You can get
         `Bison' from any GNU archive site.
gcc -c   -g -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC   -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-fno-common -Wno-error  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -Ibuild
-I/var/tmp/gcc-4.0-20050123/gcc -I/var/tmp/gcc-4.0-20050123/gcc/build
-I/var/tmp/gcc-4.0-20050123/gcc/../include -I./../intl
-I/var/tmp/gcc-4.0-20050123/gcc/../libcpp/include  \
 -o build/gengtype-lex.o gengtype-lex.c
/var/tmp/gcc-4.0-20050123/gcc/gengtype-lex.l:31:27: gengtype-yacc.h: No such
file or directory
/var/tmp/gcc-4.0-20050123/gcc/gengtype-lex.l: In function `yylex':
/var/tmp/gcc-4.0-20050123/gcc/gengtype-lex.l:220: error: `yylval' undeclared
(first use in this function)
/var/tmp/gcc-4.0-20050123/gcc/gengtype-lex.l:220: error: (Each undeclared
identifier is reported only once
/var/tmp/gcc-4.0-20050123/gcc/gengtype-lex.l:220: error: for each function it
appears in.)
/var/tmp/gcc-4.0-20050123/gcc/gengtype-lex.l:225: error: `ENT_TYPEDEF_STRUCT'
undeclared (first use in this function)
/var/tmp/gcc-4.0-20050123/gcc/gengtype-lex.l:225: error: `ENT_STRUCT' undeclared
(first use in this function)
/var/tmp/gcc-4.0-20050123/gcc/gengtype-lex.l:231: error: `ENT_EXTERNSTATIC'
undeclared (first use in this function)
/var/tmp/gcc-4.0-20050123/gcc/gengtype-lex.l:237: error: `ENT_YACCUNION'
undeclared (first use in this function)
/var/tmp/gcc-4.0-20050123/gcc/gengtype-lex.l:280: error: `GTY_TOKEN' undeclared
(first use in this function)
/var/tmp/gcc-4.0-20050123/gcc/gengtype-lex.l:281: error: `UNION' undeclared
(first use in this function)
/var/tmp/gcc-4.0-20050123/gcc/gengtype-lex.l:282: error: `STRUCT' undeclared
(first use in this function)
/var/tmp/gcc-4.0-20050123/gcc/gengtype-lex.l:283: error: `ENUM' undeclared
(first use in this function)
/var/tmp/gcc-4.0-20050123/gcc/gengtype-lex.l:284: error: `ALIAS' undeclared
(first use in this function)
/var/tmp/gcc-4.0-20050123/gcc/gengtype-lex.l:285: error: `NESTED_PTR' undeclared
(first use in this function)
/var/tmp/gcc-4.0-20050123/gcc/gengtype-lex.l:286: error: `NUM' undeclared (first
use in this function)
/var/tmp/gcc-4.0-20050123/gcc/gengtype-lex.l:289: error: `PARAM_IS' undeclared
(first use in this function)
/var/tmp/gcc-4.0-20050123/gcc/gengtype-lex.l:301: error: `SCALAR' undeclared
(first use in this function)
/var/tmp/gcc-4.0-20050123/gcc/gengtype-lex.l:323: error: `ID' undeclared (first
use in this function)
/var/tmp/gcc-4.0-20050123/gcc/gengtype-lex.l:333: error: `STRING' undeclared
(first use in this function)
/var/tmp/gcc-4.0-20050123/gcc/gengtype-lex.l:337: error: `ARRAY' undeclared
(first use in this function)
/var/tmp/gcc-4.0-20050123/gcc/gengtype-lex.l:341: error: `PERCENT_ID' undeclared
(first use in this function)
/var/tmp/gcc-4.0-20050123/gcc/gengtype-lex.l:345: error: `CHAR' undeclared
(first use in this function)
/var/tmp/gcc-4.0-20050123/gcc/gengtype-lex.l:361: error: `PERCENTPERCENT'
undeclared (first use in this function)
gengtype-lex.c: In function `yy_get_next_buffer':
gengtype-lex.c:2623: warning: old-style parameter declaration
gengtype-lex.c: In function `yy_get_previous_state':
gengtype-lex.c:2755: warning: old-style parameter declaration
gengtype-lex.c: In function `input':
gengtype-lex.c:2868: warning: old-style parameter declaration
make[2]: *** [build/gengtype-lex.o] Error 1
make[2]: Leaving directory `/var/tmp/gcc-4.0-bin/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/var/tmp/gcc-4.0-bin/gcc'
make: *** [bootstrap] Error 2
dev-null:{root}#      




-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18974

Reply via email to