public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/13670] New: xnmake gets miscompiled during bootstrap with ada enabled
@ 2004-01-13 16:38 aj at gcc dot gnu dot org
  2004-01-13 16:56 ` [Bug ada/13670] [3.4 Regression] " pinskia at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: aj at gcc dot gnu dot org @ 2004-01-13 16:38 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug ada/13670] [3.4 Regression] xnmake gets miscompiled during bootstrap with ada enabled
  2004-01-13 16:38 [Bug ada/13670] New: xnmake gets miscompiled during bootstrap with ada enabled aj at gcc dot gnu dot org
@ 2004-01-13 16:56 ` pinskia at gcc dot gnu dot org
  2004-01-19 13:14 ` [Bug ada/13670] [3.4/3.5 " debian-gcc at lists dot debian dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-13 16:56 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-13 16:56 -------
If I read this correctly this is a regression.  Also related to bug 13470 which is for alpha-dec-
osf5.1b.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
           Keywords|                            |wrong-code
            Summary|xnmake gets miscompiled     |[3.4 Regression] xnmake gets
                   |during bootstrap with ada   |miscompiled during bootstrap
                   |enabled                     |with ada enabled
   Target Milestone|---                         |3.4.0


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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug ada/13670] [3.4/3.5 Regression] xnmake gets miscompiled during bootstrap with ada enabled
  2004-01-13 16:38 [Bug ada/13670] New: xnmake gets miscompiled during bootstrap with ada enabled aj at gcc dot gnu dot org
  2004-01-13 16:56 ` [Bug ada/13670] [3.4 Regression] " pinskia at gcc dot gnu dot org
@ 2004-01-19 13:14 ` debian-gcc at lists dot debian dot org
  2004-01-19 13:15 ` debian-gcc at lists dot debian dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2004-01-19 13:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From debian-gcc at lists dot debian dot org  2004-01-19 13:14 -------
According to
http://buildd.debian.org/fetch.php?&pkg=gcc-snapshot&ver=20040118-1&arch=alpha&stamp=1074508987&file=log&as=raw

it fails on alpha-linux as well. gcc-3.3 CVS 20031229 is used as the bootstrap
compiler.


-- 


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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug ada/13670] [3.4/3.5 Regression] xnmake gets miscompiled during bootstrap with ada enabled
  2004-01-13 16:38 [Bug ada/13670] New: xnmake gets miscompiled during bootstrap with ada enabled aj at gcc dot gnu dot org
  2004-01-13 16:56 ` [Bug ada/13670] [3.4 Regression] " pinskia at gcc dot gnu dot org
  2004-01-19 13:14 ` [Bug ada/13670] [3.4/3.5 " debian-gcc at lists dot debian dot org
@ 2004-01-19 13:15 ` debian-gcc at lists dot debian dot org
  2004-01-19 15:24 ` charlet at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2004-01-19 13:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From debian-gcc at lists dot debian dot org  2004-01-19 13:15 -------
According to
http://buildd.debian.org/fetch.php?&pkg=gcc-snapshot&ver=20040118-1&arch=alpha&stamp=1074508987&file=log&as=raw

it fails on alpha-linux as well. gcc-3.3 CVS 20031229 is used as the bootstrap
compiler.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |debian-gcc at lists dot
                   |                            |debian dot org


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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug ada/13670] [3.4/3.5 Regression] xnmake gets miscompiled during bootstrap with ada enabled
  2004-01-13 16:38 [Bug ada/13670] New: xnmake gets miscompiled during bootstrap with ada enabled aj at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-01-19 13:15 ` debian-gcc at lists dot debian dot org
@ 2004-01-19 15:24 ` charlet at gcc dot gnu dot org
  2004-01-19 20:16 ` doko at cs dot tu-berlin dot de
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: charlet at gcc dot gnu dot org @ 2004-01-19 15:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From charlet at gcc dot gnu dot org  2004-01-19 15:24 -------
As for PR 13470, the work around is to use the generated files from
another system.

The code generation has probably been around for some time, and only
appeared recently because the auto-generated files were removed
from CVS.

It may be good to include the auto-generated files in the official
GCC 3.4.0 source tarball.

Arno

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal


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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug ada/13670] [3.4/3.5 Regression] xnmake gets miscompiled during bootstrap with ada enabled
  2004-01-13 16:38 [Bug ada/13670] New: xnmake gets miscompiled during bootstrap with ada enabled aj at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-01-19 15:24 ` charlet at gcc dot gnu dot org
@ 2004-01-19 20:16 ` doko at cs dot tu-berlin dot de
  2004-01-19 22:30 ` charlet at act-europe dot fr
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: doko at cs dot tu-berlin dot de @ 2004-01-19 20:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From doko at cs dot tu-berlin dot de  2004-01-19 20:15 -------
Subject: Re:  [3.4/3.5 Regression] xnmake gets miscompiled during bootstrap with ada enabled

charlet at gcc dot gnu dot org writes:
> 
> ------- Additional Comments From charlet at gcc dot gnu dot org  2004-01-19 15:24 -------
> As for PR 13470, the work around is to use the generated files from
> another system.
> 
> The code generation has probably been around for some time, and only
> appeared recently because the auto-generated files were removed
> from CVS.
> 
> It may be good to include the auto-generated files in the official
> GCC 3.4.0 source tarball.

According to the changelog, these are:

2003-12-08  Arnaud Charlet  <charlet@act-europe.fr>

        * sinfo.h, einfo.h, nmake.ads, nmake.adb, treeprs.ads: Removed, since
        they are automatically generated by Make-lang.in and cause nothing but
        maintenance troubles.

Are there more files?


