[Bug bootstrap/26438] gcc-4.1.0 20060219 fails to bootstrap: xgcc: Internal error: Segmentation fault

2006-02-23 Thread george dot wieggers at gmail dot com


--- Comment #1 from george dot wieggers at gmail dot com  2006-02-23 09:12 
---
Created an attachment (id=10898)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10898&action=view)
Prepocessed source causing the ICE


-- 


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



[Bug bootstrap/26438] New: gcc-4.1.0 20060219 fails to bootstrap: xgcc: Internal error: Segmentation fault

2006-02-23 Thread george dot wieggers at gmail dot com
Trying to build gcc-4.1.0 20060219 on :
HP-UX tiger B.11.11 U 9000/800 3836333978 unlimited-user license

../gcc-4.1.0-20060219/configure --prefix=/usr/local/gcc-4.1.0 --without-gnu-ld
--with-gnu-as --with-as=/usr/local/bin/as

(using GNU assembler 2.15)

command which causes ICE (reproducible):

./xgcc -v -save-temps -B./ -B/usr/local/gcc-4.1.0/hppa2.0w-hp-hpux11.11/bin/
-isystem /usr/local/gcc-4.1.0/hppa2.0w-hp-hpux11.11/include -isystem
/usr/local/gcc-4.1.0/hppa2.0w-hp-hpux11.11/sys-include
-L/home/wieg/dvm/gcc/build/gcc/../ld -O2   -DIN_GCC-W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem
./include  -fPIC -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I.
-I../../gcc-4.1.0-20060219/gcc -I../../gcc-4.1.0-20060219/gcc/.
-I../../gcc-4.1.0-20060219/gcc/../include -I./../intl
-I../../gcc-4.1.0-20060219/gcc/../libcpp/include  -DL_ffssi2  -c
../../gcc-4.1.0-20060219/gcc/libgcc2.c -o libgcc/./_ffssi2.o

Compiler output:

Reading specs from ./specs
Target: hppa2.0w-hp-hpux11.11
Configured with: ../gcc-4.1.0-20060219/configure --prefix=/usr/local/gcc-4.1.0
--without-gnu-ld --with-gnu-as --with-as=/usr/local/bin/as
Thread model: single
gcc version 4.1.0 20060219 (prerelease)
 ./cc1 -E -quiet -v -I. -I. -I../../gcc-4.1.0-20060219/gcc
-I../../gcc-4.1.0-20060219/gcc/. -I../../gcc-4.1.0-20060219/gcc/../include
-I./../intl -I../../gcc-4.1.0-20060219/gcc/../libcpp/include -iprefix
/home/wieg/dvm/gcc/build/gcc/../lib/gcc/hppa2.0w-hp-hpux11.11/4.1.0/ -isystem
./include -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -DL_ffssi2 -isystem
/usr/local/gcc-4.1.0/hppa2.0w-hp-hpux11.11/include -isystem
/usr/local/gcc-4.1.0/hppa2.0w-hp-hpux11.11/sys-include -isystem ./include
../../gcc-4.1.0-20060219/gcc/libgcc2.c -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -fPIC
-fworking-directory -O2 -fpch-preprocess -o libgcc2.i
ignoring nonexistent directory
"/usr/local/gcc-4.1.0/hppa2.0w-hp-hpux11.11/include"
ignoring nonexistent directory
"/usr/local/gcc-4.1.0/hppa2.0w-hp-hpux11.11/sys-include"
ignoring duplicate directory "./include"
ignoring nonexistent directory
"/home/wieg/dvm/gcc/build/gcc/../lib/gcc/hppa2.0w-hp-hpux11.11/4.1.0/include"
ignoring nonexistent directory
"/home/wieg/dvm/gcc/build/gcc/../lib/gcc/hppa2.0w-hp-hpux11.11/4.1.0/../../../../hppa2.0w-hp-hpux11.11/include"
ignoring nonexistent directory "/usr/local/gcc-4.1.0/include"
ignoring nonexistent directory
"/usr/local/gcc-4.1.0/lib/gcc/hppa2.0w-hp-hpux11.11/4.1.0/include"
ignoring nonexistent directory
"/usr/local/gcc-4.1.0/hppa2.0w-hp-hpux11.11/include"
ignoring duplicate directory "."
ignoring duplicate directory "../../gcc-4.1.0-20060219/gcc/."
#include "..." search starts here:
#include <...> search starts here:
 .
 ../../gcc-4.1.0-20060219/gcc
 ../../gcc-4.1.0-20060219/gcc/../include
 ./../intl
 ../../gcc-4.1.0-20060219/gcc/../libcpp/include
 ./include
 /usr/local/include
 /usr/include
End of search list.
 ./cc1 -fpreprocessed libgcc2.i -quiet -dumpbase libgcc2.c -auxbase-strip
libgcc/./_ffssi2.o -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -version -fPIC -o libgcc2.s
GNU C version 4.1.0 20060219 (prerelease) (hppa2.0w-hp-hpux11.11)
compiled by GNU C version 3.2.3.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: e3b8ccac799c0ada8114136acf6b094f
../../gcc-4.1.0-20060219/gcc/libgcc2.c: In function '__ffssi2':
../../gcc-4.1.0-20060219/gcc/libgcc2.c:485: 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.


-- 
   Summary: gcc-4.1.0 20060219 fails to bootstrap: xgcc: Internal
error: Segmentation fault
   Product: gcc
   Version: 4.1.0
Status: UNCONFIRMED
  Severity: normal
      Priority: P3
         Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: george dot wieggers at gmail dot com
 GCC build triplet: hppa2.0w-hp-hpux11.11
  GCC host triplet: hppa2.0w-hp-hpux11.11
GCC target triplet: hppa2.0w-hp-hpux11.11


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



[Bug bootstrap/26438] gcc-4.1.0 20060219 fails to bootstrap: xgcc: Internal error: Segmentation fault

2006-02-23 Thread george dot wieggers at gmail dot com


--- Comment #3 from george dot wieggers at gmail dot com  2006-02-24 07:40 
---
Your suggestion works, thanks! I bootstrapped gcc-3.4.5 and used that to build
gcc-4.1.0 20060219

Maybe this solution could be added to the hppa*-hp-hpux11 platform specific
notes...


-- 

george dot wieggers at gmail dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||WORKSFORME


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