public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug pending/13168] New: [../../gnatchop] Segmentation fault
@ 2003-11-23 20:06 danglin at gcc dot gnu dot org
  2003-11-24 19:46 ` [Bug ada/13168] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: danglin at gcc dot gnu dot org @ 2003-11-23 20:06 UTC (permalink / raw)
  To: gcc-bugs

Since yesterday (11/22/03), building gnatlib and tools fails on hppa-linux with
the following error:

../../gnatmake -c -I../rts -I. -I/home/dave/gnu/gcc-3.4/gcc/gcc/ada gnatchop --G
CC="../../xgcc -B../../ -g      -gnatpg -gnata"
make[2]: *** [../../gnatchop] Segmentation fault (core dumped)
make[2]: Leaving directory `/home/dave/gnu/gcc-3.4/objdir/gcc/ada/tools'
make[1]: *** [gnattools2] Error 2
make[1]: Leaving directory `/home/dave/gnu/gcc-3.4/objdir/gcc/ada'
make: *** [gnattools] Error 2

-- 
           Summary: [../../gnatchop] Segmentation fault
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: pending
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: hppa-unknown-linux-gnu
  GCC host triplet: hppa-unknown-linux-gnu
GCC target triplet: hppa-unknown-linux-gnu


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


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

* [Bug ada/13168] [../../gnatchop] Segmentation fault
  2003-11-23 20:06 [Bug pending/13168] New: [../../gnatchop] Segmentation fault danglin at gcc dot gnu dot org
@ 2003-11-24 19:46 ` pinskia at gcc dot gnu dot org
  2003-11-24 20:41 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-24 19:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-24 19:46 -------
I think this was caused by using setjmp (instead of __builtin_setjmp) and not saving registers, can 
you try again as using __builtin_setjmp has been fixed?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
          Component|pending                     |ada
           Keywords|                            |build, wrong-code


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


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

* [Bug ada/13168] [../../gnatchop] Segmentation fault
  2003-11-23 20:06 [Bug pending/13168] New: [../../gnatchop] Segmentation fault danglin at gcc dot gnu dot org
  2003-11-24 19:46 ` [Bug ada/13168] " pinskia at gcc dot gnu dot org
@ 2003-11-24 20:41 ` dave at hiauly1 dot hia dot nrc dot ca
  2003-11-25  1:54 ` danglin at gcc dot gnu dot org
  2003-12-04  9:51 ` [Bug ada/13168] [3.4 Regresion] " pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2003-11-24 20:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2003-11-24 20:41 -------
Subject: Re:  [../../gnatchop] Segmentation fault

> ------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-24
> 19:46 -------
> I think this was caused by using setjmp (instead of __builtin_setjmp) and
> not saving registers, can 
> you try again as using __builtin_setjmp has been fixed?

Appears to be the case.  I have just determined that this patch
introduced the problem:

2003-11-20  James E Wilson  <wilson@specifixinc.com>

	PR c/13133
	* reload1.c (reload): Delete special handling for setjmp.

I've started a new build with the "setjmp" to "__builtin_setjmp" fix.

Dave


-- 


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


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

* [Bug ada/13168] [../../gnatchop] Segmentation fault
  2003-11-23 20:06 [Bug pending/13168] New: [../../gnatchop] Segmentation fault danglin at gcc dot gnu dot org
  2003-11-24 19:46 ` [Bug ada/13168] " pinskia at gcc dot gnu dot org
  2003-11-24 20:41 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2003-11-25  1:54 ` danglin at gcc dot gnu dot org
  2003-12-04  9:51 ` [Bug ada/13168] [3.4 Regresion] " pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: danglin at gcc dot gnu dot org @ 2003-11-25  1:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From danglin at gcc dot gnu dot org  2003-11-25 01:54 -------
Fixed by
<http://gcc.gnu.org/ml/gcc-patches/2003-11/msg01933.html>.

I'm assuming the problem was a jmpbuf overrun caused by using
setjmp instead of __builtin_setjmp.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug ada/13168] [3.4 Regresion] [../../gnatchop] Segmentation fault
  2003-11-23 20:06 [Bug pending/13168] New: [../../gnatchop] Segmentation fault danglin at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2003-11-25  1:54 ` danglin at gcc dot gnu dot org
@ 2003-12-04  9:51 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-04  9:51 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[../../gnatchop]            |[3.4 Regresion]
                   |Segmentation fault          |[../../gnatchop]
                   |                            |Segmentation fault
   Target Milestone|---                         |3.4


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


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

end of thread, other threads:[~2003-12-04  9:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-23 20:06 [Bug pending/13168] New: [../../gnatchop] Segmentation fault danglin at gcc dot gnu dot org
2003-11-24 19:46 ` [Bug ada/13168] " pinskia at gcc dot gnu dot org
2003-11-24 20:41 ` dave at hiauly1 dot hia dot nrc dot ca
2003-11-25  1:54 ` danglin at gcc dot gnu dot org
2003-12-04  9:51 ` [Bug ada/13168] [3.4 Regresion] " pinskia 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).