Bug 20417 - Bootstrap fails running xnmake; it sigfaults in gnat__spitbol__patterns__xmatch
Summary: Bootstrap fails running xnmake; it sigfaults in gnat__spitbol__patterns__xmatch
Status: RESOLVED WORKSFORME
Alias: None
Product: gcc
Classification: Unclassified
Component: ada (show other bugs)
Version: unknown
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-11 06:39 UTC by David Starner
Modified: 2005-10-24 02:38 UTC (History)
1 user (show)

See Also:
Host: amd_64-linux
Target: amd_64-linux
Build: amd_64-linux
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Starner 2005-03-11 06:39:57 UTC
cp -p ../../gcc-4.0-20050305/gcc/ada/sinfo.ads ../../gcc-4.0-
20050305/gcc/ada/nmake.adt ../../gcc-4.0-20050305/gcc/ada/xnmake.adb 
ada/nmake.adb ada/bldtools
(cd ada/bldtools; gnatmake -q xnmake ; ./xnmake -s ../nmake.ads )
make[2]: *** [ada/nmake.ads] Error 139
make[2]: Leaving directory `/home/dvdeug/Program_Source/gcc-build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/home/dvdeug/Program_Source/gcc-build/gcc'
make: *** [bootstrap] Error 2
~/Program_Source/gcc-build $ cd gcc/ada/bldtools/
~/Program_Source/gcc-build/gcc/ada/bldtools $ ./xnmake 
Segmentation fault (core dumped)
~/Program_Source/gcc-build/gcc/ada/bldtools $ gdb ./xnmake 
GNU gdb 6.1-debian
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 "x86_64-linux"...Using host libthread_db 
library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /home/dvdeug/Program_Source/gcc-build/gcc/ada/bldtools/xnmake 

Program received signal SIGSEGV, Segmentation fault.
0x0000002a957b9388 in gnat__spitbol__patterns__xmatch () from /usr/lib/libgnat-
3.4.so.1
(gdb) bt
#0  0x0000002a957b9388 in gnat__spitbol__patterns__xmatch () 
from /usr/lib/libgnat-3.4.so.1
#1  0x0000002a957b3893 in gnat__spitbol__patterns__match__7 () 
from /usr/lib/libgnat-3.4.so.1
#2  0x000000000040a8bb in _ada_xnmake ()
#3  0x00000000004038a0 in main ()
(gdb) The program is running.  Exit anyway? (y or n) y
~/Program_Source/gcc-build/gcc/ada/bldtools $ 

CC=gcc-3.4 ../gcc-4.0-20050305/configure --prefix=/home/dvdeug/bin/gcc-4.0/ --
enable-languages=c,c++,ada

Reading specs from /usr/lib/gcc/x86_64-linux/3.4.2/specs
Configured with: ../src/configure -v --enable-
languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --
libexecdir=/usr/lib --with-gxx-include-dir=/usr/include/c++/3.4 --enable-
shared --with-system-zlib --enable-nls --without-included-gettext --program-
suffix=-3.4 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-
clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-
awt=gtk --disable-werror x86_64-linux
Thread model: posix
gcc version 3.4.2 (Debian 3.4.2-2)

Linux asimov 2.6.6-4-k8 #1 Thu Jun 10 02:51:19 UTC 2004 x86_64 GNU/Linux
GNU assembler version 2.15 (x86_64-linux) using BFD version 2.15
Comment 1 Andrew Pinski 2005-10-24 02:38:28 UTC
This works for me so closing as such.  I have not seen another report of this either.