public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/24822]  New: make[2]: *** [ada/einfo.h] Error 1
@ 2005-11-12 16:51 danglin at gcc dot gnu dot org
  2005-12-12 14:52 ` [Bug ada/24822] " charlet at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: danglin at gcc dot gnu dot org @ 2005-11-12 16:51 UTC (permalink / raw)
  To: gcc-bugs

(cd ada/bldtools/sinfo; gnatmake -q xsinfo ; ./xsinfo ../../sinfo.h )
mkdir -p ada/bldtools/einfo
cp -p ../../gcc/gcc/ada/einfo.ads ../../gcc/gcc/ada/einfo.adb
../../gcc/gcc/ada/
xeinfo.adb ada/bldtools/einfo
(cd ada/bldtools/einfo; gnatmake -q xeinfo ; ./xeinfo ../../einfo.h )

raised STORAGE_ERROR : stack overflow or erroneous memory access
make[2]: *** [ada/einfo.h] Error 1

# gdb-6.3 xeinfo
GNU gdb 6.3
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 "hppa2.0w-hp-hpux11.11"...
(gdb) r ../../einfo.h
Starting program: /mnt/gnu/gcc-3.3/objdir/gcc/ada/bldtools/einfo/xeinfo
../../einfo.h

Program received signal SIGSEGV, Segmentation fault.
0x00060db8 in system__finalization_implementation__get_deep_controller ()
(gdb) disass 0x00060d98 0x00060dd8
Dump of assembler code from 0x60d98 to 0x60dd8:
0x00060d98 <system__finalization_implementation__detach_from_final_list+528>: 
copy r31,rp
0x00060d9c <system__finalization_implementation__detach_from_final_list+532>: 
b,l 0x22920 <ada__exceptions__reraise_occurrence_always>,rp
0x00060da0 <system__finalization_implementation__detach_from_final_list+536>: 
ldo -2f8(sp),r26
0x00060da4 <system__finalization_implementation__detach_from_final_list+540>: 
nop
0x00060da8 <system__finalization_implementation__get_deep_controller+0>:      
stw rp,-14(,sp)
0x00060dac <system__finalization_implementation__get_deep_controller+4>:      
stw,ma r4,40(,sp)
0x00060db0 <system__finalization_implementation__get_deep_controller+8>:      
copy r26,r4
0x00060db4 <system__finalization_implementation__get_deep_controller+12>:     
stw r3,-3c(,sp)
0x00060db8 <system__finalization_implementation__get_deep_controller+16>:     
ldw 0(,r26),r3
0x00060dbc <system__finalization_implementation__get_deep_controller+20>:     
b,l 0x2eef0 <ada__tags__get_rc_offset>,rp
0x00060dc0 <system__finalization_implementation__get_deep_controller+24>:     
copy r3,r26
---Type <return> to continue, or q <return> to quit---
0x00060dc4 <system__finalization_implementation__get_deep_controller+28>:     
cmpib,=,n -2,ret0,0x60dec
<system__finalization_implementation__get_deep_controller+68>
0x00060dc8 <system__finalization_implementation__get_deep_controller+32>:     
cmpib,= 0,ret0,0x60dd8
<system__finalization_implementation__get_deep_controller+48>
0x00060dcc <system__finalization_implementation__get_deep_controller+36>:     
ldi 0,r19
0x00060dd0 <system__finalization_implementation__get_deep_controller+40>:     
cmpib,>= 0,ret0,0x60e28
<system__finalization_implementation__get_deep_controller+128>
0x00060dd4 <system__finalization_implementation__get_deep_controller+44>:     
add,l r4,ret0,r19
End of assembler dump.
(gdb) p/x $r26
$1 = 0x0
(gdb) bt
#0  0x00060db8 in system__finalization_implementation__get_deep_controller ()
#1  0x00060f7c in system__finalization_implementation__deep_tag_attach ()
#2  0x00015594 in _ada_xeinfo ()
#3  0x0000f0dc in main ()

The segmentation fault is caused by
system__finalization_implementation__deep_tag_attach ()
calling system__finalization_implementation__get_deep_controller ()
with a zero first argument.

I used gcc 4.0.2 as the bootstrap compiler.  I believe that the error
doesn't occur when gcc-3.4.4 is used.


-- 
           Summary: make[2]: *** [ada/einfo.h] Error 1
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa*-*-hpux*
  GCC host triplet: hppa*-*-hpux*
GCC target triplet: hppa*-*-hpux*


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


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

* [Bug ada/24822] make[2]: *** [ada/einfo.h] Error 1
  2005-11-12 16:51 [Bug ada/24822] New: make[2]: *** [ada/einfo.h] Error 1 danglin at gcc dot gnu dot org
@ 2005-12-12 14:52 ` charlet at gcc dot gnu dot org
  2005-12-12 15:55 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: charlet at gcc dot gnu dot org @ 2005-12-12 14:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from charlet at gcc dot gnu dot org  2005-12-12 14:52 -------
