This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Internal error when compiling MySQL-3.22.29
- To: Knut Lassmann <k dot lassmann at q-bus dot de>
- Subject: Re: Internal error when compiling MySQL-3.22.29
- From: Alan Modra <alan at SPRI dot Levels dot UniSA dot Edu dot Au>
- Date: Sat, 15 Jan 2000 10:18:58 +1030 (CST)
- cc: Alexandre Oliva <oliva at lsd dot ic dot unicamp dot br>, gcc-bugs at gcc dot gnu dot org
A CVS gcc from a few days ago doesn't seem to have any trouble with your
file, so it looks like the bug has been fixed (or was only present in
pgcc) If you "want to just use MySQL", you can
a) try recompiling with -O2 or -O1 rather than -O6,
b) use gcc-2.95 or gcc-2.7.2 rather than any version of pgcc, or
c) download the CVS gcc sources and build the latest compiler (this is a
dangerous option as you may get a seriously broken compiler)
$ gcc -O6 -v -c bind.i
Reading specs from /usr/lib/gcc-lib/i586-linux/2.96/specs
gcc version 2.96 20000112 (experimental)
/usr/lib/gcc-lib/i586-linux/2.96/cc1 bind.i -quiet -O6 -version
-fpreprocessed -o /usr/tmp/ccUbz2m6.s
GNU C version 2.96 20000112 (experimental) (i586-linux) compiled by GNU C
version 2.96 20000112 (experimental).
/usr/lib/gcc-lib/i586-linux/2.96/../../../../i586-linux/bin/as -V -Qy -o
bind.o /usr/tmp/ccUbz2m6.s
GNU assembler version 2.9.5 (i586-linux) using BFD version 2.9.5
On Fri, 14 Jan 2000, Knut Lassmann wrote:
> GNU assembler version 2.9.5 (i686-pc-linux-gnu) using BFD version 2.9.5.0.14
> gcc -v --save-temps -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -I./../include -I./.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c bind.c
> Reading specs from /usr/lib/gcc-lib/i586-redhat-linux/pgcc-2.95.2/specs
> gcc version pgcc-2.95.2 19991024 (release)
> /usr/lib/gcc-lib/i586-redhat-linux/pgcc-2.95.2/cpp -lang-c -v -I./../include -I./.. -I.. -D__GNUC__=2 -D__GNUC_MINOR__=95 -D__ELF__ -Dunix -D__i386__ -Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__linux__ -D__unix -D__linux -Asystem(posix) -D__OPTIMIZE__ -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di586 -Dpentium -D__i586 -D__i586__ -D__pentium -D__pentium__ -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 bind.c bind.i
> GNU CPP version pgcc-2.95.2 19991024 (release) (i386 Linux/ELF)
> #include "..." search starts here:
> #include <...> search starts here:
> ../include
> ..
> /usr/local/include
> /usr/lib/gcc-lib/i586-redhat-linux/pgcc-2.95.2/include
> /usr/include
> End of search list.
> The following default directories have been omitted from the search path:
> /usr/lib/gcc-lib/i586-redhat-linux/pgcc-2.95.2/../../../../include/g++-3
> /usr/lib/gcc-lib/i586-redhat-linux/pgcc-2.95.2/../../../../i586-redhat-linux/include
> End of omitted list.
> /usr/lib/gcc-lib/i586-redhat-linux/pgcc-2.95.2/cc1 bind.i -quiet -dumpbase bind.c -O6 -version -o bind.s
> GNU C version pgcc-2.95.2 19991024 (release) (i586-redhat-linux) compiled by GNU C version pgcc-2.95.2 19991024 (release).
> bind.c: In function `rl_translate_keyseq':
> bind.c:455: Internal compiler error in `find_and_verify_loops', at loop.c:3002