This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/38396] [4.4 Regression] libgcj_bc for 4.3 and 4.4 are binary incompatible but have the same SONAME
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Dec 2008 10:35:00 -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 #1 from rguenth at gcc dot gnu dot org 2008-12-10 10:35 -------
Testcase (any java program does)
class HelloWorld {
public static void main(String[] args) {
String message="Hallo World!";
System.out.println(message);
}
}
if you install libgcj_bc from GCC 4.4 (that is, symlink
/usr/lib*/libgcj_bc.so.1
to /usr/lib*/libgcj.so.10 which is from GCC 4.4) then the link fails as
specified, with or without -findirect-dispatch. This works fine for
GCC 4.2 vs. GCC 4.3.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|libgcj_bc for 4.3 and 4.4 |[4.4 Regression] libgcj_bc
|are binary incompatible but |for 4.3 and 4.4 are binary
|have the same SONAME |incompatible but have the
| |same SONAME
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38396