public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/16986] New: GNAT ICE during make -C gcc gnatlib cross-gnattools ada.all.cross
@ 2004-08-11 17:26 fdragon at fdragon dot org
  2004-08-11 17:29 ` [Bug bootstrap/16986] " fdragon at fdragon dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: fdragon at fdragon dot org @ 2004-08-11 17:26 UTC (permalink / raw)
  To: gcc-bugs

Trying to build cross compiler for sparc64-unknown-linux-gnu from
i386-unknown-linux-gnu on Slackware 10 using GCC 3.4.1 as host compiler. During
compilation of the gnatlib the following error is thrown. This appears to be
related to PR 11354. The workaround mentioned of using -O instead of the default
-O2 here will allow the compile to finish.

../../xgcc -B../../ -c -g -O2      -W -Wall -gnatpg  a-nscefu.ads -o a-nscefu.o
+===========================GNAT BUG DETECTED==============================+
| 3.4.1 (sparc64-unknown-linux-gnu) Storage_Error stack overflow (or erroneous
memory access)|
| Error detected at s-fatgen.adb:43:1 [s-fatsfl.ads:47:4]                  |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| Include the entire contents of this bug box in the report.               |
| Include the exact gcc or gnatmake command that you entered.              |
| Also include sources listed below in gnatchop format                     |
| (concatenated together with no headers between files).                   |
+==========================================================================+

-- 
           Summary: GNAT ICE during make -C gcc gnatlib cross-gnattools
                    ada.all.cross
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fdragon at fdragon dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i386-unknown-linux-gnu
  GCC host triplet: i386-unknown-linux-gnu
GCC target triplet: sparc64-unknown-linux-gnu


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


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

* [Bug bootstrap/16986] GNAT ICE during make -C gcc gnatlib cross-gnattools ada.all.cross
  2004-08-11 17:26 [Bug bootstrap/16986] New: GNAT ICE during make -C gcc gnatlib cross-gnattools ada.all.cross fdragon at fdragon dot org
@ 2004-08-11 17:29 ` fdragon at fdragon dot org
  2004-08-11 17:56 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: fdragon at fdragon dot org @ 2004-08-11 17:29 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fdragon at fdragon dot org  2004-08-11 17:29 -------
Exact configuration line used is as follows (taken from config.status) :

../gcc/configure  --prefix=/home/fdragon/cross/sparc64
--host=i486-host_slackware-linux-gnu --build=i486-host_slackware-linux-gnu
--target=sparc64-unknown-linux-gnu
--with-local-prefix=/home/fdragon/cross/sparc64/sparc64-unknown-linux-gnu/sys-root
--with-cpu=ultrasparc --with-tune=ultrasparc --without-newlib --disable-nls
--enable-symvers=gnu --enable-__cxa_atexit --enable-threads=posix
--enable-shared --disable-multilib --enable-long-long --enable-c99 
--with-gnu-as --with-gnu-ld
--with-sysroot=/home/fdragon/cross/sparc64/sparc64-unknown-linux-gnu/sys-root
--with-gcc-version-trigger=/home/fdragon/cross/src/gcc/gcc/version.c

-- 


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


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