-- 


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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug ada/13670] [3.4/3.5 Regression] xnmake gets miscompiled during bootstrap with ada enabled
  2004-01-13 16:38 [Bug ada/13670] New: xnmake gets miscompiled during bootstrap with ada enabled aj at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-01-19 20:16 ` doko at cs dot tu-berlin dot de
@ 2004-01-19 22:30 ` charlet at act-europe dot fr
  2004-01-22 15:34 ` gianni at mariani dot ws
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: charlet at act-europe dot fr @ 2004-01-19 22:30 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From charlet at act-europe dot fr  2004-01-19 22:30 -------
Subject: Re:  [3.4/3.5 Regression] xnmake gets miscompiled during bootstrap with ada enabled

> According to the changelog, these are:
> 
> 2003-12-08  Arnaud Charlet  <charlet@act-europe.fr>
> 
>         * sinfo.h, einfo.h, nmake.ads, nmake.adb, treeprs.ads: Removed, since
>         they are automatically generated by Make-lang.in and cause nothing but
>         maintenance troubles.
> 
> Are there more files?

No, there are no more files.

Arno


-- 


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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug ada/13670] [3.4/3.5 Regression] xnmake gets miscompiled during bootstrap with ada enabled
  2004-01-13 16:38 [Bug ada/13670] New: xnmake gets miscompiled during bootstrap with ada enabled aj at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2004-01-19 22:30 ` charlet at act-europe dot fr
@ 2004-01-22 15:34 ` gianni at mariani dot ws
  2004-01-22 15:42 ` charlet at act-europe dot fr
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: gianni at mariani dot ws @ 2004-01-22 15:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gianni at mariani dot ws  2004-01-22 15:34 -------

I'm getting this build error on a Linux build using gcc 3.3.2 on RH9 - is this
the same problem ?

make[1]: Entering directory `/home/gianni/downloads/gcc/gcc-3.4-20040121-build/gcc'
mkdir -p ada/bldtools
cp -p ../../gcc-3.4-20040121/gcc/ada/sinfo.ads
../../gcc-3.4-20040121/gcc/ada/nmake.adt
../../gcc-3.4-20040121/gcc/ada/xnmake.adb ada/bldtools
(cd ada/bldtools; gnatmake -q xnmake ; ./xnmake -b ../nmake.adb )
fatal error, run-time library not installed correctly
cannot locate file system.ads
compilation abandoned
gnatmake: "xnmake.adb" compilation error
/bin/sh: line 1: ./xnmake: No such file or directory
make[1]: *** [ada/nmake.adb] Error 127
make[1]: Leaving directory `/home/gianni/downloads/gcc/gcc-3.4-20040121-build/gcc'



-- 


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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug ada/13670] [3.4/3.5 Regression] xnmake gets miscompiled during bootstrap with ada enabled
  2004-01-13 16:38 [Bug ada/13670] New: xnmake gets miscompiled during bootstrap with ada enabled aj at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2004-01-22 15:34 ` gianni at mariani dot ws
@ 2004-01-22 15:42 ` charlet at act-europe dot fr
  2004-01-25 23:06 ` pinskia at gcc dot gnu dot org
  2004-01-26 15:52 ` charlet at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: charlet at act-europe dot fr @ 2004-01-22 15:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From charlet at act-europe dot fr  2004-01-22 15:42 -------
Subject: Re:  [3.4/3.5 Regression] xnmake gets miscompiled during bootstrap with ada enabled

> I'm getting this build error on a Linux build using gcc 3.3.2 on RH9 - is this
> the same problem ?

No, this problem is most likely a set up issue. The default/system gnatmake is
apparently misconfigured/misinstalled.

Arno


-- 


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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug ada/13670] [3.4/3.5 Regression] xnmake gets miscompiled during bootstrap with ada enabled
  2004-01-13 16:38 [Bug ada/13670] New: xnmake gets miscompiled during bootstrap with ada enabled aj at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2004-01-22 15:42 ` charlet at act-europe dot fr
@ 2004-01-25 23:06 ` pinskia at gcc dot gnu dot org
  2004-01-26 15:52 ` charlet at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-25 23:06 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor
   List of versions|                            |3.3
      known to work|                            |


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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug ada/13670] [3.4/3.5 Regression] xnmake gets miscompiled during bootstrap with ada enabled
  2004-01-13 16:38 [Bug ada/13670] New: xnmake gets miscompiled during bootstrap with ada enabled aj at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2004-01-25 23:06 ` pinskia at gcc dot gnu dot org
@ 2004-01-26 15:52 ` charlet at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: charlet at gcc dot gnu dot org @ 2004-01-26 15:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From charlet at gcc dot gnu dot org  2004-01-26 15:52 -------
Same as PR 13470, so closing this one.

Arno

*** This bug has been marked as a duplicate of 13470 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2004-01-26 15:52 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-13 16:38 [Bug ada/13670] New: xnmake gets miscompiled during bootstrap with ada enabled aj at gcc dot gnu dot org
2004-01-13 16:56 ` [Bug ada/13670] [3.4 Regression] " pinskia at gcc dot gnu dot org
2004-01-19 13:14 ` [Bug ada/13670] [3.4/3.5 " debian-gcc at lists dot debian dot org
2004-01-19 13:15 ` debian-gcc at lists dot debian dot org
2004-01-19 15:24 ` charlet at gcc dot gnu dot org
2004-01-19 20:16 ` doko at cs dot tu-berlin dot de
2004-01-19 22:30 ` charlet at act-europe dot fr
2004-01-22 15:34 ` gianni at mariani dot ws
2004-01-22 15:42 ` charlet at act-europe dot fr
2004-01-25 23:06 ` pinskia at gcc dot gnu dot org
2004-01-26 15:52 ` charlet at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).