[Top][All Lists]

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

Re: java convenience test failure: multiple definition of `java resource

From: Ralf Wildenhues
Subject: Re: java convenience test failure: multiple definition of `java resource .dummy'
Date: Wed, 25 Nov 2009 21:10:11 +0100
User-agent: Mutt/1.5.20 (2009-08-09)

Hello Kurt, and sorry for the delay,

* Kurt Roeckx wrote on Mon, Nov 09, 2009 at 09:54:34PM CET:
> I'm seeing the following error in the java convenience test
> on both 2.2.6a and git head when gcj is installed:
> ./convenience.at:275: $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  -Wl,--whole-archive ./.libs/liba1.a 
> ./.libs/liba2.a -Wl,--no-whole-archive     -Wl,-soname -Wl,liba12.so.0 -o 
> .libs/liba12.so.0.0.0
> ./convenience.at:275: exit code was 1, expected 0
> 30. convenience.at:229: 30. Java convenience archives (convenience.at:229): 
> FAILED (convenience.at:275)
> This is with gcj version 4.3.4 (Debian version 4.3.4-4)
> A build log of 2.2.6a with version 4.3.3-3 did not show this error.
> There are also alot of other packages that changed version, like
> binutils changed from 2.19.1-1 to 2.20-2.
> A complete testsuite.log is attached.

thanks for the report.  Confirmed.  I am just as clueless about whether
this is a bug in gcj/GCC or in the Libtool testsuite, or possibly even
in Debian's gcj only or binutils.

If I could downgrade gcj-4.1 easily, I'd compare 'nm --demangle' output
of the .libs/liba?.a and .libs/A?.o files.  Guess it's time to find out
why my aptitude wants to change about 1GB worth of installed files ...


reply via email to

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