build failure of gold (trunk)
Ian Lance Taylor
iant@google.com
Fri Mar 4 23:39:00 GMT 2011
More information about the Binutils mailing list
Fri Mar 4 23:39:00 GMT 2011
- Previous message (by thread): build failure of gold (trunk)
- Next message (by thread): ld coredump while compiling parma polyhedra library for i686-w64-mingw32 target
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Gabriel Dos Reis <gdr@cs.tamu.edu> writes: > Ian Lance Taylor <iant@google.com> writes: > > | Gabriel Dos Reis <gdr@cs.tamu.edu> writes: > | > | > A fresh check out of CVS gold fails to build with the following error: > | > > | > In file included from > | > /home/gdr/src/sourceware/src/gold/expression.cc:33:0: > | > /home/gdr/src/sourceware/src/gold/script-c.h:221:7: error: ‘yylex’ initialized and declared ‘extern’ > | > /home/gdr/src/sourceware/src/gold/script-c.h:221:7: error: ‘YYSTYPE’ was not declared in this scope > | > /home/gdr/src/sourceware/src/gold/script-c.h:221:15: error: expected primary-expression before ‘,’ token > | > /home/gdr/src/sourceware/src/gold/script-c.h:221:17: error: expected primary-expression before ‘void’ > | > /home/gdr/src/sourceware/src/gold/script-c.h:221:30: error: initializer expression list treated as compound expression > | > > | > > | > this is with GCC-4.5.0. > | > | What version of bison do you have installed on your system? > | > | It looks like YYSTYPE is not defined in the generated file yyscript.h. > | That file is generated by bison. The definition should look like > | > | typedef union YYSTYPE > | { > | ... > | } YYSTYPE; > | > | Ian > > I have bison 2.4.1. What does YYSTYPE look like in the generated yyscript.h file? Is script-c.h somehow #include'ing some yyscript.h file other than the one in the build directory? E.g., is there somehow a yyscript.h in the source directory? Ian
- Previous message (by thread): build failure of gold (trunk)
- Next message (by thread): ld coredump while compiling parma polyhedra library for i686-w64-mingw32 target
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list