GNU bug report logs -
#16275
[GNU Libtool 2.4.2] testsuite: 37 115 failed
Previous Next
Full log
View this message in rfc822 format
Hi,
rachaputi charanteja wrote:
> Hi,
> I followed the process of the libtool installation
> i have attached the bug report below
> Please send me the update of the fix for these bugs
quote from log:
-----
./convenience.at:267: $LIBTOOL --tag=GCJ --mode=link $GCJ $GCJFLAGS $LDFLAGS -o liba12.la liba1.la liba2.la -rpath /notexist
stderr:
./.libs/liba2.a(A2.o):(.rodata+0x0): multiple definition of `java resource .dummy'
./.libs/liba1.a(A1.o):(.rodata+0x0): first defined here
collect2: error: ld returned 1 exit status
stdout:
libtool: link: gcj -shared -fPIC -Wl,--whole-archive ./.libs/liba1.a ./.libs/liba2.a -Wl,--no-whole-archive -O2 -Wl,-soname -Wl,liba12.so.0 -o .libs/liba12.so.0.0.0
./convenience.at:267: exit code was 1, expected 0
37. convenience.at:230: 37. Java convenience archives (convenience.at:230): FAILED (convenience.at:267)
------
Above is not libtool defect. It is failure in gcj package - the file ecj.jar . Also see gcc issue 42143.
It fail with ecj version v4.5 , downgrade to 4.3 shoud resolve issue for gcj before 4.8.
I don't know work around for 4.8x where new error is raised :
-----
.../tests/duplicate_conv.at:83: $LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -o cee.$OBJEXT c.lo a/liba.la b/liba.la
stderr:
.../bin/ld: unrecognized option '-Wl,--whole-archive'
.../bin/ld: use the --help option for usage information
-----
May be best solution is libtool to disable GCJ tests by default. It seems to me gnu java does not work for all 4.* versions.
This is reasons to test libtool with environment variable GCJ set to no.
Regards,
Roumen
This bug report was last modified 11 years and 157 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.