From unknown Wed Aug 20 05:17:22 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#9535 <9535@debbugs.gnu.org> To: bug#9535 <9535@debbugs.gnu.org> Subject: Status: sunpro and -library=stdcxx4 Reply-To: bug#9535 <9535@debbugs.gnu.org> Date: Wed, 20 Aug 2025 12:17:22 +0000 retitle 9535 sunpro and -library=3Dstdcxx4 reassign 9535 libtool submitter 9535 Marc Glisse severity 9535 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 17 14:05:54 2011 Received: (at submit) by debbugs.gnu.org; 17 Sep 2011 18:05:55 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R4zH0-0005B7-8N for submit@debbugs.gnu.org; Sat, 17 Sep 2011 14:05:54 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R4s3y-0006vi-Ag for submit@debbugs.gnu.org; Sat, 17 Sep 2011 06:23:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R4rzI-0004Gq-AM for submit@debbugs.gnu.org; Sat, 17 Sep 2011 06:19:09 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:35466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4rzI-0004Gm-8n for submit@debbugs.gnu.org; Sat, 17 Sep 2011 06:19:08 -0400 Received: from eggs.gnu.org ([140.186.70.92]:50731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4rzH-0008VW-9m for bug-libtool@gnu.org; Sat, 17 Sep 2011 06:19:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R4rzF-0004GJ-SQ for bug-libtool@gnu.org; Sat, 17 Sep 2011 06:19:07 -0400 Received: from mail1-relais-roc.national.inria.fr ([192.134.164.82]:61240) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4rzF-0004Fa-NW for bug-libtool@gnu.org; Sat, 17 Sep 2011 06:19:05 -0400 X-IronPort-AV: E=Sophos;i="4.68,397,1312149600"; d="scan'208";a="120210547" Received: from ip-133.net-81-220-116.brest.rev.numericable.fr (HELO laptop-mg.local) ([81.220.116.133]) by mail1-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 17 Sep 2011 12:19:02 +0200 Date: Sat, 17 Sep 2011 12:19:02 +0200 (CEST) From: Marc Glisse X-X-Sender: glisse@laptop-mg.saclay.inria.fr To: bug-libtool@gnu.org Subject: sunpro and -library=stdcxx4 Message-ID: User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII 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.6 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 17 Sep 2011 14:05:52 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) Hello, there was a commit in 2006 to support the sunpro option -library=stlport4: 2006-08-01 Albert Chin * libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS) [ solaris ]: Don't set $postdeps to "-lCstd -lCrun" if "-library=stlport4" set in CXXFLAGS as stlport4 C++ library incompatible with Cstd C++ library. Use '-library=Cstd -library=Crun' instead of '-lCstd -lCrun'. This compiler now also supports one more alternative (solaris-only): -library=stdcxx4 I assume it should receive the same treatment as -library=stlport4 ? -- Marc Glisse From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 03 14:00:49 2011 Received: (at 9535) by debbugs.gnu.org; 3 Oct 2011 18:00:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RAmoq-0006s7-Bd for submit@debbugs.gnu.org; Mon, 03 Oct 2011 14:00:49 -0400 Received: from pogma.xen.prgmr.com ([68.68.97.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RAmmR-0006ns-7X for 9535@debbugs.gnu.org; Mon, 03 Oct 2011 13:58:21 -0400 Received: from [10.8.0.6] (unknown [10.8.0.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pogma.xen.prgmr.com (Postfix) with ESMTP id E5499BF600; Mon, 3 Oct 2011 17:56:52 +0000 (UTC) X-DKIM: Sendmail DKIM Filter v2.8.3 pogma.xen.prgmr.com E5499BF600 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pogma.com; s=pogmail; t=1317664613; bh=eKW7QBpL8Ua/XG75nqdEY14UHICvOUEX9K2CfqCl1pA=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=N+wkd4pJHmOo0kfNswsQHDliVH+92+YK89LiOydLy2AzyVtGnqUBO9YrSBAbF4Rjy YOvU03baC79fFpBQ4/lbojmBo+5FY/6AfLKw8dxIaTp1poi9S2IR6PVHkvfod6oKuQ ISUlpQ4yt0e/d8JRGQxl0iDxe94z/yBkCpr4s+Qg= Message-ID: <4E89F764.4080409@pogma.com> Date: Mon, 03 Oct 2011 12:56:52 -0500 From: Peter O'Gorman User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Thunderbird/3.1.10 MIME-Version: 1.0 To: Marc Glisse Subject: Re: bug#9535: sunpro and -library=stdcxx4 References: In-Reply-To: Content-Type: multipart/mixed; boundary="------------090009020001090805030100" X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 9535 X-Mailman-Approved-At: Mon, 03 Oct 2011 14:00:47 -0400 Cc: 9535@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) This is a multi-part message in MIME format. --------------090009020001090805030100 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 09/17/2011 05:19 AM, Marc Glisse wrote: > Hello, > > there was a commit in 2006 to support the sunpro option -library=stlport4: > > 2006-08-01 Albert Chin > > * libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS) [ solaris ]: > Don't set $postdeps to "-lCstd -lCrun" if > "-library=stlport4" set in CXXFLAGS as stlport4 C++ > library incompatible with Cstd C++ library. Use > '-library=Cstd -library=Crun' instead of '-lCstd -lCrun'. > > > This compiler now also supports one more alternative (solaris-only): > -library=stdcxx4 > I assume it should receive the same treatment as -library=stlport4 ? > Is this all that's required? Peter --------------090009020001090805030100 Content-Type: text/x-patch; name="library_stdcxx4.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="library_stdcxx4.patch" diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 0de7f3c..3b17b8f 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -7116,11 +7116,11 @@ solaris*) # The more standards-conforming stlport4 library is # incompatible with the Cstd library. Avoid specifying # it if it's in CXXFLAGS. Ignore libCrun as # -library=stlport4 depends on it. case " $CXX $CXXFLAGS " in - *" -library=stlport4 "*) + *" -library=stlport4 "*|*" -library=stdcxx4 "*) solaris_use_stlport4=yes ;; esac # Adding this requires a known-good setup of shared libraries for --------------090009020001090805030100-- From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 03 14:12:33 2011 Received: (at 9535) by debbugs.gnu.org; 3 Oct 2011 18:12:33 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RAn0C-00079B-S3 for submit@debbugs.gnu.org; Mon, 03 Oct 2011 14:12:33 -0400 Received: from mail1-relais-roc.national.inria.fr ([192.134.164.82]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RAn09-000791-UG for 9535@debbugs.gnu.org; Mon, 03 Oct 2011 14:12:32 -0400 X-IronPort-AV: E=Sophos;i="4.68,480,1312149600"; d="scan'208";a="122640472" Received: from ip-133.net-81-220-116.brest.rev.numericable.fr (HELO laptop-mg.local) ([81.220.116.133]) by mail1-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 03 Oct 2011 20:11:03 +0200 Date: Mon, 3 Oct 2011 20:11:00 +0200 (CEST) From: Marc Glisse X-X-Sender: glisse@laptop-mg.saclay.inria.fr To: Peter O'Gorman Subject: Re: bug#9535: sunpro and -library=stdcxx4 In-Reply-To: <4E89F764.4080409@pogma.com> Message-ID: References: <4E89F764.4080409@pogma.com> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: -8.6 (--------) X-Debbugs-Envelope-To: 9535 Cc: 9535@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -9.3 (---------) On Mon, 3 Oct 2011, Peter O'Gorman wrote: > On 09/17/2011 05:19 AM, Marc Glisse wrote: >> Hello, >> >> there was a commit in 2006 to support the sunpro option -library=stlport4: >> >> 2006-08-01 Albert Chin >> >> * libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS) [ solaris ]: >> Don't set $postdeps to "-lCstd -lCrun" if >> "-library=stlport4" set in CXXFLAGS as stlport4 C++ >> library incompatible with Cstd C++ library. Use >> '-library=Cstd -library=Crun' instead of '-lCstd -lCrun'. >> >> >> This compiler now also supports one more alternative (solaris-only): >> -library=stdcxx4 >> I assume it should receive the same treatment as -library=stlport4 ? > > Is this all that's required? I would guess so, but I don't currently have a solaris 11 handy to check. In any case it seems rather safe... (if user specifies -library=stdcxx4, don't add -library=Cstd which is incompatible) The option is documented here: http://download.oracle.com/docs/cd/E18659_01/html/821-1383/gkcai.html -- Marc Glisse From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 11 11:24:37 2014 Received: (at submit) by debbugs.gnu.org; 11 Dec 2014 16:24:37 +0000 Received: from localhost ([127.0.0.1]:42950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xz6Xd-0007ji-Ec for submit@debbugs.gnu.org; Thu, 11 Dec 2014 11:24:37 -0500 Received: from eggs.gnu.org ([208.118.235.92]:36184) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xz6Xb-0007jV-AH for submit@debbugs.gnu.org; Thu, 11 Dec 2014 11:24:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xz6XQ-0003H8-GJ for submit@debbugs.gnu.org; Thu, 11 Dec 2014 11:24:29 -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.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52391) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xz6XQ-0003H4-De for submit@debbugs.gnu.org; Thu, 11 Dec 2014 11:24:24 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xz6XL-0002K3-6X for bug-libtool@gnu.org; Thu, 11 Dec 2014 11:24:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xz6XF-0003E2-Sf for bug-libtool@gnu.org; Thu, 11 Dec 2014 11:24:19 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:42649) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xz6XF-0003DB-LD for bug-libtool@gnu.org; Thu, 11 Dec 2014 11:24:13 -0500 X-IronPort-AV: E=Sophos;i="5.07,558,1413237600"; d="scan'208";a="112721676" Received: from stedding.saclay.inria.fr (HELO stedding) ([193.55.250.194]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/AES128-SHA; 11 Dec 2014 17:24:10 +0100 Received: from glisse (helo=localhost) by stedding with local-esmtp (Exim 4.84) (envelope-from ) id 1Xz6XB-0007Tc-Sm for bug-libtool@gnu.org; Thu, 11 Dec 2014 17:24:09 +0100 Date: Thu, 11 Dec 2014 17:24:09 +0100 (CET) From: Marc Glisse X-X-Sender: glisse@stedding.saclay.inria.fr To: bug-libtool@gnu.org Subject: Re: sunpro and -library=stdcxx4 In-Reply-To: Message-ID: References: User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) On Sat, 17 Sep 2011, Marc Glisse wrote: > there was a commit in 2006 to support the sunpro option -library=stlport4: > > 2006-08-01 Albert Chin > > * libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS) [ solaris ]: > Don't set $postdeps to "-lCstd -lCrun" if > "-library=stlport4" set in CXXFLAGS as stlport4 C++ > library incompatible with Cstd C++ library. Use > '-library=Cstd -library=Crun' instead of '-lCstd -lCrun'. > > > This compiler now also supports one more alternative (solaris-only): > -library=stdcxx4 > I assume it should receive the same treatment as -library=stlport4 ? Looking at http://git.savannah.gnu.org/cgit/libtool.git/tree/m4/libtool.m4 the problem still seems present. Since then, several new ways of getting an incompatible ABI have appeared, the most important one being -std=c++11. Any -std=c++XX will give a gnu abi, as will -compat=g. If you don't want to maintain complicated volatile conditions, it would be simpler to remove the whole block of code that tries to add -library=Cstd -library=Crun. It is easier for users to add -library=Cstd if they need it than remove it when it breaks things. -- Marc Glisse From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 12 10:10:45 2014 Received: (at 9535) by debbugs.gnu.org; 12 Dec 2014 15:10:45 +0000 Received: from localhost ([127.0.0.1]:44084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzRrg-0004OT-G5 for submit@debbugs.gnu.org; Fri, 12 Dec 2014 10:10:44 -0500 Received: from sub3.mail.dreamhost.com ([69.163.253.7]:55319 helo=homiemail-a19.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzRrd-0004OJ-BG for 9535@debbugs.gnu.org; Fri, 12 Dec 2014 10:10:42 -0500 Received: from homiemail-a19.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a19.g.dreamhost.com (Postfix) with ESMTP id 6B5E4604076; Fri, 12 Dec 2014 07:10:40 -0800 (PST) Received: from [192.168.1.3] (79.191.90.146.dyn.plus.net [146.90.191.79]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: gary@vaughan.pe) by homiemail-a19.g.dreamhost.com (Postfix) with ESMTPSA id C3E23604069; Fri, 12 Dec 2014 07:10:39 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Subject: Re: bug#9535: sunpro and -library=stdcxx4 From: "Gary V. Vaughan" In-Reply-To: Date: Fri, 12 Dec 2014 15:10:37 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Marc Glisse X-Mailer: Apple Mail (2.1993) X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 9535 Cc: 9535@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Hi Marc, > On Dec 11, 2014, at 4:24 PM, Marc Glisse wrote: >=20 > On Sat, 17 Sep 2011, Marc Glisse wrote: >=20 >> there was a commit in 2006 to support the sunpro option = -library=3Dstlport4: >>=20 >> 2006-08-01 Albert Chin >>=20 >> * libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS) [ solaris ]: >> Don't set $postdeps to "-lCstd -lCrun" if >> "-library=3Dstlport4" set in CXXFLAGS as stlport4 C++ >> library incompatible with Cstd C++ library. Use >> '-library=3DCstd -library=3DCrun' instead of '-lCstd -lCrun'. >>=20 >>=20 >> This compiler now also supports one more alternative (solaris-only): = -library=3Dstdcxx4 >> I assume it should receive the same treatment as -library=3Dstlport4 = ? >=20 > Looking at = http://git.savannah.gnu.org/cgit/libtool.git/tree/m4/libtool.m4 the = problem still seems present. Since then, several new ways of getting an = incompatible ABI have appeared, the most important one being -std=3Dc++11.= Any -std=3Dc++XX will give a gnu abi, as will -compat=3Dg. >=20 > If you don't want to maintain complicated volatile conditions, it = would be simpler to remove the whole block of code that tries to add = -library=3DCstd -library=3DCrun. It is easier for users to add = -library=3DCstd if they need it than remove it when it breaks things. Thanks for the reminder. I applied this just now: = http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=3Db49ab52cb34a80aa= cf88698870649c7761e17c65 It doesn't change the logic of the 2006 patch, but it still seems wrong = to me actually. Shouldn't the generated libtool script be figuring out whether to add = -lCstd -lCrun every time it is called? Assuming the configure time CXX will be the only one = ever used is not ideal; and, worse, CXXFLAGS are not stored in libtool in any = circumstance, and yet configure determines the value of postdeps based on configure time CXXFLAGS = contents. Am I missing something, or is it better to move this machinery into = libtool itself? Cheers, --=20 Gary V. Vaughan (gary AT gnu DOT org)= From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 12 10:56:32 2014 Received: (at 9535) by debbugs.gnu.org; 12 Dec 2014 15:56:32 +0000 Received: from localhost ([127.0.0.1]:44093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzSa0-0005Wc-4R for submit@debbugs.gnu.org; Fri, 12 Dec 2014 10:56:32 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:5558) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzSZy-0005WO-4I for 9535@debbugs.gnu.org; Fri, 12 Dec 2014 10:56:30 -0500 X-IronPort-AV: E=Sophos;i="5.07,564,1413237600"; d="scan'208";a="113002634" Received: from ip-51.net-81-220-141.rev.numericable.fr (HELO laptop-mg.local) ([81.220.141.51]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 12 Dec 2014 16:56:23 +0100 Date: Fri, 12 Dec 2014 16:56:22 +0100 (CET) From: Marc Glisse X-X-Sender: glisse@laptop-mg.saclay.inria.fr To: "Gary V. Vaughan" Subject: Re: bug#9535: sunpro and -library=stdcxx4 In-Reply-To: Message-ID: References: User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 9535 Cc: 9535@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) On Fri, 12 Dec 2014, Gary V. Vaughan wrote: > I applied this just now: > > http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=b49ab52cb34a80aacf88698870649c7761e17c65 Thanks. > It doesn't change the logic of the 2006 patch, but it still seems wrong to me actually. To me as well, but it seemed more likely to work if I only suggested a small change ;-) > Shouldn't the generated libtool script be figuring out whether to add -lCstd -lCrun every > time it is called? Assuming the configure time CXX will be the only one ever used is not > ideal; and, worse, CXXFLAGS are not stored in libtool in any circumstance, and yet configure > determines the value of postdeps based on configure time CXXFLAGS contents. > > Am I missing something, or is it better to move this machinery into libtool itself? I guess it would be better to have it either completely in libtool (figure it out for each invocation) or completely in autoconf (let it add -library=Cstd to LDFLAGS for shared libraries), or not at all and let users specify CXX="CC -library=Cstd"... I don't have a strong opinion there. -- Marc Glisse From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 12 13:52:09 2014 Received: (at 9535) by debbugs.gnu.org; 12 Dec 2014 18:52:09 +0000 Received: from localhost ([127.0.0.1]:44186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzVJw-0001Qj-Sf for submit@debbugs.gnu.org; Fri, 12 Dec 2014 13:52:09 -0500 Received: from sub3.mail.dreamhost.com ([69.163.253.7]:47856 helo=homiemail-a17.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzVJu-0001QZ-3q for 9535@debbugs.gnu.org; Fri, 12 Dec 2014 13:52:07 -0500 Received: from homiemail-a17.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a17.g.dreamhost.com (Postfix) with ESMTP id 3E3A32B206D; Fri, 12 Dec 2014 10:52:05 -0800 (PST) Received: from [192.168.1.3] (79.191.90.146.dyn.plus.net [146.90.191.79]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: gary@vaughan.pe) by homiemail-a17.g.dreamhost.com (Postfix) with ESMTPSA id 1858C2B206A; Fri, 12 Dec 2014 10:52:03 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Subject: Re: bug#9535: sunpro and -library=stdcxx4 From: "Gary V. Vaughan" In-Reply-To: Date: Fri, 12 Dec 2014 18:52:01 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Marc Glisse X-Mailer: Apple Mail (2.1993) X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 9535 Cc: 9535@debbugs.gnu.org, close-9535@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Hi Marc, > On Dec 12, 2014, at 3:56 PM, Marc Glisse wrote: >=20 > On Fri, 12 Dec 2014, Gary V. Vaughan wrote: >=20 >> I applied this just now: >>=20 >> = http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=3Db49ab52cb34a80aa= cf88698870649c7761e17c65 >=20 > Thanks. >=20 >> It doesn't change the logic of the 2006 patch, but it still seems = wrong to me actually. >=20 > To me as well, but it seemed more likely to work if I only suggested a = small change ;-) True enough. Here's a better one given that you confirmed my fears of the original = being brain damaged: = http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=3D97f03a437983f106= e41de45a0d1baf5a3ec5f04d Cheers, --=20 Gary V. Vaughan (gary AT gnu DOT org)= From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 12 13:53:31 2014 Received: (at 9535-close) by debbugs.gnu.org; 12 Dec 2014 18:53:32 +0000 Received: from localhost ([127.0.0.1]:44190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzVLH-0001TA-Bv for submit@debbugs.gnu.org; Fri, 12 Dec 2014 13:53:31 -0500 Received: from sub3.mail.dreamhost.com ([69.163.253.7]:36119 helo=homiemail-a11.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzVLF-0001T2-1k for 9535-close@debbugs.gnu.org; Fri, 12 Dec 2014 13:53:29 -0500 Received: from homiemail-a11.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a11.g.dreamhost.com (Postfix) with ESMTP id 40D816E079 for <9535-close@debbugs.gnu.org>; Fri, 12 Dec 2014 10:53:28 -0800 (PST) Received: from [192.168.1.3] (79.191.90.146.dyn.plus.net [146.90.191.79]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: gary@vaughan.pe) by homiemail-a11.g.dreamhost.com (Postfix) with ESMTPSA id 8C0C96E076 for <9535-close@debbugs.gnu.org>; Fri, 12 Dec 2014 10:53:27 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Subject: Re: bug#9535: sunpro and -library=stdcxx4 From: Gary V. Vaughan In-Reply-To: Date: Fri, 12 Dec 2014 18:53:24 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <2515C811-34BD-4A9B-B40B-47068E2ED3EE@gnu.org> References: To: 9535-close@debbugs.gnu.org X-Mailer: Apple Mail (2.1993) X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 9535-close X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Hi Marc, > On Dec 12, 2014, at 3:56 PM, Marc Glisse wrote: >=20 > On Fri, 12 Dec 2014, Gary V. Vaughan wrote: >=20 >> I applied this just now: >>=20 >> = http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=3Db49ab52cb34a80aa= cf88698870649c7761e17c65 >=20 > Thanks. >=20 >> It doesn't change the logic of the 2006 patch, but it still seems = wrong to me actually. >=20 > To me as well, but it seemed more likely to work if I only suggested a = small change ;-) True enough. Here's a better one given that you confirmed my fears of the original = being brain damaged: = http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=3D97f03a437983f106= e41de45a0d1baf5a3ec5f04d Cheers, --=20 Gary V. Vaughan (gary AT gnu DOT org)= From unknown Wed Aug 20 05:17:22 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 10 Jan 2015 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator