Natively compiled SWT segfaults under Windows

Ranjit Mathew rmathew@gmail.com
Tue Aug 15 16:10:00 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Olivier Parisy wrote:
>> The current stack-unwinding code for GCJ/Win32 assumes that
>> all code is compiled to use frame pointers to link together
>> call frames on the stack. I suspect that the SWT code has
>> not been compiled thus (i.e. using -fno-omit-frame-pointer).
>>> Should I only compile java code (and the SWT jar) with this flag, or 
> should the dll be rebuilt with those frame pointers, too?

If you're using a recent GCJ/Win32, -fno-omit-frame-pointer is
already used while compiling Java to native code.
You should compile the native code (SWT DLL) also with frame
pointers enabled.
Thanks,
Ranjit.
- --
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://rmathew.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFE4fHGYb1hx2wRS48RAi0TAJ4tTOZ71zIa7oGIRDuZm5PN8kc6vwCfT7UZ
+LWSlNRzomWHf9L4g33yW8g=
=QEV1
-----END PGP SIGNATURE-----


More information about the Java mailing list

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