[Bug bootstrap/50245] New: Compile of cross compiler for M68HC11 fails in libgcc, "internal compiler error: Segmentation fault"

dreid at aptina dot com gcc-bugzilla@gcc.gnu.org
Wed Aug 31 00:12:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50245

             Bug #: 50245
           Summary: Compile of cross compiler for M68HC11 fails in libgcc,
                    "internal compiler error: Segmentation fault"
    Classification: Unclassified
           Product: gcc
           Version: 4.5.3
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dreid@aptina.com


Created attachment 25145
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25145
pre-processed input

Using gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4) on Ubuntu 11.04.

I built binutils-2.21.1 for this target uncompressed gcc-core-4.5.3.tar.bz2 and
did:

mkdir -p BUILD-gcc
cd BUILD/gcc
../../gcc-4.5.3/configure --target=m68hc11 --prefix=/home/dreid/apps
--enable-languages=c
make 2>&1 | tee mo

The output is:
.....
/home/dreid/projects/Tools/GCC_6811/BUILD/gcc/./gcc/xgcc
-B/home/dreid/projects/Tools/GCC_6811/BUILD/gcc/./gcc/
-B/home/dreid/apps/m68hc11/bin/ -B/home/dreid/apps/m68hc11/lib/ -isystem
/home/dreid/apps/m68hc11/include -isystem /home/dreid/apps/m68hc11/sys-include 
  -g -O2 -m68hc11 -Os -mrelax  -DUSE_GAS -DIN_GCC -Dinhibit_libc -g 
-DIN_LIBGCC2  -I. -I. -I../../.././gcc -I../../../../../gcc-4.5.3/libgcc
-I../../../../../gcc-4.5.3/libgcc/. -I../../../../../gcc-4.5.3/libgcc/../gcc
-I../../../../../gcc-4.5.3/libgcc/../include  -DHAVE_CC_TLS -DUSE_EMUTLS -o
_negdi2.o -MT _negdi2.o -MD -MP -MF _negdi2.dep -DL_negdi2 -c
../../../../../gcc-4.5.3/libgcc/../gcc/libgcc2.c \

../../../../../gcc-4.5.3/libgcc/../gcc/libgcc2.c: In function ‘__negdi2’:
../../../../../gcc-4.5.3/libgcc/../gcc/libgcc2.c:76:1: internal compiler error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [_negdi2.o] Error 1
make[4]: Leaving directory
`/home/dreid/projects/Tools/GCC_6811/BUILD/gcc/m68hc11/m68hc11/libgcc'
make[3]: *** [multi-do] Error 1
make[3]: Leaving directory
`/home/dreid/projects/Tools/GCC_6811/BUILD/gcc/m68hc11/libgcc'
make[2]: *** [all-multi] Error 2
make[2]: Leaving directory
`/home/dreid/projects/Tools/GCC_6811/BUILD/gcc/m68hc11/libgcc'
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory `/home/dreid/projects/Tools/GCC_6811/BUILD/gcc'
make: *** [all] Error 2

I'll attach the libgcc2.i file and the stderr from the last command with "-v
-save-temps" added

Don



More information about the Gcc-bugs mailing list