../../gnatmake -c -I../rts -I. -I/test/gnu/gcc-3.3/gcc/gcc/ada gnatchop --GCC=". ./../xgcc -B../../ -g -O2 -mdisable-indexing -gnatpg -gnata"
raised STORAGE_ERROR : stack overflow or erroneous memory access make[3]: *** [../../gnatchop] Error 1 make[3]: Leaving directory `/test/gnu/gcc-3.3/objdir/gcc/ada/tools' make[2]: *** [gnattools-native] Error 2 # gdb ../../gnatmake GNU gdb 6.3.50.20050210-cvs Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "hppa2.0w-hp-hpux11.11"... (gdb) r `cat xxx.sh` Starting program: /test/gnu/gcc-3.3/objdir/gcc/gnatmake `cat xxx.sh` Program received signal SIGSEGV, Segmentation fault. 0x00142348 in __gnat_is_absolute_path () (gdb) disass 0x00142338 0x00142358 Dump of assembler code from 0x142338 to 0x142358: 0x00142338 <__gnat_file_exists+40>: bv r0(rp) 0x0014233c <__gnat_file_exists+44>: ldo -c0(sp),sp 0x00142340 <__gnat_is_absolute_path+0>: cmpib,= 0,r25,0x142354 < __gnat_is_absolute_path+20> 0x00142344 <__gnat_is_absolute_path+4>: ldi 0,ret0 0x00142348 <__gnat_is_absolute_path+8>: ldb 0(,r26),ret0 0x0014234c <__gnat_is_absolute_path+12>: cmpiclr,<> 2f,ret0,ret0 0x00142350 <__gnat_is_absolute_path+16>: ldi 1,ret0 0x00142354 <__gnat_is_absolute_path+20>: bv,n r0(rp) End of assembler dump. (gdb) p/x $r26 $1 = 0x0 (gdb) bt #0 0x00142348 in __gnat_is_absolute_path () #1 0x00134720 in gnat__os_lib__is_absolute_path () #2 0x00112ec8 in tempdir___elabb () #3 0x00008a3c in adainit () #4 0x00008e90 in main () Null pointer passed from gnat__os_lib__is_absolute_path is the problem. -- Summary: __gnat_is_absolute_path: Segmentation fault Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: ada AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: danglin at gcc dot gnu dot org CC: gcc-bugs 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=22285