From unknown Tue Aug 19 06:31:24 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#16452 <16452@debbugs.gnu.org> To: bug#16452 <16452@debbugs.gnu.org> Subject: Status: opt_duplicate_compiler_generated_deps is harmful on Solaris Reply-To: bug#16452 <16452@debbugs.gnu.org> Date: Tue, 19 Aug 2025 13:31:24 +0000 retitle 16452 opt_duplicate_compiler_generated_deps is harmful on Solaris reassign 16452 libtool submitter 16452 Rainer Orth severity 16452 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 15 07:59:36 2014 Received: (at submit) by debbugs.gnu.org; 15 Jan 2014 12:59:37 +0000 Received: from localhost ([127.0.0.1]:51134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W3Q4G-00008R-Dm for submit@debbugs.gnu.org; Wed, 15 Jan 2014 07:59:36 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34648) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W3Q4D-00008G-Ad for submit@debbugs.gnu.org; Wed, 15 Jan 2014 07:59:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3Q46-0007sa-Py for submit@debbugs.gnu.org; Wed, 15 Jan 2014 07:59:32 -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]:47782) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3Q46-0007sU-MP for submit@debbugs.gnu.org; Wed, 15 Jan 2014 07:59:26 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3Q41-0006La-4T for bug-libtool@gnu.org; Wed, 15 Jan 2014 07:59:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3Q3u-0007q0-UV for bug-libtool@gnu.org; Wed, 15 Jan 2014 07:59:21 -0500 Received: from snape.cebitec.uni-bielefeld.de ([129.70.160.84]:43483 helo=smtp-relay.CeBiTec.Uni-Bielefeld.DE) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3Q3u-0007pX-OZ for bug-libtool@gnu.org; Wed, 15 Jan 2014 07:59:14 -0500 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id E9567C4F for ; Wed, 15 Jan 2014 13:59:12 +0100 (CET) X-Virus-Scanned: amavisd-new at cebitec.uni-bielefeld.de Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id b3rS-ZVfE+RG for ; Wed, 15 Jan 2014 13:59:11 +0100 (CET) Received: from lokon.CeBiTec.Uni-Bielefeld.DE (lokon.CeBiTec.Uni-Bielefeld.DE [129.70.161.110]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id 6ABF2C4D for ; Wed, 15 Jan 2014 13:59:11 +0100 (CET) Received: (from ro@localhost) by lokon.CeBiTec.Uni-Bielefeld.DE (8.14.5+Sun/8.14.5/Submit) id s0FCxBUE018011; Wed, 15 Jan 2014 13:59:11 +0100 (MET) X-Authentication-Warning: lokon.CeBiTec.Uni-Bielefeld.DE: ro set sender to ro@CeBiTec.Uni-Bielefeld.DE using -f From: Rainer Orth To: bug-libtool@gnu.org Subject: opt_duplicate_compiler_generated_deps is harmful on Solaris Date: Wed, 15 Jan 2014 13:59:11 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Solaris 10 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 (-----) As described in GCC bug PR target/59788 Mixing libc and libgcc_s unwinders on 64-bit Solaris 10+/x86 breaks EH http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788 linking e.g. C++ code with -Wl,-Bdirect on 64-bit Solaris 10+/x86 causes unwinding failures caused by mixing the libc and libgcc_s unwinders in a single executable. I've fixed this by a patch to cause every shared object to be linked with a mapfile to force direct binding to the libgcc_s unwinder, avoiding the harmful mixing. Unfortunately, for this change to work requires to disable the opt_duplicate_compiler_generated_deps optimization (included in that patch for the copy of libtool in the gcc tree): diff --git a/ltmain.sh b/ltmain.sh --- a/ltmain.sh +++ b/ltmain.sh @@ -976,7 +976,7 @@ func_enable_tag () case $host in - *cygwin* | *mingw* | *pw32* | *cegcc*) + *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* ) # don't eliminate duplications in $postdeps and $predeps opt_duplicate_compiler_generated_deps=: ;; I think that patch should go into upstream libtool as well, although this won't help for all the copies of libtool already included in released packages. As described in the PR, I'm uncertain how to move forward here. Suggestions? Thanks. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 17 16:18:54 2014 Received: (at 16452-done) by debbugs.gnu.org; 17 Jan 2014 21:18:54 +0000 Received: from localhost ([127.0.0.1]:55583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W4GoY-0003ps-73 for submit@debbugs.gnu.org; Fri, 17 Jan 2014 16:18:54 -0500 Received: from caiajhbdcaid.dreamhost.com ([208.97.132.83]:55308 helo=homiemail-a20.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W4GoV-0003pg-9e for 16452-done@debbugs.gnu.org; Fri, 17 Jan 2014 16:18:52 -0500 Received: from homiemail-a20.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a20.g.dreamhost.com (Postfix) with ESMTP id A6C667EC072; Fri, 17 Jan 2014 13:18:50 -0800 (PST) Received: from [10.119.72.54] (unknown [23.82.46.155]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: gary@vaughan.pe) by homiemail-a20.g.dreamhost.com (Postfix) with ESMTPSA id 0E77F7EC069; Fri, 17 Jan 2014 13:18:44 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: bug#16452: opt_duplicate_compiler_generated_deps is harmful on Solaris From: "Gary V. Vaughan" In-Reply-To: Date: Sat, 18 Jan 2014 10:18:39 +1300 Content-Transfer-Encoding: 7bit Message-Id: <5ACD9FF7-973F-45F7-B178-476D2131F767@gnu.org> References: To: Rainer Orth X-Mailer: Apple Mail (2.1827) X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16452-done Cc: 16452-done@debbugs.gnu.org, Libtool Patches List 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 Rainer, On Jan 16, 2014, at 1:59 AM, Rainer Orth wrote: > diff --git a/ltmain.sh b/ltmain.sh > --- a/ltmain.sh > +++ b/ltmain.sh > @@ -976,7 +976,7 @@ func_enable_tag () > > > case $host in > - *cygwin* | *mingw* | *pw32* | *cegcc*) > + *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* ) > # don't eliminate duplications in $postdeps and $predeps > opt_duplicate_compiler_generated_deps=: > ;; > > I think that patch should go into upstream libtool as well, although > this won't help for all the copies of libtool already included in > released packages. As described in the PR, I'm uncertain how to move > forward here. Suggestions? I took the liberty of writing a ChangeLog on your behalf. Pushed, this will be in the incoming release as long as testing doesn't find any issues. Thanks. Cheers, -- Gary V. Vaughan (gary AT gnu DOT org) From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 20 07:31:29 2014 Received: (at 16452-done) by debbugs.gnu.org; 20 Jan 2014 12:31:29 +0000 Received: from localhost ([127.0.0.1]:57894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W5E0m-0008I6-WA for submit@debbugs.gnu.org; Mon, 20 Jan 2014 07:31:29 -0500 Received: from snape.cebitec.uni-bielefeld.de ([129.70.160.84]:40697 helo=smtp-relay.CeBiTec.Uni-Bielefeld.DE) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W5E0k-0008Hw-2S for 16452-done@debbugs.gnu.org; Mon, 20 Jan 2014 07:31:26 -0500 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 312783E4; Mon, 20 Jan 2014 13:31:25 +0100 (CET) X-Virus-Scanned: amavisd-new at cebitec.uni-bielefeld.de Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QLrWDnazVM4t; Mon, 20 Jan 2014 13:31:24 +0100 (CET) Received: from lokon.CeBiTec.Uni-Bielefeld.DE (lokon.CeBiTec.Uni-Bielefeld.DE [129.70.161.110]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id 202AA3E3; Mon, 20 Jan 2014 13:31:24 +0100 (CET) Received: (from ro@localhost) by lokon.CeBiTec.Uni-Bielefeld.DE (8.14.5+Sun/8.14.5/Submit) id s0KCVNqG002672; Mon, 20 Jan 2014 13:31:23 +0100 (MET) X-Authentication-Warning: lokon.CeBiTec.Uni-Bielefeld.DE: ro set sender to ro@CeBiTec.Uni-Bielefeld.DE using -f From: Rainer Orth To: "Gary V. Vaughan" Subject: Re: bug#16452: opt_duplicate_compiler_generated_deps is harmful on Solaris References: <5ACD9FF7-973F-45F7-B178-476D2131F767@gnu.org> Date: Mon, 20 Jan 2014 13:31:23 +0100 In-Reply-To: <5ACD9FF7-973F-45F7-B178-476D2131F767@gnu.org> (Gary V. Vaughan's message of "Sat, 18 Jan 2014 10:18:39 +1300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.6 (/) X-Debbugs-Envelope-To: 16452-done Cc: 16452-done@debbugs.gnu.org, Libtool Patches List 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: -0.6 (/) Hi Gary, > I took the liberty of writing a ChangeLog on your behalf. I usually provide ChangeLog entries myself, but seeing there ins't a ChangeLog in libtool anymore, I forgot to check the git log messages instead. Sorry about that. > Pushed, this will be in the incoming release as long as testing doesn't find > any issues. Thanks. Thanks for the quick turnaround. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University From unknown Tue Aug 19 06:31:24 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 18 Feb 2014 12:24:03 +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