This is the mail archive of the java@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]
Other format: [Raw text]

Re: Natively compiled SWT segfaults under Windows


-----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-----


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