public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/29477] [SJLJ EH] JNI broken with certain libs
       [not found] <bug-29477-13027@http.gcc.gnu.org/bugzilla/>
@ 2007-02-24  9:04 ` mtrudel at gmx dot ch
  0 siblings, 0 replies; only message in thread
From: mtrudel at gmx dot ch @ 2007-02-24  9:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from mtrudel at gmx dot ch  2007-02-24 09:04 -------
The problem is that the new SJLJ backtrace algorithm depends on the typical
function entry sequence "pushl %ebp; movl %esp, %ebp". But while they're always
in our compiled Java code, they are mostly optimized away in JNI libs.
Microsoft Visual C++ mostly removes them in optimization mode -Og (and -Ox
which includes -Og), GCC seems to sometimes remove them in -O2 -O3 and -Os
mode. I think -fno-omit-frame-pointer keeps them for GCC, but I didn't test it.

I think this won't be fixed and we just wait until DWARF EH is finally
available for mingw. Should be soon since it already exists but has not yet
been approved/committed.


-- 

mtrudel at gmx dot ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[MinGW] JNI broken with     |[SJLJ EH] JNI broken with
                   |certain libs                |certain libs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29477


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-24  9:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-29477-13027@http.gcc.gnu.org/bugzilla/>
2007-02-24  9:04 ` [Bug libgcj/29477] [SJLJ EH] JNI broken with certain libs mtrudel at gmx dot ch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).