bootstrap/8264: GCC3.2 Illegal Instruction building libgcc2.c

james@jigsawdezign.com james@jigsawdezign.com
Thu Oct 17 13:06:00 GMT 2002


>Number:         8264
>Category:       bootstrap
>Synopsis:       GCC3.2 Illegal Instruction building libgcc2.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 17 13:06:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     James A Wright
>Release:        GCC3.2
>Organization:
>Environment:
AMD K6-2 450Mhz, 256Mb RAM
Linux 2.4.19
GLibc 2.2.4
>Description:
mkdir /unpacked/objdir
cd /unpacked/objdir
/unpacked/gcc3.2/configure
make bootstrap

Build fails with:

./xgcc -B./ -B/usr/local/i586-pc-linux-gnu/bin/ -isystem /usr/local/i586-pc-linux-gnu/include -isystem /usr/local/i586-pc-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/unpacked/gcc-3.2/gcc -I/unpacked/gcc-3.2/gcc/. -I/unpacked/gcc-3.2/gcc/config
-I/unpacked/gcc-3.2/gcc/../include  -DL_floatdisf -c /unpacked/gcc-3.2/gcc/libgcc2.c -o libgcc/./_floatdisf.o
./xgcc -B./ -B/usr/local/i586-pc-linux-gnu/bin/ -isystem /usr/local/i586-pc-linux-gnu/include -isystem /usr/local/i586-pc-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/unpacked/gcc-3.2/gcc -I/unpacked/gcc-3.2/gcc/. -I/unpacked/gcc-3.2/gcc/config
-I/unpacked/gcc-3.2/gcc/../include  -DL_fixunsdfsi -c /unpacked/gcc-3.2/gcc/libgcc2.c -o libgcc/./_fixunsdfsi.o
/unpacked/gcc-3.2/gcc/libgcc2.c: In function `__fixunsdfsi':
/unpacked/gcc-3.2/gcc/libgcc2.c:1173: 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/./_fixunsdfsi.o] Error 1
make[3]: Leaving directory `/unpacked/objdir/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/unpacked/objdir/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/unpacked/objdir/gcc'
make: *** [bootstrap] Error 2
[root@halcyon objdir]# 


  I'm sure it is not a hardware problem because it crashes in the same place everytime, and the same system has done numerous kernel builds without any problems...
>How-To-Repeat:
Fails same place everytime I try to rebuild GCC3.2 on this system... 
>Fix:

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



More information about the Gcc-bugs mailing list