This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/13470] New: Tru64 UNIX Ada bootstrap failure:xnmake etc. crash generating nmake.adb etc.


Since a couple of generated files (i.e. nmake.adb, nmake.ads, treeprs.ads,
sinfo.h, and einfo.h) were removed from GCC CVS, Ada doesn't bootstrap any
longer on Tru64 UNIX (both V4.0F and V5.1B):

ro@bartok 269 > ./xnmake -b ../nmake.adb

raised PROGRAM_ERROR : SIGSEGV

Running xnmake under gdb reveals:

Program received signal SIGSEGV, Segmentation fault.
0x0000000120054a18 in gnat__spitbol__patterns__copy (p=0x140016240) at g-spipat.adb:2043
2043    g-spipat.adb: No such file or directory.
        in g-spipat.adb
(gdb) where
#0  0x0000000120054a18 in gnat__spitbol__patterns__copy (p=0x140016240) at g-spipat.adb:2043
#1  0x000000012004f9b8 in gnat__spitbol__patterns__adjust$2 (object=@0x14000c520) at g-spipat.adb:1593
#2  0x0000000120061b18 in gnat__spitbol__patterns__span (str={P_ARRAY = 0x14000352d, P_BOUNDS = 0x140003530}) at g-spipat.adb:3458
#3  0x0000000120020070 in _ada_xnmake () at xnmake.adb:6
#4  0x000000012001d97c in main () at b~xnmake.adb:6

This happens both with GNAT 3.3.2 or 3.4 20031208 as bootstrap compiler
(which also builds xnmake and friends).

Environment:
System: OSF1 bartok V5.1 2650 alpha
Machine: alpha
	
host: alpha-dec-osf5.1b
build: alpha-dec-osf5.1b
target: alpha-dec-osf5.1b
configured with: /vol/gnu/src/gcc/gcc/configure --prefix=/vol/gcc --with-local-prefix=/vol/gcc --disable-nls alpha-dec-osf5.1b

How-To-Repeat:
Bootstrap GCC on Tru64 UNIX with Ada included.
------- Additional Comments From ro at techfak dot uni-bielefeld dot de  2003-12-22 21:20 -------
Fix:
Copy the affected/generated files from a different system.

-- 
           Summary: Tru64 UNIX Ada bootstrap failure:xnmake etc. crash
                    generating nmake.adb etc.
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ro at techfak dot uni-bielefeld dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: alpha-dec-osf5.1b
  GCC host triplet: alpha-dec-osf5.1b
GCC target triplet: alpha-dec-osf5.1b


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]