GNU logs - #8726, boring messages


Message sent to owner <at> debbugs.gnu.org, bug-libtool@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#8726: rpath encoded in binary linking a .la-.so file
Resent-From: Jan Engelhardt <jengelh@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-To: owner <at> debbugs.gnu.org
Resent-CC: bug-libtool@HIDDEN
Resent-Date: Tue, 24 May 2011 16:13:02 +0000
Resent-Message-ID: <handler.8726.B.130625353026176 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 8726
X-GNU-PR-Package: libtool
X-GNU-PR-Keywords: 
To: 8726 <at> debbugs.gnu.org
Cc: Peter Volkov <pva@HIDDEN>, Jozsef Kadlecsik <kadlec@HIDDEN>
X-Debbugs-Original-To: bug-libtool@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.130625353026176
          (code B ref -1); Tue, 24 May 2011 16:13:02 +0000
Received: (at submit) by debbugs.gnu.org; 24 May 2011 16:12:10 +0000
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1QOuDJ-0006o9-1z
	for submit <at> debbugs.gnu.org; Tue, 24 May 2011 12:12:09 -0400
Received: from eggs.gnu.org ([140.186.70.92])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <jengelh@HIDDEN>) id 1QOrTd-00030K-4C
	for submit <at> debbugs.gnu.org; Tue, 24 May 2011 09:16:50 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jengelh@HIDDEN>) id 1QOrTX-0004Qy-0d
	for submit <at> debbugs.gnu.org; Tue, 24 May 2011 09:16:44 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD
	autolearn=unavailable version=3.3.1
Received: from lists.gnu.org ([140.186.70.17]:40696)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jengelh@HIDDEN>) id 1QOrTW-0004Qu-VN
	for submit <at> debbugs.gnu.org; Tue, 24 May 2011 09:16:42 -0400
Received: from eggs.gnu.org ([140.186.70.92]:47784)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jengelh@HIDDEN>) id 1QOrTV-0006qE-MQ
	for bug-libtool@HIDDEN; Tue, 24 May 2011 09:16:42 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jengelh@HIDDEN>) id 1QOrTT-0004QU-1e
	for bug-libtool@HIDDEN; Tue, 24 May 2011 09:16:41 -0400
Received: from seven.medozas.de ([188.40.89.202]:34159)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jengelh@HIDDEN>) id 1QOrTS-0004QG-TP
	for bug-libtool@HIDDEN; Tue, 24 May 2011 09:16:39 -0400
Received: by seven.medozas.de (Postfix, from userid 25121)
	id 4AEF421A023A; Tue, 24 May 2011 15:16:36 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by seven.medozas.de (Postfix) with ESMTP id 2AE8621A0217;
	Tue, 24 May 2011 15:16:36 +0200 (CEST)
Date: Tue, 24 May 2011 15:16:36 +0200 (CEST)
From: Jan Engelhardt <jengelh@HIDDEN>
In-Reply-To: <1306242102.24622.40.camel@tablet>
Message-ID: <alpine.LNX.2.01.1105241504140.23757@HIDDEN>
References: <1306233546.24622.19.camel@tablet>
	<alpine.LNX.2.01.1105241419010.15351@HIDDEN>
	<1306242102.24622.40.camel@tablet>
User-Agent: Alpine 2.01 (LNX 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED;
	BOUNDARY="683461209-2019833658-1306242996=:23757"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 140.186.70.17
X-Spam-Score: -6.0 (------)
X-Mailman-Approved-At: Tue, 24 May 2011 12:12:08 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
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/pipermail/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: -6.0 (------)

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--683461209-2019833658-1306242996=:23757
Content-Type: TEXT/PLAIN; charset=US-ASCII


On Tuesday 2011-05-24 15:01, Peter Volkov wrote via private mail:
>
>>>Final ipset binary is linked with:
>>>/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc
>>>-std=gnu99  -O2 -DNDEBUG -O2 -pipe -march=native -mtune=native -ggdb
>>>-static -Wl,--as-needed,--hash-style=gnu -o ipset ipset.o
>>>[...] ../lib/libipset.la 
>>>libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -O2 -DNDEBUG -O2 -pipe
>>>-march=native -mtune=native -ggdb -Wl,--as-needed -Wl,--hash-style=gnu
>>>-o ipset ipset.o [...]  ../lib/.libs/libipset.so -L/lib64 -lmnl
>>>-Wl,-rpath -Wl,/vt/gentoo/work/ipset-6.6/lib/.libs
>>>[and I wonder where the rpath comes from]


I investigated into --disable-static builds, and it looks like a libtool 
bug to me.

A testcase is attached for the libtool devs, and so this goes Cc there.

DESC: If -static is specified at the libtool command line, it ignores 
the fact that it may nevertheless has to link against a .la/.so file 
(e.g. due to ./configure --disable-static or AC_DISABLE_STATIC), and 
thus wrongly encodes an rpath into the binary that I believe it should 
not. What libtool should have done is to create the helper script as it 
would when -static was not specified.
--683461209-2019833658-1306242996=:23757
Content-Type: APPLICATION/octet-stream; name=tc.tar.xz
Content-Transfer-Encoding: BASE64
Content-ID: <alpine.LNX.2.01.1105241516360.23757@HIDDEN>
Content-Description: 
Content-Disposition: attachment; filename=tc.tar.xz

/Td6WFoAAATm1rRGAgAhARYAAAB0L+Wj4Cf/AYxdADoYwd6V4XBV4z1CMml6
2LtbomrfTQChaIN00F9vpMbsvNa3ksM6uPNoITKU/sfrM6DtPqTmGUVCVS3T
3FqmdwfhmdLqb/DIiJrZN/CHYuinkmCh8kU9LxBJbGYD7tZUNzS890mtmBtz
7Zl9FQo4WqO/cp7srbnoEYOAfJ3rOSU8XUTY5iCU1cfEoGfidTSOo9/3xLAa
odOhrVoIsF0k5tIv+N1zWgZFyybZbTcs8itnwXcnbkSotrbQYqb0bN8rmjYL
hejNerGtLCmDk9S5U6Ds9L+x2vXM9539v3ZxH04m67SPKFhCzmFSiAunt8Qx
NlzB/nhiLkDBy/oTJDpLM+OHE8Ed802uBIaLZtXP7+4/sQKEkVuQhmBLvYhd
1ENcE+UIZxDn+hTR2a18pHQafKjFHAVUg6nYNOF0yZMS6ee5UqYKNYb53feT
hdbHKoIr8obzCNgq/9hgCC7a5MovkhHhf2tKez4SKSKeksxBR6UP6dcfTHSg
yVORqvuPzaYYgeZWRxGUT0WVNW+fAADtMKtK9mVw1gABqAOAUAAABaVf8LHE
Z/sCAAAAAARZWg==

--683461209-2019833658-1306242996=:23757--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Jan Engelhardt <jengelh@HIDDEN>
Subject: bug#8726: Acknowledgement (rpath encoded in binary linking a
 .la-.so file)
Message-ID: <handler.8726.B.130625353026176.ack <at> debbugs.gnu.org>
References: <alpine.LNX.2.01.1105241504140.23757@HIDDEN>
X-Gnu-PR-Message: ack 8726
X-Gnu-PR-Package: libtool
Reply-To: 8726 <at> debbugs.gnu.org
Date: Tue, 24 May 2011 16:13:02 +0000

Thank you for filing a new bug report with GNU.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-libtool@HIDDEN

If you wish to submit further information on this problem, please
send it to 8726 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
8726: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D8726
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems



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.