This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Alpha & sjlj-exceptions


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-*)
         ;;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]