* [Bug bootstrap/16986] GNAT ICE during make -C gcc gnatlib cross-gnattools ada.all.cross
  2004-08-11 17:26 [Bug bootstrap/16986] New: GNAT ICE during make -C gcc gnatlib cross-gnattools ada.all.cross fdragon at fdragon dot org
  2004-08-11 17:29 ` [Bug bootstrap/16986] " fdragon at fdragon dot org
@ 2004-08-11 17:56 ` pinskia at gcc dot gnu dot org
  2004-08-13  9:31 ` ebotcazou at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-11 17:56 UTC (permalink / raw)
  To: gcc-bugs



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


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


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

* [Bug bootstrap/16986] GNAT ICE during make -C gcc gnatlib cross-gnattools ada.all.cross
  2004-08-11 17:26 [Bug bootstrap/16986] New: GNAT ICE during make -C gcc gnatlib cross-gnattools ada.all.cross fdragon at fdragon dot org
  2004-08-11 17:29 ` [Bug bootstrap/16986] " fdragon at fdragon dot org
  2004-08-11 17:56 ` pinskia at gcc dot gnu dot org
@ 2004-08-13  9:31 ` ebotcazou at gcc dot gnu dot org
  2004-10-01 12:21 ` ebotcazou at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-08-13  9:31 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org


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


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

* [Bug bootstrap/16986] GNAT ICE during make -C gcc gnatlib cross-gnattools ada.all.cross
  2004-08-11 17:26 [Bug bootstrap/16986] New: GNAT ICE during make -C gcc gnatlib cross-gnattools ada.all.cross fdragon at fdragon dot org
                   ` (2 preceding siblings ...)
  2004-08-13  9:31 ` ebotcazou at gcc dot gnu dot org
@ 2004-10-01 12:21 ` ebotcazou at gcc dot gnu dot org
  2004-10-01 14:45 ` ebotcazou at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-10-01 12:21 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-10-01 12:21 -------
I can't reproduce with gcc version 3.4.3 20040927 (prerelease) using GNAT 3.15p
as the host compiler.  What command line did you use to build the cross-compiler?


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug bootstrap/16986] GNAT ICE during make -C gcc gnatlib cross-gnattools ada.all.cross
  2004-08-11 17:26 [Bug bootstrap/16986] New: GNAT ICE during make -C gcc gnatlib cross-gnattools ada.all.cross fdragon at fdragon dot org
                   ` (3 preceding siblings ...)
  2004-10-01 12:21 ` ebotcazou at gcc dot gnu dot org
@ 2004-10-01 14:45 ` ebotcazou at gcc dot gnu dot org
  2004-10-01 16:59 ` [Bug rtl-optimization/16986] ICE during make -C gcc gnatlib fdragon at fdragon dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-10-01 14:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-10-01 14:44 -------
I can't reproduce either with gcc version 3.4.3 20040927 (prerelease) using self
as host compiler, compiled with 'make' (i.e with CFLAGS="-g -O2").


-- 


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


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

* [Bug rtl-optimization/16986] ICE during make -C gcc gnatlib
  2004-08-11 17:26 [Bug bootstrap/16986] New: GNAT ICE during make -C gcc gnatlib cross-gnattools ada.all.cross fdragon at fdragon dot org
                   ` (4 preceding siblings ...)
  2004-10-01 14:45 ` ebotcazou at gcc dot gnu dot org
@ 2004-10-01 16:59 ` fdragon at fdragon dot org
  2004-10-01 20:57 ` ebotcazou at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: fdragon at fdragon dot org @ 2004-10-01 16:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fdragon at fdragon dot org  2004-10-01 16:59 -------
Error is with no CFLAGS environment variables set.

I can build everything except the one file mentioned using "make -k -C gcc
gnatlib cross-gnattools ada.all.cross", and build everything via "make
GNATLIBCFLAGS=-O -C gcc gnatlib cross-gnattools ada.all.cross".

Currently attempting GCC 3.4.2. Will try GNAT-3.15p as suggested for a bootstrap
compiler.

-- 


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


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

* [Bug rtl-optimization/16986] ICE during make -C gcc gnatlib
  2004-08-11 17:26 [Bug bootstrap/16986] New: GNAT ICE during make -C gcc gnatlib cross-gnattools ada.all.cross fdragon at fdragon dot org
                   ` (5 preceding siblings ...)
  2004-10-01 16:59 ` [Bug rtl-optimization/16986] ICE during make -C gcc gnatlib fdragon at fdragon dot org
@ 2004-10-01 20:57 ` ebotcazou at gcc dot gnu dot org
  2004-10-04  0:56 ` fdragon at fdragon dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-10-01 20:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-10-01 20:57 -------
> I can build everything except the one file mentioned using "make -k -C gcc
> gnatlib cross-gnattools ada.all.cross", and build everything via "make
> GNATLIBCFLAGS=-O -C gcc gnatlib cross-gnattools ada.all.cross".

OK.

> Currently attempting GCC 3.4.2. Will try GNAT-3.15p as suggested for a
> bootstrap compiler.

Thanks for your help.  I'm really willing to squash the bug and this will
obviously be easier if it has already been fixed :-)

-- 


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


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

* [Bug rtl-optimization/16986] ICE during make -C gcc gnatlib
  2004-08-11 17:26 [Bug bootstrap/16986] New: GNAT ICE during make -C gcc gnatlib cross-gnattools ada.all.cross fdragon at fdragon dot org
                   ` (6 preceding siblings ...)
  2004-10-01 20:57 ` ebotcazou at gcc dot gnu dot org
@ 2004-10-04  0:56 ` fdragon at fdragon dot org
  2004-10-04  0:59 ` pinskia at gcc dot gnu dot org
  2004-11-14 11:57 ` ebotcazou at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: fdragon at fdragon dot org @ 2004-10-04  0:56 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fdragon at fdragon dot org  2004-10-04 00:56 -------
