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: "rguenther at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 10 Dec 2008 12:33:29 -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 #13 from rguenther at suse dot de 2008-12-10 12:33 -------
Subject: Re: [4.4 Regression] libgcj_bc for 4.3 and 4.4
are binary incompatible but have the same SONAME
On Wed, 10 Dec 2008, aph at gcc dot gnu dot org wrote:
> ------- Comment #12 from aph at gcc dot gnu dot org 2008-12-10 12:17 -------
> Look at the exported symbols in the old version of libgcj_bc.so.
>
> Make sure that these symbols are exported:
>
> _Jv_JNI_PopSystemFrame
> _Jv_LookupInterfaceMethod
> _Jv_MonitorExit
> _Jv_RegisterResource
readelf -s libgcj_bc.so | grep
'_Jv_RegisterResource\|_Jv_JNI_PopSystemFrame\|_Jv_LookupInterfaceMethod\|_Jv_MonitorExit'
43: 0000000000001330 2 FUNC GLOBAL DEFAULT 12
_Jv_LookupInterfaceMethod
so only _Jv_LookupInterfaceMethod is there. But they are all provided by
both libgcj.so.9 and libgcj.so.10 (which is what /usr/lib64/libgcj_bc.so.1
links to). The libgcj_bc.so is in /usr/lib64/gcc/x86_64-suse-linux/4.3
and thus only used if you link with gcj 4.3.
Richard.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38396