armv3l Linux segfault during bootstrap

Rod Stewart stewart@netwinder.org
Wed Oct 11 19:42:00 GMT 2000


I'm having a problem bootstraping GCC on armv3l Linux.  It builds fine on
armv4l Linux.  My last successful build was from CVS around 12:30 AM EST
on October 9.  Picked up in out autobuilder
http://www.netwinder.org/build/stats/gcc.html

The difference between the armv4l-linux and armv3l-linux build is the
armv4l-linux one is configured with --with-cpu=strongarm.

Richard could this failure be related to your changes for SSA support on
ARM?

Let me know about any extra info needed to help track this down.

[build@feynman gcc]$ ./xgcc -v
Using builtin specs.
Configured with:  --prefix=/usr/local --enable-shared
--enable-threads=posix --without-cvs
gcc version 2.97 20001010 (experimental)

The problem shows up with a xgcc from the first stage segfaulting in the
following:

./xgcc -B./ -B/usr/local/armv3l-unknown-linux-gnu/bin/ -isystem
/usr/local/armv3l-unknown-linux-gnu/include -O2   -DIN_GCC    -O2 -g -O2
-W -Wall  -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wno-long-long -isystem ./include  -fomit-frame-pointer -fPIC -g0
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I.
-I/home/build-rpm/BUILD/gcc/gcc -I/home/build-rpm/BUILD/gcc/gcc/config
-I/home/build-rpm/BUILD/gcc/gcc/../include -msoft-float -DL_udivsi3
-xassembler-with-cpp -c
/home/build-rpm/BUILD/gcc/gcc/config/arm/lib1funcs.asm -o
libgcc/soft-float/_udivsi3.o
make[3]: *** [libgcc/soft-float/_udivsi3.o] Segmentation fault (core
dumped)
make[3]: Leaving directory `/home/build-rpm/BUILD/obj-gcc-20001011/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/home/build-rpm/BUILD/obj-gcc-20001011/gcc'
make[1]: *** [stage_c] Error 2
make[1]: Leaving directory `/home/build-rpm/BUILD/obj-gcc-20001011/gcc'
make: *** [bootstrap-lean] Error 2

The segfault appears after: "Reading specs from ./specs"

The backtrace from gbd.

Starting program: /home/build-rpm/BUILD/obj-gcc-20001011/gcc/./xgcc -B./
-B/usr/local/armv3l-unknown-linux-gnu/bin/ -isystem
/usr/local/armv3l-unknown-linux-gnu/include -O2   -DIN_GCC    -O2 -g -O2
-W -Wall  -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wno-long-long -isystem ./include  -fomit-frame-pointer -fPIC -g0
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I.
-I/home/build-rpm/BUILD/gcc/gcc -I/home/build-rpm/BUILD/gcc/gcc/config
-I/home/build-rpm/BUILD/gcc/gcc/../include -msoft-float -DL_udivsi3
-xassembler-with-cpp -c
/home/build-rpm/BUILD/gcc/gcc/config/arm/lib1funcs.asm -o
libgcc/soft-float/_udivsi3.o
During symbol reading...register number 258 too large (max 26) in symbol
buf...

Program received signal SIGSEGV, Segmentation fault.
chunk_free (ar_ptr=0x40102ca0, p=0x73d4) at malloc.c:3094
Line number 3094 out of range; malloc.c has 552 lines.
(gdb) bt
#0  chunk_free (ar_ptr=0x40102ca0, p=0x73d4) at malloc.c:3094
#1  0x4006fe7c in chunk_alloc (ar_ptr=0x40102ca0, nb=472) at malloc.c:2594
#2  0x4006f4e8 in __libc_malloc (bytes=8) at malloc.c:2696
#3  0xbffff4c4 in ?? ()
(gdb) 

Thanks,
-Rms



More information about the Gcc-bugs mailing list