GNU logs - #8558, boring messages


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


X-Loop: help-debbugs@HIDDEN
Subject: bug#8558: libtool must not depend on existence of system '/usr/lib*/*.la' files
Resent-From: Jason Vas Dias <jason.vas.dias@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, 26 Apr 2011 12:39:02 +0000
Resent-Message-ID: <handler.8558.B.130382152622940 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 8558
X-GNU-PR-Package: libtool
X-GNU-PR-Keywords: 
To: 8558 <at> debbugs.gnu.org
Cc: Mike Frysinger <vapier@HIDDEN>
X-Debbugs-Original-To: bug-libtool@HIDDEN
Reply-To: jason.vas.dias@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.130382152622940
          (code B ref -1); Tue, 26 Apr 2011 12:39:02 +0000
Received: (at submit) by debbugs.gnu.org; 26 Apr 2011 12:38:46 +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 1QEhXR-0005xw-QP
	for submit <at> debbugs.gnu.org; Tue, 26 Apr 2011 08:38:46 -0400
Received: from eggs.gnu.org ([140.186.70.92])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <jason.vas.dias@HIDDEN>) id 1QEhXO-0005xa-RQ
	for submit <at> debbugs.gnu.org; Tue, 26 Apr 2011 08:38:44 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jason.vas.dias@HIDDEN>) id 1QEhXI-0005Ns-R1
	for submit <at> debbugs.gnu.org; Tue, 26 Apr 2011 08:38:37 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_LOW, RFC_ABUSE_POST, T_DKIM_INVALID,
	T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1
Received: from lists.gnu.org ([140.186.70.17]:40381)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jason.vas.dias@HIDDEN>) id 1QEhXI-0005No-PS
	for submit <at> debbugs.gnu.org; Tue, 26 Apr 2011 08:38:36 -0400
Received: from eggs.gnu.org ([140.186.70.92]:53552)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jason.vas.dias@HIDDEN>) id 1QEhXH-00031t-SU
	for bug-libtool@HIDDEN; Tue, 26 Apr 2011 08:38:36 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jason.vas.dias@HIDDEN>) id 1QEhXD-0005MA-7L
	for bug-libtool@HIDDEN; Tue, 26 Apr 2011 08:38:35 -0400
Received: from mail-ww0-f49.google.com ([74.125.82.49]:57011)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jason.vas.dias@HIDDEN>) id 1QEhXD-0005M5-2u
	for bug-libtool@HIDDEN; Tue, 26 Apr 2011 08:38:31 -0400
Received: by wwb39 with SMTP id 39so483384wwb.30
	for <bug-libtool@HIDDEN>; Tue, 26 Apr 2011 05:38:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:from:reply-to:to:subject:date:user-agent:cc
	:mime-version:content-type:content-transfer-encoding:message-id;
	bh=a/Xgq6PnSByeXhkPz8x0bFgMTb5OvjwfeFCRH0ej4Yw=;
	b=gQk7C4gdk0bQF+PASIr827cg/o3ecPyPv6f/Nc5xu7ufJpHM6pcFzQbUOMp028UKeM
	IhV1FvZ1ruJNFgDLyNV6gIqE0wwCDlaqAGM0u1NbB29+RxxV4t0ZtQLhyx9AZCP5Mcyh
	5fG4sFPYGiscHqTQKK6zX5TvyZKASIhQNLfVE=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=from:reply-to:to:subject:date:user-agent:cc:mime-version
	:content-type:content-transfer-encoding:message-id;
	b=a3hb4moHmv+6LiBYILl4bT2u0PVp7s5EQv59f5ha8vqkQAWLlSQWyqG8UTAPTBms97
	Ui5IadBcovnGCp/OBPIfaynuEY9BVOZi+rrayoprbyAcQnaKlnNOJy9+d7284EO4JII7
	o5zJAFunZpp848xhyV3qHDxtT6gQG+eBqphlM=
Received: by 10.216.232.13 with SMTP id m13mr4473781weq.110.1303821510311;
	Tue, 26 Apr 2011 05:38:30 -0700 (PDT)
Received: from jvdspc (86-45-160-146-dynamic.b-ras2.chf.cork.eircom.net
	[86.45.160.146])
	by mx.google.com with ESMTPS id g32sm2997124wej.3.2011.04.26.05.38.29
	(version=SSLv3 cipher=OTHER); Tue, 26 Apr 2011 05:38:29 -0700 (PDT)
