This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java 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 java/37068] New: [4.4 Regression] libgcj linkage failure: Incorrect library ABI version detected


Executing on host:
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libjava/testsuite/
../libtool --silent --tag=GCJ --mode=link /test/gnu/gcc/objdir/gcc/gcj
-B/test/g
nu/gcc/objdir/hppa2.0w-hp-hpux11.11/libjava/ -B/test/gnu/gcc/objdir/gcc/
--encod
ing=UTF-8 -B/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libjava/testsuite/../
/te
st/gnu/gcc/gcc/libjava/testsuite/libjava.cni/PR9577.jar natPR9577.o  -w 
-no-ins
tall --main=PR9577 -g 
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libjava/.l
ibs -lm   -o PR9577    (timeout = 300)
PASS: linking PR9577
set_ld_library_path_env_vars:
ld_library_path=.:/test/gnu/gcc/objdir/hppa2.0w-hp
-hpux11.11/./libjava/.libs
Setting LD_LIBRARY_PATH to
.:/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libjav
a/.libs:.:/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libjava/.libs
libgcj failure: gcj linkage error.
Incorrect library ABI version detected.  Aborting.

FAIL: PR9577 run

This error breaks most gcj tests.  See
<http://gcc.gnu.org/ml/gcc-testresults/2008-08/msg00893.html>.  See
<http://gcc.gnu.org/ml/gcc-testresults/2008-08/msg00807.html> for results
from the previous revision.

-bash-3.2$ ./xgcc -B. -v
Reading specs from ./specs
Target: hppa2.0w-hp-hpux11.11
Configured with: ../gcc/configure --with-gnu-as --with-as=/opt/gnu/bin/as
--enable-shared --disable-nls --with-local-prefix=/opt/gnu
--prefix=/opt/gnu/gcc/gcc-4.4.0 --enable-debug=no --enable-threads=posix
--with-mpfr=/opt/gnu/gcc/gcc-4.4.0 --with-gmp=/opt/gnu/gcc/gcc-4.3.0
--disable-libmudflap --enable-languages=c++,java
Thread model: posix
gcc version 4.4.0 20080715 (experimental) [trunk revision 137834] (GCC) 

The bug was introduced by the following change:

2008-07-15  Jan Hubicka  <jh@suse.cz>

        * lang.c (java_init_options): Enable unit-at-a-time by default.

So, presumably this change has broken reading the library ABI information.


-- 
           Summary: [4.4 Regression] libgcj linkage failure: Incorrect
                    library ABI version detected
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa2.0w-hp-hpux11.11
  GCC host triplet: hppa2.0w-hp-hpux11.11
GCC target triplet: hppa2.0w-hp-hpux11.11


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37068


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