This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Alpha & sjlj-exceptions
- To: tromey at redhat dot com
- Subject: Re: Alpha & sjlj-exceptions
- From: Jeff Sturm <jeff dot sturm at appnet dot com>
- Date: Sat, 03 Feb 2001 15:13:33 -0500
- CC: java at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Organization: Commerce One
- References: <3A7B4913.CF52E82E@commerceone.com> <878znn8sx6.fsf@creche.redhat.com>
- Reply-To: jeff dot sturm at commerceone dot com
Tom Tromey wrote:
>
> >>>>> "Jeff" == Jeff Sturm <jeff.sturm@commerceone.com> writes:
>
> Jeff> I forgot to mention, I couldn't get exceptions to work on my
> Jeff> alpha-linux build, so I had to revert to sjlj-exceptions in my
> Jeff> local tree. That could be part of the reason some of you are
> Jeff> having trouble on alpha.
>
> Is this a problem just with Java or does it happen with C++ too?
Hmm... good question. Judging from gcc-testresults, there may be a
problem:
FAIL: g++.eh/badalloc1.C Execution test
> Unless non-sjlj (what are they called, anyway?) exceptions are
> supposed to work, I think we should change things so that sjlj
> exceptions are chosen by default for the alpha.
Agreed. Besides, we don't have a java-signal.h for Alpha, so how could
it work?
> That's as easy as changing libjava/configure.host.
Here's a patch:
2000-02-03 Jeff Sturm <jeff.sturm@commerceone.com>
* configure.host: Use sjlj-exceptions for Alpha.
Index: configure.host
===================================================================
RCS file: /cvs/gcc/gcc/libjava/configure.host,v
retrieving revision 1.13
diff -u -r1.13 configure.host
--- configure.host 2000/12/11 02:30:14 1.13
+++ configure.host 2001/02/03 20:11:21
@@ -66,6 +66,7 @@
;;
alpha*-*)
libgcj_interpreter=yes
+ libgcj_sjlj=yes
;;
sparc-*)
;;