From: Jason Vas Dias <jason.vas.dias@HIDDEN>
Date: Tue, 26 Apr 2011 13:38:15 +0100
User-Agent: KMail/1.12.4 (Linux/2.6.38.2-jvd; KDE/4.3.4; x86_64; svn-1073138;
	2010-01-11)
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-Id: <201104261338.19261.jason.vas.dias@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 140.186.70.17
X-Spam-Score: -5.6 (-----)
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: -5.7 (-----)

This bug is related to,  but different from, bug #8537, and is fixed by the patch 
(to INSTALLED script) that I submitted for that bug .

My 32-bit C++ libtool builds were failing because libtool incorrectly accessed
   /usr/lib64/gcc/x86_64-pc-linux-gnu/4.6.0/libstdc++v3.la , 
which gcc installs for its 64-bit environment, NOT 
   /usr/lib64/gcc/x86_64-pc-linux-gnu/4.6.0/32/libstdc++v3.la ,
which gcc installs for its 64-bit environment.

So I removed all gcc libtool files (I still have the build tree) :
  $ find /usr/lib64/gcc/x86_64-pc-linux-gnu/4.6.0  -name '*.la' -a -exec 'rm' '{}' ';'

And I try to rebuild the 32-bit package from scratch, and it fails because libtool can
find no system 'libstdc++v3.la' file. 

Then also the C++ 64-bit builds fail because of missing libstdc++v3.la files .

So :
  o I cannot build 32-bit C++ programs with libtool when the 64-bit libstdc++v3.la file is installed;
  o I cannot build 64-bit or 32-bit C++ programs with libtool without any libstdc++v3.la files installed.

In both cases all the 
   /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.0/{,32/}lib{stdc++v3,suppc++,suppc++convenience}.{a,so} files
existed correctly, so why didn't libtool pick them up and use them ?

Why is libtool demanding that I install system /usr/*/*.la files ? 
I thought installing these was optional ?

I think this is all to do with libtool using a hardcoded $sys_lib_search_path_spec :

/usr/bin/libtool@line 274:
# Compile-time system search path for libraries.
sys_lib_search_path_spec="/usr/lib64/gcc/x86_64-pc-linux-gnu/lib64 /usr/lib64 /lib64 /usr/x86_64-pc-linux-gnu/lib "

when I think it should be saying:
# Compile-time system search path for libraries.
sys_lib_search_path_spec="$(${CC:-gcc} $CFLAGS -print-search-dirs |sed -n '/^libraries:/{s/^libraries[:=\ \       ]*//;s/:/ /g;p}')"

Please, Mike, libtool developers, what is wrong with my reasoning here ?




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: jason.vas.dias@HIDDEN
Subject: bug#8558: Acknowledgement (libtool must not depend on existence
 of system '/usr/lib*/*.la' files)
Message-ID: <handler.8558.B.130382152622940.ack <at> debbugs.gnu.org>
References: <201104261338.19261.jason.vas.dias@HIDDEN>
X-Gnu-PR-Message: ack 8558
X-Gnu-PR-Package: libtool
Reply-To: 8558 <at> debbugs.gnu.org
Date: Tue, 26 Apr 2011 12:39: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 8558 <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
8558: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D8558
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


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


X-Loop: help-debbugs@HIDDEN
Subject: bug#8558: libtool must not depend on existence of system '/usr/lib*/*.la' files
Resent-From: Mike Frysinger <vapier@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, 26 Apr 2011 16:57:02 +0000
Resent-Message-ID: <handler.8558.B.130383701413558 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 8558
X-GNU-PR-Package: libtool
X-GNU-PR-Keywords: 
To: jason.vas.dias@HIDDEN
Cc: bug-libtool@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.130383701413558
          (code B ref -1); Tue, 26 Apr 2011 16:57:02 +0000
Received: (at submit) by debbugs.gnu.org; 26 Apr 2011 16:56:54 +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 1QElZF-0003Wd-I8
	for submit <at> debbugs.gnu.org; Tue, 26 Apr 2011 12:56:53 -0400
