bug-libtool
[Top][All Lists]
Advanced

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

Re: Multiple test failures with --disable-shared


From: Peter O'Gorman
Subject: Re: Multiple test failures with --disable-shared
Date: Thu, 10 Jun 2010 22:04:55 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Thunderbird/3.0.4

On 06/10/2010 03:07 PM, Peter O'Gorman wrote:
On 06/10/2010 11:10 AM, Peter O'Gorman wrote:
Hi,

I got an off-list report from a user about test failures in 2.2.6b, that
turned out to be either because he'd configured with --disable-shared or
libtool had incorrectly guessed that his system did not support shared
libraries. (lots of lag in the exchange).

Logs from clean tree of the unexpected failures.


../../libtool/tests/duplicate_conv.at:79: $LIBTOOL --mode=link --tag=CC $CC 
$CFLAGS $LDFLAGS -o cee.$OBJEXT c.lo a/liba.la b/liba.la
stderr:
stdout:
libtool: link: /usr/bin/ld -r -o cee.o    --whole-archive a/.libs/liba.a 
b/.libs/liba.a --no-whole-archive
../../libtool/tests/duplicate_conv.at:81: $LIBTOOL --mode=link $CC $CFLAGS 
$LDFLAGS -o main$EXEEXT main.$OBJEXT cee.$OBJEXT


This patch fixes the above problem with libtool dropping the c.lo object. Test passes with and without --disable-shared.

Ok?

Peter

Attachment: 0001-Create-reloadable-object-files-with-non-pic-objects-.patch
Description: Text Data


reply via email to

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