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]

target/484: alpha*-osf4.0*: ICE on mysql/sql/sql_acl.cc: Fixed in 2.95.3, 3.0prerelease


Number: 484
Category: target
Synopsis: [Alpha Digital Unix 4.0] ice-on-legal-code
State: analyzed
Class: ice-on-legal-code
Originator: Michael Bowers
Release: gcc version 2.95.2 19991024 (release)
Environment: Digital Unix 4.0d / gcc 2.95.2
Description: sql_acl.cc:1367: Internal compiler error in
`scan_region', at except.c:2566
attempting to compile MySQL under Digital Unix 4.0d.
Occurs on both mysql-3.23.22-beta and mysql-3.22.32 (current release
version)

Fixed in 2.95.3 and in 3.0 20010521 (prerelease).

sh-2.03$ pwd
/user/rand/rdb/src/mysql-3.22.32
sh-2.03$ cd sql
sh-2.03$ ../tmp.rdb
c++ -v -save-temps -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
-fno-implicit-templates -c sql_acl.cc
Reading specs from /usr/local/lib/gcc-lib/alpha-dec-osf4.0e/2.95.2/specs
gcc version 2.95.2 19991024 (release)
 /usr/local/lib/gcc-lib/alpha-dec-osf4.0e/2.95.2/cpp -lang-c++ -v -I./../include -I./../regex -I. -I../include -I.. -I. -D__GNUC__=2 -D__GNUG__=2
-D__GNUC_MINOR__=95 -D__cplusplus -Dunix -D__osf__ -D_LONGLONG -DSYSTYPE_BSD -D_SYSTYPE_BSD -D__unix__ -D__osf__ -D_LONGLONG -D__SYSTYPE_BSD__
-D_SYSTYPE_BSD -D__unix -D__SYSTYPE_BSD -Asystem(unix) -Asystem(xpg4) -D__EXCEPTIONS -D__OPTIMIZE__ -D__LANGUAGE_C_PLUS_PLUS__
-D__LANGUAGE_C_PLUS_PLUS -D__cplusplus -Acpu(alpha) -Amachine(alpha) -D__alpha -D__alpha__ -D__alpha_ev4__ -Acpu(ev4) -DMYSQL_SERVER
-DDEFAULT_MYSQL_HOME="/usr/local" -DDATADIR="/usr/local/var" -DSHAREDIR="/usr/local/share/mysql" -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DDBUG_OFF sql_acl.cc sql_acl.ii
GNU CPP version 2.95.2 19991024 (release)
#include "..." search starts here:
#include <...> search starts here:
 ../include
 ../regex
 .
 ../include
 ..
 .
 /usr/local/lib/gcc-lib/alpha-dec-osf4.0e/2.95.2/../../../../include/g++-3
 /usr/local/include
 /usr/local/lib/gcc-lib/alpha-dec-osf4.0e/2.95.2/../../../../alpha-dec-osf4.0e/include
 /usr/local/lib/gcc-lib/alpha-dec-osf4.0e/2.95.2/include
 /usr/include
End of search list.
The following default directories have been omitted from the search path:
End of omitted list.
 /usr/local/lib/gcc-lib/alpha-dec-osf4.0e/2.95.2/cc1plus sql_acl.ii -quiet -dumpbase sql_acl.cc -O3 -version -fno-implicit-templates -o sql_acl.s
GNU C++ version 2.95.2 19991024 (release) (alpha-dec-osf4.0e) compiled by GNU C version 2.95.2 19991024 (release).
In file included from ../include/global.h:132,
           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: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.

sh-2.03$ gcc -v -c -O3_-fno-implicit-templates sql_acl.ii
Reading specs from /usr/local/lib/gcc-lib/alpha-dec-osf4.0e/2.95.2/specs
gcc version 2.95.2 19991024 (release)
 /usr/local/lib/gcc-lib/alpha-dec-osf4.0e/2.95.2/cc1plus sql_acl.ii -quiet -O3 -version -fno-implicit-templates -o /tmp/ccC86ddy.s
GNU C++ version 2.95.2 19991024 (release) (alpha-dec-osf4.0e) compiled by GNU C version 2.95.2 19991024 (release).
In file included from ../include/global.h:132,
           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: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.

# Line editted to use 2.95.3-test5

Reading specs from ../../gcc-2.95.3-test5.obj/gcc/specs
gcc version 2.95.3 20010312 (prerelease)
 ../../gcc-2.95.3-test5.obj/gcc/cc1plus sql_acl.ii -quiet -O3 -version -fno-implicit-templates -o /tmp/cc56nimO.s
GNU C++ version 2.95.3 20010312 (prerelease) (alpha-dec-osf4.0e) compiled by GNU C version 2.95.3 20010312 (prerelease).
In file included from ../include/global.h:132,
           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)'
 as -g -nocpp -O0 -o sql_acl.o /tmp/cc56nimO.s
 ../../gcc-2.95.3-test5.obj/gcc/mips-tfile -v -o sql_acl.o /tmp/cc56nimO.s
mips-tfile version 2.95.3 20010312 (prerelease)

# Line editted to use 3.0 20010521 (prerelease)

Reading specs from ../../gcc-20010521.obj/gcc/specs
Configured with: ../gcc-20010521/configure
Thread model: single
gcc version 3.0 20010521 (prerelease)
 ../../gcc-20010521.obj/gcc/cc1plus -fpreprocessed sql_acl.ii -quiet -dumpbase sql_acl.ii -O3 -version -fno-implicit-templates -o /tmp/ccr4fp1b.s
GNU CPP version 3.0 20010521 (prerelease) (cpplib)
GNU C++ version 3.0 20010521 (prerelease) (alpha-dec-osf4.0e)
     compiled by GNU C version 3.0 20010521 (prerelease).
sql_acl.cc: In function `ulong get_sort(unsigned int, ...)':
sql_acl.cc:366: __builtin_saveregs not supported by this target

