bootstrap/9312: GCC 3.2.1 Boostrap stage 2 compile error

tfinneid@ifi.uio.no tfinneid@ifi.uio.no
Tue Jan 14 20:07:00 GMT 2003


>Number:         9312
>Category:       bootstrap
>Synopsis:       GCC 3.2.1 Boostrap stage 2 compile error
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 14 11:16:02 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Finneid
>Release:        gcc 3.2.1 (source release)
>Organization:
>Environment:
Apple PowerBook G3, PowerPC 750, Suse Linux 7.3
Compiled with GCC 3.2
>Description:
Stage 2 compilation stops with an error message (more complete output at the bottom of this desrcription):

/usr/local/src/gcc-3.2/gcc-3.2.1/gcc/libgcc2.c: In function `__floatdidf':
/usr/local/src/gcc-3.2/gcc-3.2.1/gcc/libgcc2.c:1054: internal error: Illegal instruction

This error occurs only if support for C is enabled, i.e. compiling with support for C++ and java only does not induce the error.

Error output:

./xgcc -B./ -B/usr/local/powerpc-unknown-linux-gnu/bin/ -isystem /usr/local/powerpc-unknown-linux-gnu/include -isystem /usr/local/powerpc-unknown-linux-gnu/sys-include -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I/usr/local/src/gcc-3.2/gcc-3.2.1/gcc -I/usr/local/src/gcc-3.2/gcc-3.2.1/gcc/. -I/usr/local/src/gcc-3.2/gcc-3.2.1/gcc/config -I/usr/local/src/gcc-3.2/gcc-3.2.1/gcc/../include  -fPIC -mstrict-align -DL_ucmpdi2 -c /usr/local/src/gcc-3.2/gcc-3.2.1/gcc/libgcc2.c -o libgcc/./_ucmpdi2.o
./xgcc -B./ -B/usr/local/powerpc-unknown-linux-gnu/bin/ -isystem /usr/local/powerpc-unknown-linux-gnu/include -isystem /usr/local/powerpc-unknown-linux-gnu/sys-include -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I/usr/local/src/gcc-3.2/gcc-3.2.1/gcc -I/usr/local/src/gcc-3.2/gcc-3.2.1/gcc/. -I/usr/local/src/gcc-3.2/gcc-3.2.1/gcc/config -I/usr/local/src/gcc-3.2/gcc-3.2.1/gcc/../include  -fPIC -mstrict-align -DL_floatdidf -c /usr/local/src/gcc-3.2/gcc-3.2.1/gcc/libgcc2.c -o libgcc/./_floatdidf.o
/usr/local/src/gcc-3.2/gcc-3.2.1/gcc/libgcc2.c: In function `__floatdidf':
/usr/local/src/gcc-3.2/gcc-3.2.1/gcc/libgcc2.c:1054: internal error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[3]: *** [libgcc/./_floatdidf.o] Error 1
make[3]: Leaving directory `/usr/local/src/gcc-3.2/gcc-3.2.1-objdir/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/usr/local/src/gcc-3.2/gcc-3.2.1-objdir/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/usr/local/src/gcc-3.2/gcc-3.2.1-objdir/gcc'
make: *** [bootstrap] Error 2
>How-To-Repeat:
$objdir>  /usr/local/src/gcc-3.2/gcc-3.2.1/configure --enable-languages=c,c++,java
$objdir> make boostrap
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list