Subject: bug#8656: [GNU Libtool 2.4.1a] testsuite: 37 115 failed

From: "Ralf Wildenhues" <[email-masked]>
Date: Sun, 15 May 2011 15:33:52 +0200

Hi Stefano,

* Stefano Lattarini wrote on Wed, May 11, 2011 at 06:21:27PM CEST:
> The version I've tested is the latest developement version of Libtool,
> v2.4-53-gd5d35c4 "tagdemo: do not rely on picking up symbols from
> indirect deps".

> ./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: 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)

This is a GCC bug.  See <http://gcc.gnu.org/PR42143> and
<http://gcc.gnu.org/PR43302>.

Cheers,
Ralf