X-Loop: help-debbugs@HIDDEN Subject: bug#11921: libtool --mode=link with indirectly involved libraries Resent-From: =?UTF-8?Q?=D0=94=D0=B8=D0=BB=D1=8F=D0=BD_?= =?UTF-8?Q?=D0=9F=D0=B0=D0=BB=D0=B0=D1=83=D0=B7=D0=BE=D0=B2?= <dilyan.palauzov@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-CC: bug-libtool@HIDDEN Resent-Date: Thu, 12 Jul 2012 11:27:02 +0000 Resent-Message-ID: <handler.11921.B.134209238930262 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 11921 X-GNU-PR-Package: libtool X-GNU-PR-Keywords: To: 11921 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-libtool@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.134209238930262 (code B ref -1); Thu, 12 Jul 2012 11:27:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Jul 2012 11:26:29 +0000 Received: from localhost ([127.0.0.1]:35337 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1SpHXQ-0007s2-Bk for submit <at> debbugs.gnu.org; Thu, 12 Jul 2012 07:26:29 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47553) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <dilyan.palauzov@HIDDEN>) id 1SpHXN-0007rp-HS for submit <at> debbugs.gnu.org; Thu, 12 Jul 2012 07:26:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <dilyan.palauzov@HIDDEN>) id 1SpHS1-00028D-1u for submit <at> debbugs.gnu.org; Thu, 12 Jul 2012 07:20:54 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,BODY_8BITS, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:60589) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <dilyan.palauzov@HIDDEN>) id 1SpHS0-000288-U9 for submit <at> debbugs.gnu.org; Thu, 12 Jul 2012 07:20:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <dilyan.palauzov@HIDDEN>) id 1SpHRt-0007SS-Dp for bug-libtool@HIDDEN; Thu, 12 Jul 2012 07:20:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <dilyan.palauzov@HIDDEN>) id 1SpHRo-000236-JE for bug-libtool@HIDDEN; Thu, 12 Jul 2012 07:20:45 -0400 Received: from serveur.via-novotek.com ([94.23.222.218]:55016) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <dilyan.palauzov@HIDDEN>) id 1SpHRo-0001gL-7a for bug-libtool@HIDDEN; Thu, 12 Jul 2012 07:20:40 -0400 Received: from aegeeserv.aegee.uni-karlsruhe.de ([129.13.131.80] helo=smtp.aegee.org) by serveur.via-novotek.com with esmtpsa (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.76) (envelope-from <dilyan.palauzov@HIDDEN>) id 1SpHRP-0001o1-5Z for bug-libtool@HIDDEN; Thu, 12 Jul 2012 13:20:15 +0200 Authentication-Results: aegeeserv.aegee.org; auth=pass (PLAIN) smtp.auth=didopalauzov X-DKIM: OpenDKIM Filter v2.6.0 smtp.aegee.org q6CBKINJ012258 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aegee.org; s=k4096; t=1342092019; i=dkim+MSA-ssl@HIDDEN; bh=OC2JhzNwTmARMvKyjhoOdunUPMk5rWVscxlM5+ZBqio=; h=Date:From:To:Subject; b=WwBddBXUPl9C/q/U60GMX60OWwrSDK17hTdW5fAMzpKC5ciM6ApRxxxXoLesh5nKg quAwnfpFByj3WHimo7zAIalIDceFUVZWIQLVQi5Uqymt9TH0TqaSlmmqRIcp2I4FLy NibLci8AvYLe5s/bKDAnvjRi3XofFHCPJAamSxJRvKhfQ5aC0w7AIY85cz9fVOCBd9 6vyES9DLS/fPGXgiGGSyeP1jQWk9y0Ox47KawcNcaw/WU6X4DKvZhpRmkrUm55aPC5 N5lmO9kNRshedIU2fR1+R7R4bNg2YUC6/8y27pvvQlcdWO/UDu9R3Y9hLR/9V8dKIW UxBjHOxPsEgGv8/53EHLiZ4WQFaCnhvzbQAPEFwcf6+SRMmia5jMBBElkKrSWZxNRL oU2jOvNgbhiEVru7w/bJM5x4+YM6gEdrPs43+FNJUJeiQ+BISgWHdagbIxGw9T4bdL TvsrcHVOzBry3chcKe8L6uweh44vTdYM4mX0iW29vWzH6vgNtbSfzf2MjCmqlkkQzq JftrL8JGMPomYAeq963Fn3QGOaLLY16dKvX/ZDFmQAQg5c68kEDvwhTJHrqiFEFpFe RWcnmXWEK0jYSNI3f4uBt4imHU0Qh1qLy5DtC2DytpbEjlIjVaOINFPIg/+rrKHH2T umrb41/1DSotQR0V7Qjw4acU= Received: from [192.168.2.101] (p4FDF31C9.dip.t-dialin.net [79.223.49.201]) (authenticated bits=0) by smtp.aegee.org (8.14.5/8.14.5) with ESMTP id q6CBKINJ012258 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for <bug-libtool@HIDDEN>; Thu, 12 Jul 2012 11:20:19 GMT Message-ID: <4FFEB2E8.4080804@HIDDEN> Date: Thu, 12 Jul 2012 13:20:08 +0200 From: =?UTF-8?Q?=D0=94=D0=B8=D0=BB=D1=8F=D0=BD_?= =?UTF-8?Q?=D0=9F=D0=B0=D0=BB=D0=B0=D1=83=D0=B7=D0=BE=D0=B2?= <dilyan.palauzov@HIDDEN> User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------090901060902030201080209" X-Virus-Scanned: clamav-milter 0.97.5 at aegeeserv X-Virus-Status: Clean X-DKIM-Status: pass [(aegee.org) - 129.13.131.80] X-DKIM-Status: pass [(dkim+MSA-ssl@HIDDEN) - 129.13.131.80] 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: 208.118.235.17 X-Spam-Score: -6.9 (------) 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: -6.9 (------) This is a multi-part message in MIME format. --------------090901060902030201080209 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hello, I use libtool-2.4.2. In the Makefile.am I have lib_LTLIBRARIES = libA.a libB.la libA_la_SOURCES = ... libB_la_SOURCES = ... libB_la_LIBADD = libA.la bin_PROGRAMS = c c_SOURCES = ... c_LDADD = libB.la This creates a file libB.la which lists libA.la (with its full path) under dependency_libs . Executing "make" leads to libtool --tag=CC --mode=link gcc -o c libB.la And now, on my system this expands (correctly) to libtool: link: gcc -o c /.libs/libB.so /.libs/libA.so but on another system it resolves to libtool: link: gcc -o c /.libs/libB.so -> ERROR ld: c.o: undefined reference to symbol 'A' ld: note: 'A' is defined in DSO libA.so.0 so try adding it to the linker command line libA.so.0: could not read symbols: Invalid operation collect2: ld returned 1 exit status My question is: Why is libB.la sometimes expanded by libtool --mode=link v2.4.2 to "libB.so libA.so" and sometimes only to "libB.so"? Thanks very much in advance for your answer Дилян --------------090901060902030201080209 Content-Type: text/x-vcard; charset=utf-8; name="dilyan_palauzov.vcf" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="dilyan_palauzov.vcf" YmVnaW46dmNhcmQNCmZuO3F1b3RlZC1wcmludGFibGU6PUQwPTk0PUQwPUI4PUQwPUJCPUQx PThGPUQwPUJEID1EMD05Rj1EMD1CMD1EMD1CQj1EMD1CMD1EMT04Mz1EMD1CNz1EMD1CRT0N Cgk9RDA9QjINCm47cXVvdGVkLXByaW50YWJsZTtxdW90ZWQtcHJpbnRhYmxlOj1EMD05Rj1E MD1CMD1EMD1CQj1EMD1CMD1EMT04Mz1EMD1CNz1EMD1CRT1EMD1CMjs9RDA9OTQ9RDA9Qjg9 RDA9QkI9RDE9OEY9RDA9QkQNCmVtYWlsO2ludGVybmV0OmRpbHlhbi5wYWxhdXpvdkBhZWdl ZS5vcmcNCnRlbDtob21lOis0OS03MjEtOTQxOTMyNzANCnRlbDtjZWxsOis0OS0xNjItNDA5 MTE3Mg0Kbm90ZTpzaXA6ODM3MkBhZWdlZS5vcmcNCnZlcnNpb246Mi4xDQplbmQ6dmNhcmQN Cg0K --------------090901060902030201080209--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: =?UTF-8?Q?=D0=94=D0=B8=D0=BB=D1=8F=D0=BD_?= =?UTF-8?Q?=D0=9F=D0=B0=D0=BB=D0=B0=D1=83=D0=B7=D0=BE=D0=B2?= <dilyan.palauzov@HIDDEN> Subject: bug#11921: Acknowledgement (libtool --mode=link with indirectly involved libraries) Message-ID: <handler.11921.B.134209238930262.ack <at> debbugs.gnu.org> References: <4FFEB2E8.4080804@HIDDEN> X-Gnu-PR-Message: ack 11921 X-Gnu-PR-Package: libtool Reply-To: 11921 <at> debbugs.gnu.org Date: Thu, 12 Jul 2012 11:27:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. 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 11921 <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 11921: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D11921 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#11921: link_all_deplibs=no References: <4FFEB2E8.4080804@HIDDEN> In-Reply-To: <4FFEB2E8.4080804@HIDDEN> Resent-From: =?UTF-8?Q?=D0=94=D0=B8=D0=BB=D1=8F=D0=BD_?= =?UTF-8?Q?=D0=9F=D0=B0=D0=BB=D0=B0=D1=83=D0=B7=D0=BE=D0=B2?= <dilyan.palauzov@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-CC: bug-libtool@HIDDEN Resent-Date: Sun, 15 Jul 2012 10:25:01 +0000 Resent-Message-ID: <handler.11921.B11921.134234787822670 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 11921 X-GNU-PR-Package: libtool X-GNU-PR-Keywords: To: 11921 <at> debbugs.gnu.org Received: via spool by 11921-submit <at> debbugs.gnu.org id=B11921.134234787822670 (code B ref 11921); Sun, 15 Jul 2012 10:25:01 +0000 Received: (at 11921) by debbugs.gnu.org; 15 Jul 2012 10:24:38 +0000 Received: from localhost ([127.0.0.1]:41750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1SqM0E-0005tb-FT for submit <at> debbugs.gnu.org; Sun, 15 Jul 2012 06:24:38 -0400 Received: from serveur.via-novotek.com ([94.23.222.218]:58259) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <dilyan.palauzov@HIDDEN>) id 1SqM0C-0005tS-5G for 11921 <at> debbugs.gnu.org; Sun, 15 Jul 2012 06:24:37 -0400 Received: from aegeeserv.aegee.uni-karlsruhe.de ([129.13.131.80] helo=smtp.aegee.org) by serveur.via-novotek.com with esmtpsa (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.76) (envelope-from <dilyan.palauzov@HIDDEN>) id 1SqLuY-0003Iv-2R for 11921 <at> debbugs.gnu.org; Sun, 15 Jul 2012 12:18:46 +0200 Authentication-Results: aegeeserv.aegee.org; auth=pass (PLAIN) smtp.auth=didopalauzov X-DKIM: OpenDKIM Filter v2.6.3 smtp.aegee.org q6FAImoE008344 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aegee.org; s=k4096; t=1342347530; i=dkim+MSA-ssl@HIDDEN; bh=sPI2FGBqi/2braxe5jaB11x+tASA4TeOD7QozDdts8w=; h=Date:From:To:Subject; b=NoOuqu7b5EUS1PfNbwY7pg6jL2CqdMBGlBh5SUKqIOt9e7v0XDnosguVRd/9dcov+ au1mJRP8o05E4F/XKz5T+bIYMq3jhPmGOqUTg019Pw1NPW095CUtwDo8jouypuDCVk RQG2uHPf2vapvJHNDiXuYpCT2NUsbWxV+7hQm0OGIi9jY5eFGR0SABFOOO2HlvNceJ W8q/lyU+vr4qxGr5lv/wFd5ZckwADFoULoN1RO1oYp96mZnHOiB8bXBoYWh0PSEqtz OwUdbUWT+O5jZNIFL7oNABSYu/EQOEhS1OyFzrmCMpjhhxhpYF4feNTF3DwZy9DfH5 M6emJkIQG37FeU0flXEe0WzOE/gXeU3Yds5cKUGeQRFzFjbSuZDNRKEFVUPG7WxZ6m q4b6qfRYVB6oniFJKmyEFVtie8DQZcIqhR6t/Cc8oEGhA+oS0dF4vL5oKZE2QHM+lk drou6AWdmU6TosXAML8ayeh27RnNwTR3eOHmJ7510INzGo0UX8P6CAIDCEO+Emjqso aN017OXuJbdC+BGCb07iH+ij1jLjTuiE9ocdx8o02yEFbhTQ/vkIH0BLP+V5ZhM9Av Xd+fx5vyJ0z12SZvDiNknT5RXG3LlBe0UrINCd4wqnPexhkm6XMaLZoOjPVbItTvZG Wct81TrusYEVnSynWi9wOQn4= Received: from [192.168.2.101] (p4FDF31C9.dip.t-dialin.net [79.223.49.201]) (authenticated bits=0) by smtp.aegee.org (8.14.5/8.14.5) with ESMTP id q6FAImoE008344 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for <11921 <at> debbugs.gnu.org>; Sun, 15 Jul 2012 10:18:49 GMT Message-ID: <500298FF.5080008@HIDDEN> Date: Sun, 15 Jul 2012 12:18:39 +0200 From: =?UTF-8?Q?=D0=94=D0=B8=D0=BB=D1=8F=D0=BD_?= =?UTF-8?Q?=D0=9F=D0=B0=D0=BB=D0=B0=D1=83=D0=B7=D0=BE=D0=B2?= <dilyan.palauzov@HIDDEN> User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------080203090304070105030608" X-Virus-Scanned: clamav-milter 0.97.5 at aegeeserv X-Virus-Status: Clean X-DKIM-Status: pass [(aegee.org) - 129.13.131.80] X-DKIM-Status: pass [(dkim+MSA-ssl@HIDDEN) - 129.13.131.80] X-Spam-Score: -1.9 (-) 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: -1.9 (-) This is a multi-part message in MIME format. --------------080203090304070105030608 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hello, the problem is caused by link_all_deplibs=no and the attached package demonstrates the configuration causing the problem. Any idea how to compile src/c.c , when link_all_deplibs is for some reason set by the system to no? Със здраве Дилян --------------080203090304070105030608 Content-Type: application/octet-stream; name="pack-0.2.tar.bz2" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="pack-0.2.tar.bz2" QlpoOTFBWSZTWQfpHe8AA1J/hsaQRABYZ/+PP+/+jv/v3xoABRAAgAhAAptZ24Od2bCSKTKe SeNUyNNMjTQDRoaAAABoxABkhkCpoAaAyNDQAAaGgDQAAIpQSaYT1DTIDQNGgDQABoAA0NBJ KTSPU2gmmjT1GBNMCMgekaZDDUaNNNMHwDh6vLukeK7Fpyw0IIiIKZ7gwURDCRWRQM/Rt2g+ dq3WCuAMSCGMVeqBWZ70flASDPeVABxQHMBhRkB7MDzXKs1m7NgdVJ7BSggnkIaqM4LGCqLb qAvO2jfZr3mTDLjyRTJUwxbv5hijMLDNTs2vBvVFUOBgfEChYuoTE+jQzvkd2aK7tCdJmBkP IGsgrEeQCCEFncAQVAXxjiUHy5FA7neAaAaihXhJQYBvQjKzUSJj78suIDSvQEsznoYAFCyA FJOS+AZsAb0lYmYWMn0g9YF4cQj5OHOk0pEgigCXhCCFAJoGDIYAGhAo6Qg6VkwUrEAo04Uo GLKihHLGwQJVaaRaYD2AMSoF0GpA9tfBvhyd3Bs6Dd/rtyS+/hHnA+MAhC1FHiCU1Y1NI3DK NZsLl2QpgMzYqbNEVaJSw7FjuPw6wONsYTlGWoQooMN5UR1QeR5cNn3VEL9EJ781stMqCCnp InrsRPVU9A8ktzjRgwXrd63xU2rJTYiisZc/DJHy1CNRuzquCyByIoEc83U5FDqQoZg4Cjdu JCeBPj5INTDJW+M4meGC+DPcJEnRsTzpgsA18+YG/RUj1i2Wgada6dr1a2jMBlSInBd6r2Me fWkLiFIThZTgpaSWyRsMZUmhUz3+ZVCR1rYkTUgvsF8fvUvpg/f7MpBZkAVNAVq9UF0guV0F PHmYZkQIjAvbbWfEmk9VfaDhBmByAatmIisDX7yV2VH/F3JFOFCQB+kd7w== --------------080203090304070105030608 Content-Type: text/x-vcard; charset=utf-8; name="dilyan_palauzov.vcf" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="dilyan_palauzov.vcf" YmVnaW46dmNhcmQNCmZuO3F1b3RlZC1wcmludGFibGU6PUQwPTk0PUQwPUI4PUQwPUJCPUQx PThGPUQwPUJEID1EMD05Rj1EMD1CMD1EMD1CQj1EMD1CMD1EMT04Mz1EMD1CNz1EMD1CRT0N Cgk9RDA9QjINCm47cXVvdGVkLXByaW50YWJsZTtxdW90ZWQtcHJpbnRhYmxlOj1EMD05Rj1E MD1CMD1EMD1CQj1EMD1CMD1EMT04Mz1EMD1CNz1EMD1CRT1EMD1CMjs9RDA9OTQ9RDA9Qjg9 RDA9QkI9RDE9OEY9RDA9QkQNCmVtYWlsO2ludGVybmV0OmRpbHlhbi5wYWxhdXpvdkBhZWdl ZS5vcmcNCnRlbDtob21lOis0OS03MjEtOTQxOTMyNzANCnRlbDtjZWxsOis0OS0xNjItNDA5 MTE3Mg0Kbm90ZTpzaXA6ODM3MkBhZWdlZS5vcmcNCnZlcnNpb246Mi4xDQplbmQ6dmNhcmQN Cg0K --------------080203090304070105030608--
X-Loop: help-debbugs@HIDDEN Subject: bug#11921: libtool --mode=link with indirectly involved libraries Resent-From: Roumen Petrov <bugtrack@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-CC: bug-libtool@HIDDEN Resent-Date: Mon, 23 Jul 2012 19:09:02 +0000 Resent-Message-ID: <handler.11921.B11921.134307048730548 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 11921 X-GNU-PR-Package: libtool X-GNU-PR-Keywords: To: =?UTF-8?Q?=D0=94=D0=B8=D0=BB=D1=8F=D0=BD_?= =?UTF-8?Q?=D0=9F=D0=B0=D0=BB=D0=B0=D1=83=D0=B7=D0=BE=D0=B2?= <dilyan.palauzov@HIDDEN> Cc: 11921 <at> debbugs.gnu.org Received: via spool by 11921-submit <at> debbugs.gnu.org id=B11921.134307048730548 (code B ref 11921); Mon, 23 Jul 2012 19:09:02 +0000 Received: (at 11921) by debbugs.gnu.org; 23 Jul 2012 19:08:07 +0000 Received: from localhost ([127.0.0.1]:33518 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1StNzB-0007wa-6P for submit <at> debbugs.gnu.org; Mon, 23 Jul 2012 15:08:07 -0400 Received: from smtp-out1.superhosting.bg ([91.196.127.1]:43847) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <bugtrack@HIDDEN>) id 1StNz7-0007w8-Ks for 11921 <at> debbugs.gnu.org; Mon, 23 Jul 2012 15:08:03 -0400 Received: from rila.superhosting.bg ([91.196.124.212]) by smtp-out1.superhosting.bg with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from <bugtrack@HIDDEN>) id 1StNsg-000422-Oq; Mon, 23 Jul 2012 22:01:24 +0300 Received: from [78.128.48.21] (port=39967 helo=[192.168.0.10]) by rila.superhosting.bg with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.77) (envelope-from <bugtrack@HIDDEN>) id 1StNsg-003lS4-G5; Mon, 23 Jul 2012 22:01:22 +0300 Message-ID: <500D9F82.6020806@HIDDEN> Date: Mon, 23 Jul 2012 22:01:22 +0300 From: Roumen Petrov <bugtrack@HIDDEN> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Firefox/14.0.1 SeaMonkey/2.11 MIME-Version: 1.0 References: <4FFEB2E8.4080804@HIDDEN> In-Reply-To: <4FFEB2E8.4080804@HIDDEN> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-SA-Score: -1.9 X-Spam-Score: -1.9 (-) 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: -1.9 (-) Дилян Палаузов wrote: > Hello, > > I use libtool-2.4.2. In the Makefile.am I have > > lib_LTLIBRARIES = libA.a libB.la > libA_la_SOURCES = ... > libB_la_SOURCES = ... > libB_la_LIBADD = libA.la > bin_PROGRAMS = c > c_SOURCES = ... > c_LDADD = libB.la > > This creates a file libB.la which lists libA.la (with its full path) > under dependency_libs . > > Executing "make" leads to > > libtool --tag=CC --mode=link gcc -o c libB.la > > And now, on my system this expands (correctly) to > libtool: link: gcc -o c /.libs/libB.so /.libs/libA.so > > but on another system it resolves to > libtool: link: gcc -o c /.libs/libB.so > -> ERROR > ld: c.o: undefined reference to symbol 'A' > ld: note: 'A' is defined in DSO libA.so.0 so try adding it to the > linker command line > libA.so.0: could not read symbols: Invalid operation > collect2: ld returned 1 exit status > Look like debian based distribution. > My question is: > > Why is libB.la sometimes expanded by libtool --mode=link v2.4.2 to > "libB.so libA.so" and sometimes only to "libB.so"? https://bugs.launchpad.net/ubuntu/+source/libtool/+bug/258491 ? > > Thanks very much in advance for your answer > Дилян Roumen
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.