Are non-SJLJ exceptions busted on linux/x86?

David Daney ddaney@avtrex.com
Thu Nov 17 21:55:00 GMT 2005


Scott Gilbertson wrote:
>>dwarf2 exceptions are only ever required to work with dynamic linking as
>>there needs to be only one unwind functions and data.
>>> I'm not sure I understand what you're saying. Do you mean "the unwind
> mechanism now only works with dynamic linking, because that makes the code
> simpler"?
>
I think Pinski's assertion may be false. The dwarf2 unwinder used to 
work fine with static linking. Any regression from this behavior is 
clearly a bug.
And by static linking here, I am talking about libgcj only. I have no 
idea about what happens with statically linking everything (including 
glibc). The dwarf2 unwinder uses parts of the runtime linker to find 
the unwinding tables. If the runtime linker is not available then it 
might not work.
If you have a small stand alone test case, create a PR for it. I think 
it likely that someone would then fix it in short order.
David Daney


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /