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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: libtool; Reported by: Peter O'Gorman <peter@HIDDEN>; dated Thu, 12 Jan 2012 00:15:02 UTC; Maintainer for libtool is bug-libtool@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 12 Jan 2012 00:14:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 11 19:14:49 2012
Received: from localhost ([127.0.0.1]:54253 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Rl8Jd-0007If-6A
	for submit <at> debbugs.gnu.org; Wed, 11 Jan 2012 19:14:49 -0500
Received: from eggs.gnu.org ([140.186.70.92]:54977)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <peter@HIDDEN>) id 1Rl8Ja-0007IX-9P
	for submit <at> debbugs.gnu.org; Wed, 11 Jan 2012 19:14:47 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <peter@HIDDEN>) id 1Rl8J6-0004FO-U6
	for submit <at> debbugs.gnu.org; Wed, 11 Jan 2012 19:14:17 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID
	autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([140.186.70.17]:59111)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <peter@HIDDEN>) id 1Rl8J6-0004FK-Ow
	for submit <at> debbugs.gnu.org; Wed, 11 Jan 2012 19:14:16 -0500
Received: from eggs.gnu.org ([140.186.70.92]:55656)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <peter@HIDDEN>) id 1Rl8J5-0001RO-OS
	for bug-libtool@HIDDEN; Wed, 11 Jan 2012 19:14:16 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <peter@HIDDEN>) id 1Rl8J4-0004FA-L7
	for bug-libtool@HIDDEN; Wed, 11 Jan 2012 19:14:15 -0500
Received: from pogma.xen.prgmr.com ([68.68.97.8]:51311)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <peter@HIDDEN>) id 1Rl8J4-0004F5-GR
	for bug-libtool@HIDDEN; Wed, 11 Jan 2012 19:14:14 -0500
Message-ID: <4F0E25D3.4080803@HIDDEN>
X-DKIM: Sendmail DKIM Filter v2.8.3 pogma.xen.prgmr.com AE283BF5D7
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pogma.com; s=pogmail;
	t=1326327252; bh=CXghijzIQXMGlBUtF2sF3Hke8C/V++GdXdNJNTk0EMg=;
	h=Date:From:MIME-Version:To:CC:Subject:References:In-Reply-To:
	Content-Type:Content-Transfer-Encoding;
	b=y/WjPJhORV8TwEiUZVQJwvayYrU+DvlMtzYwO2IRRsVlwOWZ2xG40PZecazmzzNiq
	lgMO1mY9mneLixqltjJNdcXCyYQvfwExHFC3PFoRQMg+TuVoS1/zNCZg/2iOC4CMD2
	8J+lVCOJejI6sui+rowdjCDZzp7iO+N89jiMxGyo=
Date: Wed, 11 Jan 2012 18:14:11 -0600
From: Peter O'Gorman <peter@HIDDEN>
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
MIME-Version: 1.0
To: Jeremy Huddleston <jeremyhu@HIDDEN>
Subject: Re: glibtool is trying to include multiple copies of the same object
	file
References: <6D84CF1A-D340-4FB9-A49A-EA77EE2A35B9@HIDDEN>
	<4F0E209B.9090107@HIDDEN>
In-Reply-To: <4F0E209B.9090107@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 140.186.70.17
X-Spam-Score: -3.4 (---)
X-Debbugs-Envelope-To: submit
Cc: Libtool Bugs <bug-libtool@HIDDEN>, Jamey Sharp <jamey@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -3.4 (---)

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





Acknowledgement sent to Peter O'Gorman <peter@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-libtool@HIDDEN. Full text available.
Report forwarded to bug-libtool@HIDDEN:
bug#10484; Package libtool. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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