CXXDIR=../../gcc-20010521.obj/gcc
CXX="$CXXDIR/xgcc -B$CXXDIR/"
$CXX -v -save-temps -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
-fno-implicit-templates -c sql_acl.cc
Reading specs from ../../gcc-20010521.obj/gcc/specs
Configured with: ../gcc-20010521/configure
Thread model: single
gcc version 3.0 20010521 (prerelease)
 ../../gcc-20010521.obj/gcc/cpp0 -lang-c++ -D_GNU_SOURCE -D__GNUG__=3 -D__GXX_DEPRECATED -D__EXCEPTIONS -D__GXX_ABI_VERSION=100 -v -I./../include
-I./../regex -I. -I../include -I.. -I. -iprefix ../../gcc-20010521.obj/gcc/../lib/gcc-lib/alpha-dec-osf4.0e/3.0/ -isystem
../../gcc-20010521.obj/gcc/include -D__GNUC__=3 -D__GNUC_MINOR__=0 -D__GNUC_PATCHLEVEL__=0 -Dunix -D__osf__ -D_LONGLONG -DSYSTYPE_BSD -D_SYSTYPE_BSD
-D__unix__ -D__osf__ -D_LONGLONG -D__SYSTYPE_BSD__ -D_SYSTYPE_BSD -D__unix -D__SYSTYPE_BSD -Asystem=unix -Asystem=xpg4 -D__OPTIMIZE__
-D__STDC_HOSTED__=1 -D__LANGUAGE_C_PLUS_PLUS__ -D__LANGUAGE_C_PLUS_PLUS -D__cplusplus -Acpu=alpha -Amachine=alpha -D__alpha -D__alpha__
-D__alpha_ev4__ -Acpu=ev4 -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="/usr/local" -DDATADIR="/usr/local/var" -DSHAREDIR="/usr/local/share/mysql"
-DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DDBUG_OFF sql_acl.cc sql_acl.ii
GNU CPP version 3.0 20010521 (prerelease) (cpplib)
ignoring nonexistent directory "../../gcc-20010521.obj/lib/gcc-lib/alpha-dec-osf4.0e/3.0/../../../../include/g++-v3"
ignoring nonexistent directory "../../gcc-20010521.obj/lib/gcc-lib/alpha-dec-osf4.0e/3.0/../../../../include/g++-v3/alpha-dec-osf4.0e"
ignoring nonexistent directory "../../gcc-20010521.obj/lib/gcc-lib/alpha-dec-osf4.0e/3.0/../../../../include/g++-v3/backward"
ignoring nonexistent directory "../../gcc-20010521.obj/lib/gcc-lib/alpha-dec-osf4.0e/3.0/include"
ignoring nonexistent directory "../../gcc-20010521.obj/lib/gcc-lib/alpha-dec-osf4.0e/3.0/../../../../alpha-dec-osf4.0e/include"
ignoring nonexistent directory "/usr/local/lib/gcc-lib/alpha-dec-osf4.0e/3.0/../../../../include/g++-v3"
ignoring nonexistent directory "/usr/local/lib/gcc-lib/alpha-dec-osf4.0e/3.0/../../../../include/g++-v3/alpha-dec-osf4.0e"
ignoring nonexistent directory "/usr/local/lib/gcc-lib/alpha-dec-osf4.0e/3.0/../../../../include/g++-v3/backward"
ignoring nonexistent directory "/usr/local/lib/gcc-lib/alpha-dec-osf4.0e/3.0/include"
ignoring nonexistent directory "/usr/local/lib/gcc-lib/alpha-dec-osf4.0e/3.0/../../../../alpha-dec-osf4.0e/include"
ignoring duplicate directory "../include"
ignoring duplicate directory "."
#include "..." search starts here:
#include <...> search starts here:
 ../include
 ../regex
 .
 ..
 ../../gcc-20010521.obj/gcc/include
 /usr/local/include
 /usr/include
End of search list.
 ../../gcc-20010521.obj/gcc/cc1plus -fpreprocessed sql_acl.ii -quiet -dumpbase sql_acl.cc -O3 -version -fno-implicit-templates -o sql_acl.s
GNU CPP version 3.0 20010521 (prerelease) (cpplib)
GNU C++ version 3.0 20010521 (prerelease) (alpha-dec-osf4.0e)
     compiled by GNU C version 3.0 20010521 (prerelease).
 as -g -nocpp -O0 -o sql_acl.o sql_acl.s
 ../../gcc-20010521.obj/gcc/mips-tfile -v -I sql_acl.o~ -o sql_acl.o sql_acl.s
mips-tfile version 3.0 20010521 (prerelease)


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