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/13670] New: xnmake gets miscompiled during bootstrap with ada enabled


If I bootstrap GCC 3.4 CVS with GCC 3.4 CVS as bootstrap compiler (including ada), 
it fails in:
(cd ada/bldtools; gnatmake -q xnmake ; ./xnmake -b ../nmake.adb )
make[2]: *** [ada/nmake.adb] Error 139
make[2]: Leaving directory
`/usr/src/packages/BUILD/gcc-3.4.0-20040113/obj-x86_64-suse-linux/gcc'
make[1]: *** [stage1_build] Error 2

Trying to debug this, I get:
/gdb ./xnmake 
GNU gdb 6.0
Copyright 2003 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-suse-linux"...
(gdb) r  -b ../nmake.adb
Starting program:
/usr/src/packages/BUILD/gcc-3.4.0-20040113/obj-x86_64-suse-linux/gcc/ada/bldtools/xnmake
-b ../nmake.adb

Program received signal SIGSEGV, Segmentation fault.
0x0000000000425194 in gnat.spitbol.patterns.xmatch (subject=
      {P_ARRAY = 0x55e9c8, P_BOUNDS = 0x55e9c0}, pat_p=0x55d570, pat_s=3)
    at g-spipat.adb:4055
4055    g-spipat.adb: No such file or directory.
        in g-spipat.adb
Current language:  auto; currently minimal

Note if I use GCC 3.3 as bootstrap compiler, this seems to work

-- 
           Summary: xnmake gets miscompiled during bootstrap with ada
                    enabled
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: aj at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: x86_64-linux-gnu
  GCC host triplet: x86_64-linux-gnu
GCC target triplet: x86_64-linux-gnu


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


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