Segfault with trivial SWT snippet

Mark Wielaard mark@klomp.org
Tue Nov 13 12:26:00 GMT 2007


On Tue, 2007-11-13 at 11:33 +0000, Andrew Haley wrote:
>  > Anyone have any ideas for how I might debug this situation further?
>  > 
>  > If anyone could try to replicate this, then success or failure reports
>  > from that might be very useful.
> 
> Try compiling with -findirect-dispatch -fpic.

And since swt uses JNI for its native bindings, you might also need to
add -fjni.

Cheers,

Mark



More information about the Java mailing list