This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/14795] New: gengtype-yacc.y:275.2-278.9: type clash (`o' `s') on default action


I can't bootsrap current CVS mainline GCC with
bison (GNU Bison) 1.75 and flex version 2.5.4

Error message:
--8X---------------------------------
bison  -d -o gengtype-
yacc.c /home/wanderer/pkg/build/gcc/src/gcc/gcc/gcc/gengtype-yacc.y
/home/wanderer/pkg/build/gcc/src/gcc/gcc/gcc/gengtype-yacc.y:275.2-278.9: type 
clash (`o' `s') on default action
/home/wanderer/pkg/build/gcc/src/gcc/gcc/gcc/gengtype-yacc.y:278.10: parse 
error, unexpected ":", expecting ";" or "|"
/home/wanderer/pkg/build/gcc/src/gcc/gcc/gcc/gengtype-yacc.y:305.1-2: parse 
error, unexpected "%%", expecting ";" or "|"
gmake[2]: [gengtype-yacc.h] Error 1 (ignored)
gcc -c   -g -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-
prototypes -Wold-style-definition -fno-common -Wno-error  -DHAVE_CONFIG_H -
DGENERATOR_FILE    -I. -I. -I/home/wanderer/pkg/build/gcc/src/gcc/gcc/gcc -
I/home/wanderer/pkg/build/gcc/src/gcc/gcc/gcc/. -
I/home/wanderer/pkg/build/gcc/src/gcc/gcc/gcc/../include -I../intl \
 gengtype-lex.c -o gengtype-lex.o
/home/wanderer/pkg/build/gcc/src/gcc/gcc/gcc/gengtype-lex.l:31:27: gengtype-
yacc.h: No such file or directory
/home/wanderer/pkg/build/gcc/src/gcc/gcc/gcc/gengtype-lex.l: In function 
`yylex':
/home/wanderer/pkg/build/gcc/src/gcc/gcc/gcc/gengtype-lex.l:203: error: 
`yylval' undeclared (first use in this function)
/home/wanderer/pkg/build/gcc/src/gcc/gcc/gcc/gengtype-lex.l:203: error: (Each 
undeclared identifier is reported only once
/home/wanderer/pkg/build/gcc/src/gcc/gcc/gcc/gengtype-lex.l:203: error: for 
each function it appears in.)
/home/wanderer/pkg/build/gcc/src/gcc/gcc/gcc/gengtype-lex.l:206: error: 
`ENT_TYPEDEF_STRUCT' undeclared (first use in this function)
/home/wanderer/pkg/build/gcc/src/gcc/gcc/gcc/gengtype-lex.l:206: error: 
`ENT_STRUCT' undeclared (first use in this function)
/home/wanderer/pkg/build/gcc/src/gcc/gcc/gcc/gengtype-lex.l:212: error: 
`ENT_EXTERNSTATIC' undeclared (first use in this function)
/home/wanderer/pkg/build/gcc/src/gcc/gcc/gcc/gengtype-lex.l:218: error: 
`ENT_YACCUNION' undeclared (first use in this function)
/home/wanderer/pkg/build/gcc/src/gcc/gcc/gcc/gengtype-lex.l:233: error: 
`GTY_TOKEN' undeclared (first use in this function)
/home/wanderer/pkg/build/gcc/src/gcc/gcc/gcc/gengtype-lex.l:234: error: 
`UNION' undeclared (first use in this function)
/home/wanderer/pkg/build/gcc/src/gcc/gcc/gcc/gengtype-lex.l:235: error: 
`STRUCT' undeclared (first use in this function)
/home/wanderer/pkg/build/gcc/src/gcc/gcc/gcc/gengtype-lex.l:236: error: `ENUM' 
undeclared (first use in this function)
/home/wanderer/pkg/build/gcc/src/gcc/gcc/gcc/gengtype-lex.l:237: error: 
`ALIAS' undeclared (first use in this function)
/home/wanderer/pkg/build/gcc/src/gcc/gcc/gcc/gengtype-lex.l:238: error: `NUM' 
undeclared (first use in this function)
/home/wanderer/pkg/build/gcc/src/gcc/gcc/gcc/gengtype-lex.l:241: error: 
`PARAM_IS' undeclared (first use in this function)
/home/wanderer/pkg/build/gcc/src/gcc/gcc/gcc/gengtype-lex.l:253: error: 
`SCALAR' undeclared (first use in this function)
/home/wanderer/pkg/build/gcc/src/gcc/gcc/gcc/gengtype-lex.l:258: error: `ID' 
undeclared (first use in this function)
/home/wanderer/pkg/build/gcc/src/gcc/gcc/gcc/gengtype-lex.l:263: error: 
`STRING' undeclared (first use in this function)
/home/wanderer/pkg/build/gcc/src/gcc/gcc/gcc/gengtype-lex.l:267: error: 
`ARRAY' undeclared (first use in this function)
/home/wanderer/pkg/build/gcc/src/gcc/gcc/gcc/gengtype-lex.l:271: error: 
`PERCENT_ID' undeclared (first use in this function)
/home/wanderer/pkg/build/gcc/src/gcc/gcc/gcc/gengtype-lex.l:275: error: `CHAR' 
undeclared (first use in this function)
/home/wanderer/pkg/build/gcc/src/gcc/gcc/gcc/gengtype-lex.l:291: error: 
`PERCENTPERCENT' undeclared (first use in this function)
gengtype-lex.c: In function `yy_get_next_buffer':
gengtype-lex.c:2413: warning: old-style parameter declaration
gengtype-lex.c: In function `yy_get_previous_state':
gengtype-lex.c:2545: warning: old-style parameter declaration
gengtype-lex.c: In function `input':
gengtype-lex.c:2658: warning: old-style parameter declaration
gmake[2]: *** [gengtype-lex.o] Error 1
gmake[2]: Leaving directory `/usr/home/wanderer/pkg/build/gcc/obj/gcc'
gmake[1]: *** [stage1_build] Error 2
gmake[1]: Leaving directory `/usr/home/wanderer/pkg/build/gcc/obj/gcc'
gmake: *** [bootstrap] Error 2
--X8---------------------------------

-- 
           Summary: gengtype-yacc.y:275.2-278.9: type clash (`o' `s') on
                    default action
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: wanderer at rsu dot ru
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i386-unknown-freebsd5.1
  GCC host triplet: i386-unknown-freebsd5.1
GCC target triplet: i386-unknown-freebsd5.1


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]