------- Comment #6 from dave at hiauly1 dot hia dot nrc dot ca 2007-09-07 22:05 ------- Subject: Re: Segmentation fault bootstrapping on HP-UX 11.11
> As mentioned before, I'm able to bootstrap with HP's compiler, so if this > information doesn't help you I'll just assume there's a problem with my > gcc-3.3.6 (although it seems fine for most other purposes). I think that's likely. The way to confirm this is to bootstrap just the C language with HP's compiler and install. Then, do another bootstrap using the newly built 4.2.1. A segmentation fault this early in the build process usually indicates some module has been miscompiled by the bootstrap compiler. I don't know how you built 3.3.6. There were problems with some gcc binaries distributed by HP. 3.3.6 should work as a bootstrap compiler. However, the 3.3 branch is closed and 3.3 problems won't be fixed. > /usr/local/src/64.obj/gcc-4.2.1/./gcc/cc1 -quiet -v -I. -I. > -I/usr/local/src/gcc-4.2.1/gcc -I/usr/local/src/gcc-4.2.1/gcc/. > -I/usr/local/src/gcc-4.2.1/gcc/../include > -I/usr/local/src/gcc-4.2.1/gcc/../libcpp/include -I/usr/local/64bit/include > -I/usr/local/64bit/include -I/usr/local/src/gcc-4.2.1/gcc/../libdecnumber > -I../libdecnumber -iprefix > /opt/datetime/gcc-4.2.1/gcc/../lib/gcc/hppa64-hp-hpux11.11/4.2.1/ -isystem > /usr/local/src/64.obj/gcc-4.2.1/./gcc/include -DIN_GCC -DCRT_BEGIN -isystem > /usr/local/64bit/hppa64-hp-hpux11.11/include -isystem > /usr/local/64bit/hppa64-hp-hpux11.11/sys-include -isystem ./include > /usr/local/src/gcc-4.2.1/gcc/crtstuff.c -quiet -dumpbase crtstuff.c > -auxbase-strip crtbegin.o -g -g0 -O2 -O2 -W -Wall -Wwrite-strings > -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -version > -finhibit-size-directive -fno-inline-functions -fno-exceptions > -fno-zero-initialized-in-bss -fno-toplevel-reorder -o /var/tmp//ccag2aEs.s Run cc1 under gdb. Use the set args command to set the cc1's arguments to the above list. Then, run cc1. This will duplicate the fault under gdb. Dave -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32894