public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: java/7837: Throwing an exception aborts
@ 2002-09-05 8:46 Tom Tromey
0 siblings, 0 replies; 4+ messages in thread
From: Tom Tromey @ 2002-09-05 8:46 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR java/7837; it has been noted by GNATS.
From: Tom Tromey <tromey@redhat.com>
To: greenrd@hotmail.com
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: java/7837: Throwing an exception aborts
Date: 05 Sep 2002 09:43:49 -0600
>>>>> ">" == greenrd <greenrd@hotmail.com> writes:
>> Synopsis: Throwing an exception aborts
>> Release: 3.2
>> Even a very simple program which throws an exception, aborts when
>> compiled with gcj 3.2 and run. gcj 3.0 works fine.
This probably means you need a newer binutils.
I don't exactly what changed here, but I've seen this behavior too.
Upgrading binutils lets gcc-generated code work again.
Once you upgrade binutils you'll need to rebuild gcc from scratch.
Tom
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: java/7837: Throwing an exception aborts
@ 2002-09-05 10:29 tromey
0 siblings, 0 replies; 4+ messages in thread
From: tromey @ 2002-09-05 10:29 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, greenrd, java-prs, nobody, tromey
Synopsis: Throwing an exception aborts
Responsible-Changed-From-To: unassigned->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Thu Sep 5 10:29:45 2002
Responsible-Changed-Why:
I'm handling this
State-Changed-From-To: open->closed
State-Changed-By: tromey
State-Changed-When: Thu Sep 5 10:29:45 2002
State-Changed-Why:
Closed per reporter's request.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7837
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: java/7837: Throwing an exception aborts
@ 2002-09-05 10:26 Robin Green
0 siblings, 0 replies; 4+ messages in thread
From: Robin Green @ 2002-09-05 10:26 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR java/7837; it has been noted by GNATS.
From: "Robin Green" <greenrd@hotmail.com>
To: tromey@redhat.com
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: java/7837: Throwing an exception aborts
Date: Thu, 05 Sep 2002 18:19:52 +0100
Oops. It was caused by mixing RPMS from different packagers - very unwise of
me! Please close this bug as invalid.
--
Robin
Tom Tromey <tromey@redhat.com> wrote:
> >>>>> ">" == greenrd <greenrd@hotmail.com> writes:
>
> >> Synopsis: Throwing an exception aborts
> >> Release: 3.2
>
> >> Even a very simple program which throws an exception, aborts when
> >> compiled with gcj 3.2 and run. gcj 3.0 works fine.
>
>This probably means you need a newer binutils.
>I don't exactly what changed here, but I've seen this behavior too.
>Upgrading binutils lets gcc-generated code work again.
>
>Once you upgrade binutils you'll need to rebuild gcc from scratch.
>
>Tom
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
^ permalink raw reply [flat|nested] 4+ messages in thread
* java/7837: Throwing an exception aborts
@ 2002-09-05 7:16 greenrd
0 siblings, 0 replies; 4+ messages in thread
From: greenrd @ 2002-09-05 7:16 UTC (permalink / raw)
To: gcc-gnats
>Number: 7837
>Category: java
>Synopsis: Throwing an exception aborts
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Sep 05 07:16:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: greenrd@hotmail.com
>Release: 3.2
>Organization:
>Environment:
Red Hat Rawhide
>Description:
Even a very simple program which throws an exception, aborts when compiled with gcj 3.2 and run. gcj 3.0 works fine.
import java.io.EOFException;
public class EOF {
public static void main (String args []) throws Exception {
try {
throw new EOFException ();
}
catch (Exception ex) {
System.out.println ("Hello!");
}
}
}
>How-To-Repeat:
gcj -o eof -pipe --main=EOF EOF.java
./eof
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-09-05 17:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-05 8:46 java/7837: Throwing an exception aborts Tom Tromey
-- strict thread matches above, loose matches on Subject: below --
2002-09-05 10:29 tromey
2002-09-05 10:26 Robin Green
2002-09-05 7:16 greenrd
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).