This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgcj/38396] [4.4 Regression] libgcj_bc for 4.3 and 4.4 are binary incompatible but have the same SONAME



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]