This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/41372] Symbols in shared library compiled from jar/classes should not be local with -findirect-dispatch
- From: "aph at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 19 Oct 2009 08:55:56 -0000
- Subject: [Bug java/41372] Symbols in shared library compiled from jar/classes should not be local with -findirect-dispatch
- References: <bug-41372-6649@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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