The current gcc in trunk is broken on Linux/mips.

H . J . Lu hjl@lucon.org
Thu Sep 20 16:07:00 GMT 2001


On Wed, Sep 19, 2001 at 08:53:36AM -0700, H . J . Lu wrote:
> The current gcc in trunk, as of Sep. 18, 2001, is broken on Linux/mips.
> The last working one for me is Aug. 30, 2001. The bootstrap died at
> stage2:
> 
> 
> ./xgcc -B./ -B/usr/gcc-3.1/mipsel-unknown-linux-gnu/bin/ -isystem /usr/gcc-3.1/mipsel-unknown-linux-gnu/include -O2   -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g1 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I/home/hjl/work/gnu/src/gcc/gcc/gcc -I/home/hjl/work/gnu/src/gcc/gcc/gcc/. -I/home/hjl/work/gnu/src/gcc/gcc/gcc/config -I/home/hjl/work/gnu/src/gcc/gcc/gcc/../include  -DL_fixunsdfdi -c /home/hjl/work/gnu/src/gcc/gcc/gcc/libgcc2.c -o libgcc/./_fixunsdfdi.o
> /home/hjl/work/gnu/src/gcc/gcc/gcc/libgcc2.c: In function `__fixunsdfdi':
> /home/hjl/work/gnu/src/gcc/gcc/gcc/libgcc2.c:948: Internal compiler error in propagate_one_insn, at flow.c:1436
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
> make[4]: *** [libgcc/./_fixunsdfdi.o] Error 1
> make[4]: Leaving directory `/export/build/gnu/gcc/build-mipsel-linux/gcc'
> make[3]: *** [libgcc.a] Error 2
> make[3]: Leaving directory `/export/build/gnu/gcc/build-mipsel-linux/gcc'
> make[2]: *** [stage2_build] Error 2
> make[2]: Leaving directory `/export/build/gnu/gcc/build-mipsel-linux/gcc'
> make[1]: *** [bootstrap] Error 2
> make[1]: Leaving directory `/export/build/gnu/gcc/build-mipsel-linux'
> Command exited with non-zero status 2
> 11430.59user 491.51system 3:20:48elapsed 98%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (1195391major+1756340minor)pagefaults 0swaps
> make: *** [bootstrap] Error 2
> 
> It is ok on Irix6.5. Since Irix6.5 has a different ABI, the bugs may be
> specific to o32.
> 

I have verified that this patch

http://gcc.gnu.org/ml/gcc-patches/2001-09/msg00527.html

breaks the native build on Linux/mips. I am looking into it now. But
unfortunately, it takes me several hours to bootstrap gcc on my
Linux/mips :-(.


H.J.



More information about the Gcc-bugs mailing list