GNU bug report logs - #10484
glibtool is trying to include multiple copies of the same object file

Previous Next

Package: libtool;

Reported by: Peter O'Gorman <peter <at> pogma.com>

Date: Thu, 12 Jan 2012 00:15:02 UTC

Severity: normal

To reply to this bug, email your comments to 10484 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#10484; Package libtool. (Thu, 12 Jan 2012 00:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Peter O'Gorman <peter <at> pogma.com>:
New bug report received and forwarded. Copy sent to bug-libtool <at> gnu.org. (Thu, 12 Jan 2012 00:15:03 GMT) Full text and rfc822 format available.

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

From: Peter O'Gorman <peter <at> pogma.com>
To: Jeremy Huddleston <jeremyhu <at> apple.com>
Cc: Libtool Bugs <bug-libtool <at> gnu.org>, Jamey Sharp <jamey <at> minilop.net>
Subject: Re: glibtool is trying to include multiple copies of the same object
	file
Date: Wed, 11 Jan 2012 18:14:11 -0600
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.a

where 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





This bug report was last modified 13 years and 222 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.