http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51742
Thomas Lofgren <spamtlo at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |spamtlo at gmail dot com --- Comment #5 from Thomas Lofgren <spamtlo at gmail dot com> 2012-10-05 18:56:59 UTC --- I've also hit this bug. I'm attempting to use gcc 4.4.2 to compile gcc 4.7.0 and 4.7.2. Neither works. /home/trees/p4/sandbox/external/pre-built/src/gcc/4.7.2/objs/./gcc/xgcc -B/home/trees/p4/sandbox/external/pre-built/src/gcc/4.7.2/objs/./gcc/ -B/usr/local/gcc-4.7.2/hppa2.0w-hp-hpux11.11/bin/ -B/usr/local/gcc-4.7.2/hppa2.0w-hp-hpux11.11/lib/ -isystem /usr/local/gcc-4.7.2/hppa2.0w-hp-hpux11.11/include -isystem /usr/local/gcc-4.7.2/hppa2.0w-hp-hpux11.11/sys-include -g -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -frandom-seed=fixed-seed -fPIC -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -frandom-seed=fixed-seed -fPIC -I. -I. -I../.././gcc -I../../../gcc-4.7.2/libgcc -I../../../gcc-4.7.2/libgcc/. -I../../../gcc-4.7.2/libgcc/../gcc -I../../../gcc-4.7.2/libgcc/../include -DHAVE_CC_TLS -DUSE_EMUTLS -o _fixunssfdi.o -MT _fixunssfdi.o -MD -MP -MF _fixunssfdi.dep -DL_fixunssfdi -c ../../../gcc-4.7.2/libgcc/libgcc2.c ../../../gcc-4.7.2/libgcc/libgcc2.c: In function '__fixunssfdi': ../../../gcc-4.7.2/libgcc/libgcc2.c:1336:3: internal compiler error: Segmentation fault <external/pre-built/src/gcc/4.7.2/objs/./gcc/xgcc -v Using built-in specs. COLLECT_GCC=/home/trees/p4/sandbox/external/prebuilt/src/gcc/4.7.2/objs/./gcc/xgcc Target: hppa2.0w-hp-hpux11.11 Configured with: ../gcc-4.7.2/configure --prefix=/usr/local/gcc-4.7.2 --enable-languages=c,c++ --with-mpfr=/usr/local --with-gnu-as --with-as=/usr/local/binutils-2.21/bin/as Thread model: posix gcc version 4.7.2 (GCC) gdb on this platform is not particularly useful: Starting program: /home/trees/p4/sandbox/external/pre-built/src/gcc/4.7.2/objs/gcc/xgcc B/home/trees/p4/sandbox/external/pre-built/src/gcc/4.7.2/objs/./gcc/ -B/usr/local/gcc-4.7.2/hppa2.0w-hp-hpux11.11/bin/ -B/usr/local/gcc-4.7.2/hppa2.0w-hp-hpux11.11/lib/ -isystem /usr/local/gcc-4.7.2/hppa2.0w-hp-hpux11.11/include -isystem /usr/local/gcc-4.7.2/hppa2.0w-hp-hpux11.11/sys-include -g -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -frandom-seed=fixed-seed -fPIC -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -frandom-seed=fixed-seed -fPIC -I. -I. -I../.././gcc -I../../../gcc-4.7.2/libgcc -I../../../gcc-4.7.2/libgcc/. -I../../../gcc-4.7.2/libgcc/../gcc -I../../../gcc-4.7.2/libgcc/../include -DHAVE_CC_TLS -DUSE_EMUTLS -o _fixunssfdi.o -MT _fixunssfdi.o -MD -MP -MF _fixunssfdi.dep -DL_fixunssfdi -c ../../../gcc-4.7.2/libgcc/libgcc2.c warning: Private mapping of shared library text was not specified by the executable; setting a breakpoint in a shared library which is not privately mapped will not work. See the HP-UX 11i v3 chatr manpage for methods to privately map shared library text. infrun.c:3171: internal-error: handle_inferior_event: Assertion `inf' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) n infrun.c:3171: internal-error: handle_inferior_event: Assertion `inf' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Create a core file of GDB? (y or n) n thread.c:613: internal-error: is_thread_state: Assertion `tp' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) y Is there anything further that I can provide?