bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16275: [GNU Libtool 2.4.2] testsuite: 37 115 failed


From: Roumen Petrov
Subject: bug#16275: [GNU Libtool 2.4.2] testsuite: 37 115 failed
Date: Sun, 19 Jan 2014 14:03:48 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 SeaMonkey/2.23

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]