This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug libgcj/38396] [4.4 Regression] libgcj_bc for 4.3 and 4.4 are binary incompatible but have the same SONAME
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 10 Dec 2008 11:14:22 -0000
- Subject: [Bug libgcj/38396] [4.4 Regression] libgcj_bc for 4.3 and 4.4 are binary incompatible but have the same SONAME
- References: <bug-38396-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from jakub at gcc dot gnu dot org 2008-12-10 11:14 -------
libgcj_bc.so is a dummy shared library, which is meant for ld(1) only and
provides just a subset of libgcj.so symbols that are for -findirect-dispatch
only and aren't changing ABI.
libgcj_bc.so.1 is supposed to be a small library with just DT_NEEDED
libgcj.so.LATEST and DT_SONAME libgcj_bc.so.1, providing no symbols at all.
-findirect-dispatch programs link just against -lgcj_bc, not -lgcj and thus can
be used against any libjava version that provides libgcj_bc.so.1.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38396