Using no CFLAGS, GCC 3.4.2 I was able to get a working i386 to sparc64 ada compiler.

CentOS 3.3, binutils 2.15.91.0.2 installed as native, gcc 3.4.2 installed as
native. Crosstool 0.28rc36 was used to create the initial i386 to sparc64 cross
compiler. Was able to build the ada compiler.

CFLAGS was set to -O2 for the build.

GCC 3.2.3 shiped in CentOS 3.3 is unable to build the cross gnattools, regular
gnattools and gnatlib build just fine.

My vote is for closing it as it appears that GCC 3.4.2 included a fix for the
problem that I am experiencing.

-- 


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


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

* [Bug rtl-optimization/16986] ICE during make -C gcc gnatlib
  2004-08-11 17:26 [Bug bootstrap/16986] New: GNAT ICE during make -C gcc gnatlib cross-gnattools ada.all.cross fdragon at fdragon dot org
                   ` (7 preceding siblings ...)
  2004-10-04  0:56 ` fdragon at fdragon dot org
@ 2004-10-04  0:59 ` pinskia at gcc dot gnu dot org
  2004-11-14 11:57 ` ebotcazou at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-04  0:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-04 00:59 -------
So closing as fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |3.4.2


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


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

* [Bug rtl-optimization/16986] ICE during make -C gcc gnatlib
  2004-08-11 17:26 [Bug bootstrap/16986] New: GNAT ICE during make -C gcc gnatlib cross-gnattools ada.all.cross fdragon at fdragon dot org
                   ` (8 preceding siblings ...)
  2004-10-04  0:59 ` pinskia at gcc dot gnu dot org
@ 2004-11-14 11:57 ` ebotcazou at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-11-14 11:57 UTC (permalink / raw)
  To: gcc-bugs



-- 
Bug 16986 depends on bug 16503, which changed state.

Bug 16503 Summary: ICE during make -C gcc gnatlib
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16503

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED

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


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

end of thread, other threads:[~2004-11-14 11:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-11 17:26 [Bug bootstrap/16986] New: GNAT ICE during make -C gcc gnatlib cross-gnattools ada.all.cross fdragon at fdragon dot org
2004-08-11 17:29 ` [Bug bootstrap/16986] " fdragon at fdragon dot org
2004-08-11 17:56 ` pinskia at gcc dot gnu dot org
2004-08-13  9:31 ` ebotcazou at gcc dot gnu dot org
2004-10-01 12:21 ` ebotcazou at gcc dot gnu dot org
2004-10-01 14:45 ` ebotcazou at gcc dot gnu dot org
2004-10-01 16:59 ` [Bug rtl-optimization/16986] ICE during make -C gcc gnatlib fdragon at fdragon dot org
2004-10-01 20:57 ` ebotcazou at gcc dot gnu dot org
2004-10-04  0:56 ` fdragon at fdragon dot org
2004-10-04  0:59 ` pinskia at gcc dot gnu dot org
2004-11-14 11:57 ` ebotcazou 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).