GNU bug report logs - #19810
C++ library fails to compile/link with Sun C++ 5.12 with libtool 2.4.5

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: libtool; Reported by: Bob Friesenhahn <bfriesen@HIDDEN>; dated Sat, 7 Feb 2015 22:34:01 UTC; Maintainer for libtool is bug-libtool@HIDDEN.

Message received at 19810 <at> debbugs.gnu.org:


Received: (at 19810) by debbugs.gnu.org; 8 Feb 2015 20:49:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 08 15:49:02 2015
Received: from localhost ([127.0.0.1]:37646 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YKYms-0001tG-BN
	for submit <at> debbugs.gnu.org; Sun, 08 Feb 2015 15:49:02 -0500
Received: from blade.simplesystems.org ([65.66.246.74]:35781)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <bfriesen@HIDDEN>) id 1YKYmp-0001sw-8R
 for 19810 <at> debbugs.gnu.org; Sun, 08 Feb 2015 15:48:59 -0500
Received: from freddy.simplesystems.org (freddy.simplesystems.org
 [65.66.246.65])
 by blade.simplesystems.org (8.14.4+Sun/8.14.4) with ESMTP id t18Kmpib010145;
 Sun, 8 Feb 2015 14:48:51 -0600 (CST)
Date: Sun, 8 Feb 2015 14:48:51 -0600 (CST)
From: Bob Friesenhahn <bfriesen@HIDDEN>
X-X-Sender: bfriesen@HIDDEN
To: "Gary V. Vaughan" <gary@HIDDEN>
Subject: Re: bug#19810: C++ library fails to compile/link with Sun C++ 5.12
 with libtool 2.4.5
In-Reply-To: <21829688-8A70-4F42-9C90-AB5C8BC4BE48@HIDDEN>
Message-ID: <alpine.GSO.2.01.1502081441310.3653@HIDDEN>
References: <alpine.GSO.2.01.1502071618590.3653@HIDDEN>
 <21829688-8A70-4F42-9C90-AB5C8BC4BE48@HIDDEN>
User-Agent: Alpine 2.01 (GSO 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2
 (blade.simplesystems.org [65.66.246.90]);
 Sun, 08 Feb 2015 14:48:51 -0600 (CST)
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 19810
Cc: "19810 <at> debbugs.gnu.org" <19810 <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
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: 0.0 (/)

On Sun, 8 Feb 2015, Gary V. Vaughan wrote:
>
> I plan to roll a release today or tomorrow, so please commit a fix 
> or revert changeset before then if you'd like to fix this bug before 
> then!

I doubt that this issue can be resolved in that time-frame.  I am 
unsure if this failure is due to this specific compiler version (which 
happened to be invoked under OpenIndiana), or would be a 
commonly-occuring failure.

The latest Oracle Studio compiler (which I do not yet have) now 
supports something like 4 different C++ run-time libraries, now also 
including the GNU C++ library.  Understanding the permutations, and 
how to test for them would take research and testing.

Bob
-- 
Bob Friesenhahn
bfriesen@HIDDEN, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/




Information forwarded to bug-libtool@HIDDEN:
bug#19810; Package libtool. Full text available.

Message received at 19810 <at> debbugs.gnu.org:


Received: (at 19810) by debbugs.gnu.org; 8 Feb 2015 10:16:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 08 05:16:53 2015
Received: from localhost ([127.0.0.1]:37166 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YKOv7-0000A5-7j
	for submit <at> debbugs.gnu.org; Sun, 08 Feb 2015 05:16:53 -0500
Received: from sub3.mail.dreamhost.com ([69.163.253.7]:43292
 helo=homiemail-a101.g.dreamhost.com)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <gary@HIDDEN>) id 1YKOv4-00009w-9M
 for 19810 <at> debbugs.gnu.org; Sun, 08 Feb 2015 05:16:51 -0500
Received: from homiemail-a101.g.dreamhost.com (localhost [127.0.0.1])
 by homiemail-a101.g.dreamhost.com (Postfix) with ESMTP id 59095117E06C;
 Sun,  8 Feb 2015 02:16:49 -0800 (PST)
Received: from [192.168.1.13] (unknown [87.112.83.224])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: gary@HIDDEN)
 by homiemail-a101.g.dreamhost.com (Postfix) with ESMTPSA id 91995117E06A;
 Sun,  8 Feb 2015 02:16:48 -0800 (PST)
Content-Type: text/plain;
	charset=us-ascii
Mime-Version: 1.0 (1.0)
Subject: Re: bug#19810: C++ library fails to compile/link with Sun C++ 5.12
 with libtool 2.4.5
From: "Gary V. Vaughan" <gary@HIDDEN>
X-Mailer: iPhone Mail (12B466)
In-Reply-To: <alpine.GSO.2.01.1502071618590.3653@HIDDEN>
Date: Sun, 8 Feb 2015 10:16:40 +0000
Content-Transfer-Encoding: quoted-printable
Message-Id: <21829688-8A70-4F42-9C90-AB5C8BC4BE48@HIDDEN>
References: <alpine.GSO.2.01.1502071618590.3653@HIDDEN>
To: Bob Friesenhahn <bfriesen@HIDDEN>
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 19810
Cc: "19810 <at> debbugs.gnu.org" <19810 <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
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: 1.0 (+)

Hi Bob,

On Feb 7, 2015, at 10:33 PM, Bob Friesenhahn <bfriesen@HIDDEN> w=
rote:
>=20
> While attending to libtiff, I noticed that its small C++ library component=
 fails to link using Sun C++ 5.12 when using libtool 2.4.5. It succeeds to l=
