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]

mysql compile problem


Hi,

I cannot compile mysql-3.21.25Gamma (and several other versions) with
egcs-1.0.1 and egcs-980302 on Linux/Alpha (glibc-2.0.6).

The message is:
c++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local\"" -DDATADIR="\"/usr/local/var\"" -DSHAREDIR="\"/usr/local/share/mysql\"" -DHAVE_CONFIG_H -I./../include -I./../regex -I. -I../include -I.. -I.  -O -g -O2 -fno-implicit-templates -DDBUG_OFF  -c sql_yacc.cc
/my/gnu/lib/bison/bison.simple: In function `int yyparse()':
/my/gnu/lib/bison/bison.simple:692: Internal compiler error.
/my/gnu/lib/bison/bison.simple:692: Please submit a full bug report to `egcs-bugs@cygnus.com'.
make[2]: *** [sql_yacc.o] Error 1
make[2]: Leaving directory `/home/bird/build/mysql-3.21.25-gamma/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bird/build/mysql-3.21.25-gamma'
make: *** [all-recursive-am] Error 2

If -O options are removed, the compilation succeed.

   Alexander.


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