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

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 gcc dot gnu dot org
2005-12-12 16:06 ` charlet at adacore dot com
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).