[Bug java/41372] Symbols in shared library compiled from jar/classes should not be local with -findirect-dispatch

aph at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Oct 19 08:55:00 GMT 2009



------- Comment #1 from aph at gcc dot gnu dot org  2009-10-19 08:55 -------
This is a deliberate design decision.

If you really need to refer to classes with dlsym, use -fno-indirect-classes.
However, this has a number of restrictions: in particular it fixes the ABI
to the specific libgcj that was used at compile time, thus requiring
recompilation every time libgcj is updated.


-- 

aph at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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



More information about the Java-prs mailing list