Received: (at submit) by debbugs.gnu.org; 18 Aug 2011 17:40:41 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 18 13:40:41 2011 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> To: bug-libtool@HIDDEN MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" X-Mailer: MessagingEngine.com Webmail Interface Subject: Linking static libs into shared libs on HP-UX 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-Debbugs-Envelope-To: submit 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!
"Daniel Richard G." <skunk@HIDDEN>
:bug-libtool@HIDDEN
.
Full text available.owner <at> debbugs.gnu.org, bug-libtool@HIDDEN
:bug#9322
; Package libtool
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.