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

Previous Next

Package: libtool;

Reported by: rachaputi charanteja <rachaputicharan <at> gmail.com>

Date: Sat, 28 Dec 2013 07:18:02 UTC

Severity: normal

To reply to this bug, email your comments to 16275 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-libtool <at> gnu.org:
bug#16275; Package libtool. (Sat, 28 Dec 2013 07:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to rachaputi charanteja <rachaputicharan <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-libtool <at> gnu.org. (Sat, 28 Dec 2013 07:18:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: rachaputi charanteja <rachaputicharan <at> gmail.com>
To: bug-libtool <at> gnu.org
Subject: [GNU Libtool 2.4.2] testsuite: 37 115 failed
Date: Sat, 28 Dec 2013 11:05:01 +0530
[Message part 1 (text/plain, inline)]
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

thanks and regards
R charan teja
Freelancer
Hyderabad
[Message part 2 (text/html, inline)]
[testsuite.log (text/x-log, attachment)]

Information forwarded to bug-libtool <at> gnu.org:
bug#16275; Package libtool. (Sun, 19 Jan 2014 12:04:01 GMT) Full text and rfc822 format available.

Message #8 received at 16275 <at> debbugs.gnu.org (full text, mbox):

From: Roumen Petrov <bugtrack <at> roumenpetrov.info>
To: rachaputi charanteja <rachaputicharan <at> gmail.com>, 
 16275 <at> debbugs.gnu.org
Subject: Re: bug#16275: [GNU Libtool 2.4.2] testsuite: 37 115 failed
Date: Sun, 19 Jan 2014 14:03:48 +0200
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.