Is this issue still present ?

If the issue is with the bootstrap compiler, there's not much we can do.

Arno


-- 

charlet at gcc dot gnu dot org changed:

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


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


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

* [Bug ada/24822] make[2]: *** [ada/einfo.h] Error 1
  2005-11-12 16:51 [Bug ada/24822] New: make[2]: *** [ada/einfo.h] Error 1 danglin at gcc dot gnu dot org
  2005-12-12 14:52 ` [Bug ada/24822] " charlet at gcc dot gnu dot org
@ 2005-12-12 15:55 ` dave at hiauly1 dot hia dot nrc dot ca
  2005-12-12 16:06 ` charlet at adacore dot com
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2005-12-12 15:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from dave at hiauly1 dot hia dot nrc dot ca  2005-12-12 15:55 -------
Subject: Re:  make[2]: *** [ada/einfo.h] Error 1

> Is this issue still present ?

I last retested a build with Ada enabled about a week ago and the
problem was still present.

> If the issue is with the bootstrap compiler, there's not much we can do.

Bootstrap compiler is GCC.  This doesn't occur on linux, but it
doesn't need the -mdisable-indexing hack.  I'll try to investigate
further.

Dave


-- 


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


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

* [Bug ada/24822] make[2]: *** [ada/einfo.h] Error 1
  2005-11-12 16:51 [Bug ada/24822] New: make[2]: *** [ada/einfo.h] Error 1 danglin at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-12-12 16:06 ` charlet at adacore dot com
@ 2005-12-12 16:06 ` charlet at gcc dot gnu dot org
  2005-12-12 16:08 ` charlet at adacore dot com
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: charlet at gcc dot gnu dot org @ 2005-12-12 16:06 UTC (permalink / raw)
  To: gcc-bugs



-- 

charlet at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-12-12 16:06:55
               date|                            |


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


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

* [Bug ada/24822] make[2]: *** [ada/einfo.h] Error 1
  2005-11-12 16:51 [Bug ada/24822] New: make[2]: *** [ada/einfo.h] Error 1 danglin at gcc dot gnu dot org
  2005-12-12 14:52 ` [Bug ada/24822] " charlet at gcc dot gnu dot org
  2005-12-12 15:55 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2005-12-12 16:06 ` charlet at adacore dot com
  2005-12-12 16:06 ` charlet at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: charlet at adacore dot com @ 2005-12-12 16:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from charlet at adacore dot com  2005-12-12 16:06 -------
Subject: Re:  make[2]: *** [ada/einfo.h] Error 1

> > If the issue is with the bootstrap compiler, there's not much we can do.
> 
> Bootstrap compiler is GCC.  This doesn't occur on linux, but it

Well sure, you can't bootstrap GNAT with anything else than GCC ;-)

Is this the same version of GCC ? Could you try with another version ?

> doesn't need the -mdisable-indexing hack.  I'll try to investigate
> further.

Thanks.

Arno


-- 


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


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

* [Bug ada/24822] make[2]: *** [ada/einfo.h] Error 1
  2005-11-12 16:51 [Bug ada/24822] New: make[2]: *** [ada/einfo.h] Error 1 danglin at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-12-12 16:06 ` charlet at gcc dot gnu dot org
@ 2005-12-12 16:08 ` charlet at adacore dot com
  2005-12-12 22:50 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: charlet at adacore dot com @ 2005-12-12 16:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from charlet at adacore dot com  2005-12-12 16:08 -------
Subject: Re:  make[2]: *** [ada/einfo.h] Error 1

>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|WAITING                     |NEW
>      Ever Confirmed|0                           |1
>    Last reconfirmed|0000-00-00 00:00:00         |2005-12-12 16:06:55
>                date|                            |

Well, I didn't want to confirm it (do not have the set up), I just
wanted to reopen the bug (as in, remove the "WAITING" state).

Anyway, no big deal.

Arno


-- 


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


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

* [Bug ada/24822] make[2]: *** [ada/einfo.h] Error 1
  2005-11-12 16:51 [Bug ada/24822] New: make[2]: *** [ada/einfo.h] Error 1 danglin at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2005-12-12 16:08 ` charlet at adacore dot com
