|
From: | Peter O'Gorman |
Subject: | bug#10484: glibtool is trying to include multiple copies of the same object file |
Date: | Wed, 11 Jan 2012 18:14:11 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.22) Gecko/20110906 Fedora/3.1.14-1.fc14 Thunderbird/3.1.14 |
On 01/11/2012 05:51 PM, Peter O'Gorman wrote:
libmi.la is listed twice here (in the Makefile.am it's listed explicitly and it's in @XORG_LIBS@), which causes libtool to do its 'copying selected object files to avoid basename conflicts' bit. I have reproduced with a small test case, will try to investigate a little more this evening.
The code is attempting to allow something like: ./libtool --mode=link --tag=CC cc -o libfoo.la ./a/libbar.la ./b/libbar.awhere you have two different convenience libraries with the same basename. Because they're convenience libraries libtool should ensure that all objects in the archives end up in the output, so it renames one and adds all objects from both convenience libs.
In your case the same convenience archive ended up on the link line twice by accident, libtool doesn't check for that, I'm copying bug-libtool to create a bug report for this, thanks.
Peter
[Prev in Thread] | Current Thread | [Next in Thread] |