Received: from eggs.gnu.org ([140.186.70.92])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <vapierfilter@HIDDEN>) id 1QElZD-0003WP-Rt
	for submit <at> debbugs.gnu.org; Tue, 26 Apr 2011 12:56:52 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <vapierfilter@HIDDEN>) id 1QElZ7-0006Ec-JS
	for submit <at> debbugs.gnu.org; Tue, 26 Apr 2011 12:56:46 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_LOW, RFC_ABUSE_POST, T_DKIM_INVALID,
	T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1
Received: from lists.gnu.org ([140.186.70.17]:41845)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <vapierfilter@HIDDEN>) id 1QElZ7-0006EY-I4
	for submit <at> debbugs.gnu.org; Tue, 26 Apr 2011 12:56:45 -0400
Received: from eggs.gnu.org ([140.186.70.92]:48357)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <vapierfilter@HIDDEN>) id 1QElZ6-0002iI-S1
	for bug-libtool@HIDDEN; Tue, 26 Apr 2011 12:56:45 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <vapierfilter@HIDDEN>) id 1QElZ6-0006E9-07
	for bug-libtool@HIDDEN; Tue, 26 Apr 2011 12:56:44 -0400
Received: from mail-ew0-f41.google.com ([209.85.215.41]:54582)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <vapierfilter@HIDDEN>) id 1QElZ5-0006Dm-S5
	for bug-libtool@HIDDEN; Tue, 26 Apr 2011 12:56:43 -0400
Received: by ewy9 with SMTP id 9so295645ewy.0
	for <bug-libtool@HIDDEN>; Tue, 26 Apr 2011 09:56:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:sender:in-reply-to:references:from
	:date:x-google-sender-auth:message-id:subject:to:cc:content-type
	:content-transfer-encoding;
	bh=uj4cf1IqQ0l6QGykxu4MrZRbvkhyT7wGAAPkxrTtYSY=;
	b=tovIr3s0265a/jevfjFpC86iMmd8i2lrmD0jX/V/jigAlDcVWa9IVi+GExR3QYegke
	/l4gdNS9EZGNw4AR3Izf8rGtETzruEwugdRaxyb8xEING33y5sqLKss9sbmws/fXhO3x
	7PRScPbB9rvtWYBwPUOQ3nUvH5h0RaGVcFUhI=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:sender:in-reply-to:references:from:date
	:x-google-sender-auth:message-id:subject:to:cc:content-type
	:content-transfer-encoding;
	b=WD4dOxXqcJbKFNL8hjP5jwn9Jfu2L0N0TxGvTDM0nVZnxxgu9nLBIOGLx/XoBj+EPi
	PDJUZ6x/zb6Xp8k6Gp0ubZOVS+gk7IN6A+6qT0f9oKpyRRWnWzKHAtapCP4YXbv1N5DX
	s3RE67Fj0wSvdIwh6d5jGaDdkvbM4nxYtL1TI=
Received: by 10.213.105.141 with SMTP id t13mr483548ebo.8.1303837002101; Tue,
	26 Apr 2011 09:56:42 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.213.17.193 with HTTP; Tue, 26 Apr 2011 09:56:22 -0700 (PDT)
In-Reply-To: <201104261338.19261.jason.vas.dias@HIDDEN>
References: <201104261338.19261.jason.vas.dias@HIDDEN>
From: Mike Frysinger <vapier@HIDDEN>
Date: Tue, 26 Apr 2011 12:56:22 -0400
X-Google-Sender-Auth: TX4I4uTs0IpUECGow6nIggs-Msk
Message-ID: <BANLkTindVgbzU3gR16w76OKAzhUOeD5G9g@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 140.186.70.17
X-Spam-Score: -4.8 (----)
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: -5.0 (-----)

On Tue, Apr 26, 2011 at 08:38, Jason Vas Dias wrote:
> My 32-bit C++ libtool builds were failing because libtool incorrectly acc=
essed
> =A0 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.6.0/libstdc++v3.la ,
> which gcc installs for its 64-bit environment, NOT
> =A0 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.6.0/32/libstdc++v3.la ,
> which gcc installs for its 64-bit environment.

you mean which gcc installs for its 32-bit env

> And I try to rebuild the 32-bit package from scratch, and it fails becaus=
e libtool can
> find no system 'libstdc++v3.la' file.

most likely not a bug in libtool.  something (probably a .la file) has
encoded a reference to the libstdc++ .la file.  find that something
and fix it.
-mike





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.