bootstrap/9361: GCC 3.2.1 Boostrap stage 2 compile error (corrections)

tfinneid@ifi.uio.no tfinneid@ifi.uio.no
Sat Jan 18 14:13:00 GMT 2003


>Number:         9361
>Category:       bootstrap
>Synopsis:       GCC 3.2.1 Boostrap stage 2 compile error (corrections)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 18 03:46:01 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:
(This is a new report of my previously reported bug, 9312, with corrections. I appologise for the inconvenience)

Stage 2 compilation stops with an error message (verbose 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 when "--enable-altivec" is given. I am not sure if its only induced when enabling the language C or not as indicated in my previous report.

./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-altivec/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/usr/local/src/gcc-3.2/gcc-3.2.1-objdir-altivec/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/usr/local/src/gcc-3.2/gcc-3.2.1-objdir-altivec/gcc'
make: *** [bootstrap] Error 2
>How-To-Repeat:
objdir> /usr/local/src/gcc-3.2/gcc-3.2.1/configure --enable-threads --enable-languages=c,c++,java --enable-altivec
objdir> make bootstrap
>Fix:

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



More information about the Gcc-bugs mailing list