LM32 4.6 toolchain

Ralf Corsepius ralf.corsepius at rtems.org
Mon Apr 4 17:38:11 UTC 2011


On 04/04/2011 07:18 PM, Sebastien Bourdeauducq wrote:
> Hi,
>
> to my knowledge, the LM32 GCC build failure in 4.6 is only related to
> the C++ compiler, which was broken anyway (generating incorrect code) in
> 4.5.x. Can we simply disable it and upgrade the toolchain RPMs to 4.6
> with the C compiler alone?

Nope. Bootstrapping lm32-rtems4.11-gcc-4.6.0 also segfaults when 
enabling only c.

c.f. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48230

This was against gcc-4.6.0-RC-20110321 w/ cxx enabled,
but the error is the same with gcc-4.6.0 (final) and cxx disabled:

...
/users/rtems/rpmbuild/BUILD/rtems-4.11-lm32-rtems4.11-gcc-4.6.0/build/./gcc/xgcc 
-B/users/rtems/rpmbuild/BUILD/rtems-4.11-lm32-rtems4.11-gcc-4.6.0/build/./gcc/ 
-nostdinc 
-B/users/rtems/rpmbuild/BUILD/rtems-4.11-lm32-rtems4.11-gcc-4.6.0/build/lm32-rtems4.11/newlib/ 
-isystem 
/users/rtems/rpmbuild/BUILD/rtems-4.11-lm32-rtems4.11-gcc-4.6.0/build/lm32-rtems4.11/newlib/targ-include 
-isystem 
/users/rtems/rpmbuild/BUILD/rtems-4.11-lm32-rtems4.11-gcc-4.6.0/gcc-4.6.0/newlib/libc/include 
-B/opt/rtems-4.11/lm32-rtems4.11/bin/ 
-B/opt/rtems-4.11/lm32-rtems4.11/lib/ -isystem 
/opt/rtems-4.11/lm32-rtems4.11/include -isystem 
/opt/rtems-4.11/lm32-rtems4.11/sys-include    -g -O2 
-mbarrel-shift-enabled -O2 
-I../../gcc-4.6.0/gcc/../newlib/libc/sys/rtems/include -g -O2 -DIN_GCC 
-DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual 
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition 
-isystem ./include   -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 
-D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector -Dinhibit_libc -G 0 
-msign-extend-enabled -I. -I. -I../../.././gcc 
-I../../../../gcc-4.6.0/libgcc -I../../../../gcc-4.6.0/libgcc/. 
-I../../../../gcc-4.6.0/libgcc/../gcc 
-I../../../../gcc-4.6.0/libgcc/../include    -o _ffsdi2.o -MT _ffsdi2.o 
-MD -MP -MF _ffsdi2.dep -DL_ffsdi2 -c 
../../../../gcc-4.6.0/libgcc/../gcc/libgcc2.c \

xgcc: internal compiler error: Segmentation fault (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [_ffssi2.o] Error 4


Ralf



More information about the users mailing list