Enable DWARF2 exceptions on Alpha?

Andrew Haley aph@cambridge.redhat.com
Mon May 21 10:55:00 GMT 2001


Jeff Sturm writes:
 > 
 > 
 > On Mon, 21 May 2001, Andrew Haley wrote:
 > > 
 > >         * configure.host: Use sjlj-exceptions for Alpha.
 > > 
 > > Which should it be, really?  I'm trying to bring both into line.
 > 
 > I honestly don't know with the new EH.  Previously the alpha port needed
 > sjlj-exceptions for signal handling.  I guess that the new implementation
 > allows `throw' within a handler without special tricks?

Yes, it does.  I haven't tried.  I need to find an Alpha that I can
use for testing.

 > >From a quick glance, it looks like the setting in configure.host no longer
 > does anything useful.  Sjlj must be enabled or disabled when gcc is
 > configured, and cannot be arbitrarily changed in libgcj, right?

Yes, that's true.

 > Since the merge I haven't been able to test either alpha-linux or
 > sparc-solaris since both are failing miserably.  I haven't looked
 > carefully at the new EH.  I don't know if anyone is looking at these, and
 > I have neither the time nor expertise to do much about it right now :(

Okay, I understand.  What I was trying to determine was whether there
was some special reason that the branch and the trunk were different.

If you look at the PPC changes I just checked in, you'll see a new
file called include/dwarf2-signal.h.  I believe that if sjlj is turned
off and this file is used to catch signals the Alpha should work in
exactly the same way as the PPC.

Andrew.



More information about the Java mailing list