ICE building egcs-19991208 on Solaris 7 x86
Bernard Michaud
bmichaud@excom.com
Fri Dec 10 03:08:00 GMT 1999
Internal Compiler Error in make bootstrap on Solaris 7 x86:
$ gcc -v
Reading specs from /opt/gcc-2.95.2/lib/gcc-lib/i686-sun-solaris2.7/2.95.2/specs
gcc version 2.95.2 19991024 (release)
$ as --version
GNU assembler 991207
Copyright 1997 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
This assembler was configured for a target of `i686-sun-solaris2.7'.
$ bison --version
GNU Bison version 1.28
$ autoconf --version
Autoconf version 2.13
$ make --version
GNU Make version 3.78.1, by Richard Stallman and Roland McGrath.
Built for i686-sun-solaris2.7
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Report bugs to <bug-make@gnu.org>.
$ m4 --version
GNU m4 1.4
$ flex --version
flex version 2.5.4
$ env CC=gcc BOOT_CFLAGS="-O9 -mcpu=pentiumpro" ../egcs-19991208/configure \
i686-sun-solaris2.7 --enable-shared --enable-haifa --enable-threads \
--prefix=/opt/egcs --without-gnu-ld --srcdir=../egcs-19991208
...
$ make bootstrap
...
for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3
_ashldi3 _ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2
_floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi
_fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi _floatdixf _fixunsxfsi _fixtfdi
_fixunstfdi _floatditf __gcc_bcmp _varargs __dummy _eprintf _bb _shtab
_clear_cache _trampoline __main _exit _ctors _pure; \
do \
echo ${name}; \
./xgcc -B/opt/egcs/i686-sun-solaris2.7/bin/ -B./
-I/opt/egcs/i686-sun-solaris2.7/include -O2 -DIN_GCC -W -Wall
-Wtraditional -O9 -mcpu=pentiumpro -I./include -fPIC -g1
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I.
-I../../egcs-19991208/gcc -I../../egcs-19991208/gcc/config
-I../../egcs-19991208/gcc/../include -c -DL${name} \
../../egcs-19991208/gcc/libgcc2.c -o ${name}.o; \
if [ $? -eq 0 ] ; then true; else exit 1; fi; \
` if [ -f /playground/build/egcsobj/gcc/../binutils/ar ] ; then echo
/playground/build/egcsobj/gcc/../binutils/ar ; else if [
"i686-sun-solaris2.7" = "i686-sun-solaris2.7" ] ; then echo ar; else
t='s,^,i686-sun-solaris2.7-,'; echo ar | sed -e $t ; fi; fi` rc
tmplibgcc2.a ${name}.o; \
rm -f ${name}.o; \
done
_muldi3
In file included from ../../egcs-19991208/gcc/libgcc2.c:155:
../../egcs-19991208/gcc/longlong.h:368: warning: macro arg `d' would be
stringified with -traditional.
../../egcs-19991208/gcc/libgcc2.c: In function `__muldi3':
../../egcs-19991208/gcc/libgcc2.c:310: Internal compiler error in
`expand_expr', at expr.c:6584
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for instructions.
make[2]: *** [libgcc2.a] Error 1
make[2]: Leaving directory `/playground/build/egcsobj/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/playground/build/egcsobj/gcc'
make: *** [bootstrap] Error 2
Regards,
Bernard Michaud
Excom Informatics Services
bmichaud@excom.com
More information about the Gcc-bugs
mailing list