@ 2005-12-12 22:50 ` dave at hiauly1 dot hia dot nrc dot ca
  2005-12-13  7:22 ` charlet at adacore dot com
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2005-12-12 22:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from dave at hiauly1 dot hia dot nrc dot ca  2005-12-12 22:50 -------
Subject: Re:  make[2]: *** [ada/einfo.h] Error 1

> > > If the issue is with the bootstrap compiler, there's not much we can do.
> > 
> > Bootstrap compiler is GCC.  This doesn't occur on linux, but it
> 
> Well sure, you can't bootstrap GNAT with anything else than GCC ;-)
> 
> Is this the same version of GCC ? Could you try with another version ?

The error doesn't occur with 3.4.4.  I have a build of 4.1.0 underway.
If the build is successful, I will install and test it to see if the
miscompilation is still present with 4.1.  There was a recent fix that
should make debugging easier.

Is GNAT still being maintained in the 4.0 branch?

Dave


-- 


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


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

* [Bug ada/24822] make[2]: *** [ada/einfo.h] Error 1
  2005-11-12 16:51 [Bug ada/24822] New: make[2]: *** [ada/einfo.h] Error 1 danglin at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2005-12-12 22:50 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2005-12-13  7:22 ` charlet at adacore dot com
  2006-02-05 18:09 ` danglin at gcc dot gnu dot org
  2006-03-08 15:27 ` charlet at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: charlet at adacore dot com @ 2005-12-13  7:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from charlet at adacore dot com  2005-12-13 07:22 -------
Subject: Re:  make[2]: *** [ada/einfo.h] Error 1

> Is GNAT still being maintained in the 4.0 branch?

Yes, although only critical changes go there (as you would expect for
a release branch).

Arno


-- 


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


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

* [Bug ada/24822] make[2]: *** [ada/einfo.h] Error 1
  2005-11-12 16:51 [Bug ada/24822] New: make[2]: *** [ada/einfo.h] Error 1 danglin at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2005-12-13  7:22 ` charlet at adacore dot com
@ 2006-02-05 18:09 ` danglin at gcc dot gnu dot org
  2006-03-08 15:27 ` charlet at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: danglin at gcc dot gnu dot org @ 2006-02-05 18:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from danglin at gcc dot gnu dot org  2006-02-05 18:08 -------
Still fails as of 2006-02-05 with 4.0.2 bootstrap.  Not present in 4.1.0
20060127 (prerelease).


-- 


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


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

* [Bug ada/24822] make[2]: *** [ada/einfo.h] Error 1
  2005-11-12 16:51 [Bug ada/24822] New: make[2]: *** [ada/einfo.h] Error 1 danglin at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2006-02-05 18:09 ` danglin at gcc dot gnu dot org
@ 2006-03-08 15:27 ` charlet at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: charlet at gcc dot gnu dot org @ 2006-03-08 15:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from charlet at gcc dot gnu dot org  2006-03-08 15:27 -------
Given that 4.1.0 has been released and issue is fixed there, closing this
PR.

Arno


-- 

charlet at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.1.0


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


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

end of thread, other threads:[~2006-03-08 15:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-12 16:51 [Bug ada/24822] New: make[2]: *** [ada/einfo.h] Error 1 danglin at gcc dot gnu dot org
2005-12-12 14:52 ` [Bug ada/24822] " charlet at gcc dot gnu dot org
2005-12-12 15:55 ` dave at hiauly1 dot hia dot nrc dot ca
2005-12-12 16:06 ` charlet at adacore dot com
2005-12-12 16:06 ` charlet at gcc dot gnu dot org
2005-12-12 16:08 ` charlet at adacore dot com
2005-12-12 22:50 ` dave at hiauly1 dot hia dot nrc dot ca
2005-12-13  7:22 ` charlet at adacore dot com
2006-02-05 18:09 ` danglin at gcc dot gnu dot org
2006-03-08 15:27 ` 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).