In stage1:
...
/bin/sh ../../gcc/gcc/../move-if-change tmp-gi.list gtyp-input.list
echo timestamp > s-gtyp-input
build/gengtype ../../gcc/gcc gtyp-input.list
make[3]: *** [s-gtype] Segmentation fault (core dumped)
(gdb) r ../../gcc/gcc gtyp-input.list
Starting program: /test/gnu/gcc/objdir/gcc/build/gengtype ../../gcc/gcc
gtyp-input.list
warning: The shared libraries were not privately mapped; setting a
breakpoint in a shared library will not work until you rerun the program.
Breakpoint 3 at 0xc002a800
Breakpoint 3 at 0x7af867fc
Program received signal SIGSEGV, Segmentation fault.
0x7aff5844 in __ldfcvt_r () from /usr/lib/libc.2
(gdb) bt
#0 0x7aff5844 in __ldfcvt_r () from /usr/lib/libc.2
#1 0x7aff5580 in _doprnt () from /usr/lib/libc.2
#2 0x7b007fbc in vsnprintf () from /usr/lib/libc.2
#3 0x00006be8 in oprintf (o=0x4000b6b8,
format=0x14b48 "/* Type information for %s.\n")
at ../../gcc/gcc/gengtype.c:1488
#4 0x00006af4 in create_file (name=0x14cdc "GCC",
oname=0x14ce0 "gtype-desc.h") at ../../gcc/gcc/gengtype.c:1472
#5 0x00006d80 in open_base_files () at ../../gcc/gcc/gengtype.c:1528
#6 0x0000d250 in main (argc=3, argv=0x7eff04cc)
at ../../gcc/gcc/gengtype.c:3560
--
Summary: make[3]: *** [s-gtype] Segmentation fault (core dumped)
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
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=31381