X-Loop: help-debbugs@HIDDEN Subject: bug#9322: Linking static libs into shared libs on HP-UX Resent-From: "Daniel Richard G." <skunk@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-To: owner <at> debbugs.gnu.org Resent-CC: bug-libtool@HIDDEN Resent-Date: Thu, 18 Aug 2011 17:41:02 +0000 Resent-Message-ID: <handler.9322.B.131368924121467 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 9322 X-GNU-PR-Package: libtool X-GNU-PR-Keywords: To: 9322 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-libtool@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.131368924121467 (code B ref -1); Thu, 18 Aug 2011 17:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Aug 2011 17:40:41 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1Qu6a6-0005a9-CZ for submit <at> debbugs.gnu.org; Thu, 18 Aug 2011 13:40:41 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <skunk@HIDDEN>) id 1Qu6a1-0005a0-Oa for submit <at> debbugs.gnu.org; Thu, 18 Aug 2011 13:40:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <skunk@HIDDEN>) id 1Qu6Y4-0000FL-Fv for submit <at> debbugs.gnu.org; Thu, 18 Aug 2011 13:38:33 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:59065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <skunk@HIDDEN>) id 1Qu6Y4-0000FG-DF for submit <at> debbugs.gnu.org; Thu, 18 Aug 2011 13:38:32 -0400 Received: from eggs.gnu.org ([140.186.70.92]:33649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <skunk@HIDDEN>) id 1Qu6Y3-0003GR-AA for bug-libtool@HIDDEN; Thu, 18 Aug 2011 13:38:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <skunk@HIDDEN>) id 1Qu6Y2-0000F5-By for bug-libtool@HIDDEN; Thu, 18 Aug 2011 13:38:31 -0400 Received: from out2.smtp.messagingengine.com ([66.111.4.26]:55424) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <skunk@HIDDEN>) id 1Qu6Y2-0000F1-5y for bug-libtool@HIDDEN; Thu, 18 Aug 2011 13:38:30 -0400 Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id AB903234D2 for <bug-libtool@HIDDEN>; Thu, 18 Aug 2011 13:38:29 -0400 (EDT) Received: from web2.messagingengine.com ([10.202.2.212]) by compute1.internal (MEProxy); Thu, 18 Aug 2011 13:38:29 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:subject:date; s=smtpout; bh=JcHmgaZ+quBAa2/rneAQZCKbxkw=; b=tfyQ0Kl7QES71fMv7vmfiVXAhtQ1 TKmxLr2QpxTRM0julc6w1ursZtCjPpOFhGF2O5hOw+6OdugHDwaIeSutF26LNv4x pzYy4DugHiHvdNx71ZBmShOG/IZg99V2bs0/83U2vOwNZeHdMFti2phCfIMlcxSg U0SNNLHn7NvgfHI= Received: by web2.messagingengine.com (Postfix, from userid 99) id 755063825AC; Thu, 18 Aug 2011 13:38:29 -0400 (EDT) Message-Id: <1313689109.29959.140258131141577@HIDDEN> X-Sasl-Enc: mCRfeWyP+ZpsdrvlwI/iKAxXPaEgzS5V0mBMWG0TomIq 1313689109 From: "Daniel Richard G." <skunk@HIDDEN> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" X-Mailer: MessagingEngine.com Webmail Interface Date: Thu, 18 Aug 2011 13:38:29 -0400 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.3 (------) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 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.3 (------) Hello, I am building shared libraries on HP-UX using Libtool 2.4. A large part of the code in these comes from static libraries (compiled in PIC mode) specified via *_la_LIBADD in Automake. This works perfectly on other platforms, but on HP-UX, Libtool complains with *** Warning: This system can not link to static lib archive libfoo.la. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. and I end up with very small shared libraries that do not work. However, if I edit the libtool script to set deplibs_check_method=pass_all then the libraries are linked in without issue, and I get nice, large shared libraries with no missing symbols. This is the case for HP-UX on both PA-RISC and Itanium, using the HP toolchain and linker. (I can provide specific version numbers on any of these elements if needed.) I think the premise of "This system can not link to static lib archive" needs to be revisited. --Daniel -- NAME = Daniel Richard G. _\|/_ Remember, skunks MAIL = skunk@HIDDEN (/o|o\) _- don't smell bad--- MAIL+= skunk@HIDDEN < (^),> it's the people who WWW = (not there yet!) / \ annoy us that do!
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: "Daniel Richard G." <skunk@HIDDEN> Subject: bug#9322: Acknowledgement (Linking static libs into shared libs on HP-UX) Message-ID: <handler.9322.B.131368924121467.ack <at> debbugs.gnu.org> References: <1313689109.29959.140258131141577@HIDDEN> X-Gnu-PR-Message: ack 9322 X-Gnu-PR-Package: libtool Reply-To: 9322 <at> debbugs.gnu.org Date: Thu, 18 Aug 2011 17:41:02 +0000 Thank you for filing a new bug report with GNU. 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 9322 <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 9322: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D9322 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.