Received: (at submit) by debbugs.gnu.org; 28 Dec 2015 17:44:17 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 28 12:44:17 2015 Received: from localhost ([127.0.0.1]:46624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1aDbqC-0005zm-Fc for submit <at> debbugs.gnu.org; Mon, 28 Dec 2015 12:44:17 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53318) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <basin@HIDDEN>) id 1aDXbY-00069b-1l for submit <at> debbugs.gnu.org; Mon, 28 Dec 2015 08:12:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <basin@HIDDEN>) id 1aDXbR-0004Uw-Qa for submit <at> debbugs.gnu.org; Mon, 28 Dec 2015 08:12:46 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59864) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <basin@HIDDEN>) id 1aDXbR-0004Us-NL for submit <at> debbugs.gnu.org; Mon, 28 Dec 2015 08:12:45 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <basin@HIDDEN>) id 1aDXbQ-0005Sw-Up for bug-libtool@HIDDEN; Mon, 28 Dec 2015 08:12:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <basin@HIDDEN>) id 1aDXbQ-0004Ue-29 for bug-libtool@HIDDEN; Mon, 28 Dec 2015 08:12:44 -0500 Received: from [2a00:1120:0:1100:218:51ff:fe76:d18f] (port=43391 helo=gate.reksoft.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <basin@HIDDEN>) id 1aDXbP-0004SA-Mn for bug-libtool@HIDDEN; Mon, 28 Dec 2015 08:12:43 -0500 Received: from calf.reksoft.ru (calf.reksoft.ru [192.168.111.3]) by gate.reksoft.ru (8.14.3/8.14.4/Debian-8) with ESMTP id tBSCmlIl014332 for <bug-libtool@HIDDEN>; Mon, 28 Dec 2015 15:48:48 +0300 Received: from [192.168.148.87] ([192.168.148.87]) by calf.reksoft.ru (IBM Domino Release 9.0.1FP4) with ESMTP id 2015122815484712-193233 ; Mon, 28 Dec 2015 15:48:47 +0300 To: bug-libtool@HIDDEN From: Basin Ilya <basin@HIDDEN> Subject: libtool should skip .la files it cannot read Message-ID: <56812FB1.7050805@HIDDEN> Date: Mon, 28 Dec 2015 15:48:49 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on calf/Reksoft/RU(Release 9.0.1FP4|June 07, 2015) at 28.12.2015 15:48:47, Serialize by Router on calf/Reksoft/RU(Release 9.0.1FP4|June 07, 2015) at 28.12.2015 15:48:48, Serialize complete at 28.12.2015 15:48:48 X-TNEFEvaluated: 1 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=utf-8 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.7 (gate.reksoft.ru [188.64.144.36]); Mon, 28 Dec 2015 15:48:48 +0300 (MSK) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 28 Dec 2015 12:44:15 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://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: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.0 (----) libtool behavior differs from GNU linker (ld) behavior When a .so file exists in library path, but ld fails to open it due to file permissions, it silently skips it and tries next directory. Libtool fails with: "is not a valid libtool archive" [git@dioptase ~]$ ls -l /opt/oracle/product/12.1.0.2/OraClient12c_Home1/lib/libexpat.* -rw-------. 1 oracle oracle 617772 Nov 8 2011 /opt/oracle/product/12.1.0.2/OraClient12c_Home1/lib/libexpat.a -rw-------. 1 oracle oracle 793 Nov 8 2011 /opt/oracle/product/12.1.0.2/OraClient12c_Home1/lib/libexpat.la -rw-------. 1 oracle oracle 408282 Nov 8 2011 /opt/oracle/product/12.1.0.2/OraClient12c_Home1/lib/libexpat.so -rw-------. 1 oracle oracle 408282 Nov 8 2011 /opt/oracle/product/12.1.0.2/OraClient12c_Home1/lib/libexpat.so.1 -rw-------. 1 oracle oracle 408282 Nov 8 2011 /opt/oracle/product/12.1.0.2/OraClient12c_Home1/lib/libexpat.so.1.5.2 [git@dioptase ~]$ echo 'int main(int argc, char *argv[]) { return 0; }' >test.c [git@dioptase ~]$ gcc -c test.c [git@dioptase ~]$ gcc -L/opt/oracle/product/12.1.0.2/OraClient12c_Home1/lib -lexpat -o test test.o [git@dioptase ~]$ libtool --tag=CC --mode=link gcc -L/opt/oracle/product/12.1.0.2/OraClient12c_Home1/lib -lexpat -o test test.o libtool: link: `/opt/oracle/product/12.1.0.2/OraClient12c_Home1/lib/libexpat.la' is not a valid libtool archive libtool version 2.4.6 -- -------------------------------------------------------------------------------- Kind regards, Ilya Basin software engineer Reksoft Skype: basin_ilya phone +7(812)324-24-40*553
Basin Ilya <basin@HIDDEN>
:bug-libtool@HIDDEN
.
Full text available.bug-libtool@HIDDEN
:bug#22258
; Package libtool
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.