GNU bug report logs -
#9322
Linking static libs into shared libs on HP-UX
Previous Next
To reply to this bug, email your comments to 9322 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-libtool <at> gnu.org
:
bug#9322
; Package
libtool
.
(Thu, 18 Aug 2011 17:41:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Daniel Richard G." <skunk <at> iSKUNK.ORG>
:
New bug report received and forwarded. Copy sent to
bug-libtool <at> gnu.org
.
(Thu, 18 Aug 2011 17:41:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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 <at> iSKUNK.ORG (/o|o\) _- don't smell bad---
MAIL+= skunk <at> alum.MIT.EDU < (^),> it's the people who
WWW = (not there yet!) / \ annoy us that do!
This bug report was last modified 13 years and 303 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.