This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
gcc internal compiler error during compile of MySQL 3.22.27
- To: bug-gcc at gnu dot org
- Subject: gcc internal compiler error during compile of MySQL 3.22.27
- From: Robert Benites <benites at cs dot unca dot edu>
- Date: Fri, 03 Dec 1999 09:41:30 -0500
Operating System: Compaq Tru64 (aka Digital) UNIX 4.0F with patch kit
#1 installed
gcc: 2.95.2 with dec-osf-shlibstdc++.patch installed
gcc configured with the following command:
../gcc-2.95.2/configure --enable-shared
--enable-languages="c++,f77"
The error output at the end of this message was received during a
compile
of mysql-3.22.27. MySQL was configured with the following command:
env CC="cc -pthread" CFLAGS=-I./include CXX=gcc CXXFLAGS=-O3 ./configure
\
--with-low-memory --with-named-thread-libs="-lpthread -lmach -lexc"
The above configure was used to create a running instance of MySQL on
another system: Compaq Tru64 UNIX 4.0E with the following version
of gcc:
Reading specs from /usr/local/lib/gcc-lib/alpha-dec-osf4.0a/2.8.1/specs
gcc version 2.8.1
Thanks!
-- Bob Benites
----------------------<gcc failure output follows>----------------------
gcc -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.
\
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \
-O3 -DDBUG_OFF -O3 -fno-implicit-templates -c sql_acl.cc
In file included from ../include/global.h:123,
from mysql_priv.h:15,
from sql_acl.cc:25:
/usr/include/alloca.h:71: warning: declaration of `void * alloca(int)'
/usr/include/alloca.h:71: warning: conflicts with built-in declaration
`void * alloca(long unsigned int)'
sql_acl.cc: In function `int replace_column_table(THD *, GRANT_TABLE *,
TABLE *, const LEX_USER &, List<LEX_COLUMN> &, const char *, const char
*, unsigned int, bool)':
sql_acl.cc:1370: Internal compiler error in `scan_region', at
except.c:2566
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for
instructions.
make[3]: *** [sql_acl.o] Error 1
make[3]: Leaving directory
`/wncln200/users/benites/mysql/mysql-3.22.27/sql'