This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
gcc 2.95.2 error compiling mysql-3.22.32 on linux/alpha
- To: bug-gcc at gnu dot org
- Subject: gcc 2.95.2 error compiling mysql-3.22.32 on linux/alpha
- From: Jon Nathan <jon at blading dot com>
- Date: Sat, 19 Feb 2000 14:54:22 -0500 (EST)
hello,
in trying to compile mysql 3.22.32 (from www.mysql.com) on my redhat
linux 6.0 / alpha system, i get an internal compiler error. here is
some relevant info:
[root@hal mysql-3.22.32]# uname -a
Linux hal.rupture.net 2.2.11 #2 Fri Oct 22 13:14:56 EDT 1999 alpha
unknown
[root@hal mysql-3.22.32]# gcc -v
Reading specs from
/usr/lib/gcc-lib/alphapca56-unknown-linux-gnu/2.95.2/specs
gcc version 2.95.2 19991024 (release)
[root@hal mysql-3.22.32]# cat /work/a (how i built gcc 2.95.2)
/work/gcc-2.95.2/configure --prefix=/usr --enable-languages=c++
--with-gnu-as --with-gnu-ld --enable-haifa
[root@hal mysql-3.22.32]# cat a (how i built mysql)
./configure --prefix=/usr --with-low-memory
[root@hal mysql-3.22.32]# grep CFLAGS Makefile
CFLAGS = -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF
LM_CFLAGS = -fno-inline
SAVE_CFLAGS =
[root@hal mysql-3.22.32]# make
[..]
c++ -DMYSQL_SERVER
-DDEFAULT_MYSQL_HOME="\"/usr\"" -DDATADIR="\"/usr/var\""
-DSHAREDIR="\"/usr/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 -fno-implicit-templates -c
sql_acl.cc
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:1367: 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 `/home/t/mysql-3.22.32/sql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/t/mysql-3.22.32/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/t/mysql-3.22.32'
make: *** [all-recursive-am] Error 2
[root@hal mysql-3.22.32]#
if this is not enough information to help, please let me know. this
bug is reproducible in many versions of mysql. 3.22.32 is the most
current. i posted this info to the mysql@list.mysql.com mailing list,
and the maintainers were not able to help much. they recommended
upgrading to 2.95.2 (i originally compiled with 2.95.1) but 2.95.2
produced the same error.
thanks,
-jon
--
Jon Nathan
jon@blading.com
http://www.rupture.net/~jon/