ink with libtool 2.4.4.  Other tools used (in common) are autoconf 2.69 and a=
utomake 1.15.  No special CXXFLAGS were specified.
>=20
> Doing a diff of the successful and failing output, I see that libraries wh=
ich appeared before on the link line are now missing.
>=20
> Good:
>=20
>  libtool: link: ... -lm -library=3DCstd -library=3DCrun -lc   -O
>=20
> Bad:
>=20
>  libtool: link: ... -lm -lc   -O
>=20
> I assume that the problem was added on 2014-12-12 by this change:
>=20
>        libtool: more carefully avoid automatic -Cstd -Crun on Sun Pro CXX.=

>        * m4/libtool.m4 (_LT_FUNC_SUNCC_CSTD_ABI): New function factored ou=
t
>        of repeated code.  Take note of other known -Cstd incompatible
>        compiler flags.
>        (_LT_SYS_HIDDEN_LIBDEPS): Use it to determine whether -Cstd -Crun
>        can be safely added to postdeps with Sun Pro CXX.
>        * NEWS: Update.
>        * NO-THANKS: Add Marc Glisse.
>        Reported by Marc Glisse
>=20
> Bob

I plan to roll a release today or tomorrow, so please commit a fix or revert=
 changeset before then if you'd like to fix this bug before then!

Cheers,
Gary=20=




Information forwarded to bug-libtool@HIDDEN:
bug#19810; Package libtool. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 Feb 2015 22:33:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 07 17:33:56 2015
Received: from localhost ([127.0.0.1]:36909 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YKDwq-0007Yj-2l
	for submit <at> debbugs.gnu.org; Sat, 07 Feb 2015 17:33:56 -0500
Received: from eggs.gnu.org ([208.118.235.92]:60785)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <bfriesen@HIDDEN>) id 1YKDwn-0007YW-G8
 for submit <at> debbugs.gnu.org; Sat, 07 Feb 2015 17:33:54 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <bfriesen@HIDDEN>) id 1YKDwh-0004qz-Bp
 for submit <at> debbugs.gnu.org; Sat, 07 Feb 2015 17:33:48 -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]:60005)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bfriesen@HIDDEN>) id 1YKDwh-0004qv-9I
 for submit <at> debbugs.gnu.org; Sat, 07 Feb 2015 17:33:47 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34274)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bfriesen@HIDDEN>) id 1YKDwg-0001lL-8n
 for bug-libtool@HIDDEN; Sat, 07 Feb 2015 17:33:47 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <bfriesen@HIDDEN>) id 1YKDwd-0004qR-3I
 for bug-libtool@HIDDEN; Sat, 07 Feb 2015 17:33:46 -0500
Received: from blade.simplesystems.org ([65.66.246.74]:65359)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bfriesen@HIDDEN>) id 1YKDwc-0004p2-Rv
 for bug-libtool@HIDDEN; Sat, 07 Feb 2015 17:33:43 -0500
Received: from freddy.simplesystems.org (freddy.simplesystems.org
 [65.66.246.65])
 by blade.simplesystems.org (8.14.4+Sun/8.14.4) with ESMTP id t17MXZJK023551;
 Sat, 7 Feb 2015 16:33:35 -0600 (CST)
Date: Sat, 7 Feb 2015 16:33:35 -0600 (CST)
From: Bob Friesenhahn <bfriesen@HIDDEN>
X-X-Sender: bfriesen@HIDDEN
To: Libtool Bugs List <bug-libtool@HIDDEN>
Subject: C++ library fails to compile/link with Sun C++ 5.12 with libtool 2.4.5
Message-ID: <alpine.GSO.2.01.1502071618590.3653@HIDDEN>
User-Agent: Alpine 2.01 (GSO 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2
 (blade.simplesystems.org [65.66.246.90]);
 Sat, 07 Feb 2015 16:33:36 -0600 (CST)
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 <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
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: -5.0 (-----)

While attending to libtiff, I noticed that its small C++ library 
component fails to link using Sun C++ 5.12 when using libtool 2.4.5. 
It succeeds to link with libtool 2.4.4.  Other tools used (in common) 
are autoconf 2.69 and automake 1.15.  No special CXXFLAGS were 
specified.

Doing a diff of the successful and failing output, I see that 
libraries which appeared before on the link line are now missing.

Good:

   libtool: link: ... -lm -library=Cstd -library=Crun -lc   -O

Bad:

   libtool: link: ... -lm -lc   -O

I assume that the problem was added on 2014-12-12 by this change:

         libtool: more carefully avoid automatic -Cstd -Crun on Sun Pro CXX.
         * m4/libtool.m4 (_LT_FUNC_SUNCC_CSTD_ABI): New function factored out
         of repeated code.  Take note of other known -Cstd incompatible
         compiler flags.
         (_LT_SYS_HIDDEN_LIBDEPS): Use it to determine whether -Cstd -Crun
         can be safely added to postdeps with Sun Pro CXX.
         * NEWS: Update.
         * NO-THANKS: Add Marc Glisse.
         Reported by Marc Glisse

Bob
-- 
Bob Friesenhahn
bfriesen@HIDDEN, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/




Acknowledgement sent to Bob Friesenhahn <bfriesen@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-libtool@HIDDEN. Full text available.
Report forwarded to bug-libtool@HIDDEN:
bug#19810; Package libtool. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
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.