From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "John David Anglin" Newsgroups: gmane.lisp.guile.bugs Subject: Re: Support for shared libraries is broken under hpux Date: Tue, 4 Nov 2003 16:52:02 -0500 (EST) Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Message-ID: <200311042152.hA4Lq2ce008540@hiauly1.hia.nrc.ca> References: <87wuafx1jk.fsf@zip.com.au> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1067983168 26391 80.91.224.253 (4 Nov 2003 21:59:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 Nov 2003 21:59:28 +0000 (UTC) Cc: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Nov 04 22:59:26 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AH9Cv-0006Xg-00 for ; Tue, 04 Nov 2003 22:59:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AH9Ca-0000a4-GX for guile-bugs@m.gmane.org; Tue, 04 Nov 2003 16:59:04 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AH97Z-0007Cr-MF for bug-guile@gnu.org; Tue, 04 Nov 2003 16:53:53 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AH96q-0006rR-E8 for bug-guile@gnu.org; Tue, 04 Nov 2003 16:53:39 -0500 Original-Received: from [132.246.100.193] (helo=hiauly1.hia.nrc.ca) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AH95r-00068t-7N for bug-guile@gnu.org; Tue, 04 Nov 2003 16:52:07 -0500 Original-Received: from hiauly1.hia.nrc.ca (hiauly1.hia.nrc.ca [127.0.0.1] (may be forged)) by hiauly1.hia.nrc.ca (8.12.9-20030917/8.12.9) with ESMTP id hA4Lq32v008542 for ; Tue, 4 Nov 2003 16:52:04 -0500 (EST) Original-Received: (from dave@localhost) by hiauly1.hia.nrc.ca (8.12.9-20030917/8.12.9/Submit) id hA4Lq2ce008540; Tue, 4 Nov 2003 16:52:02 -0500 (EST) Original-To: user42@zip.com.au (Kevin Ryde) In-Reply-To: <87wuafx1jk.fsf@zip.com.au> from "Kevin Ryde" at Nov 5, 2003 07:32:31 am X-Mailer: ELM [version 2.4 PL25] X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Bug reports for GUILE, GNU's Ubiquitous Extension Language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.bugs:992 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.bugs:992 > "John David Anglin" writes: > > > > On hpux, libcrypt is only available as an archive library. Thus, it's > > not particularly a great idea to linked it into a shared library. > > Do you mean it can't be used at all from a shared library? Might have > to exclude support for it in that case. In general, linking an archive library into a shared library can lead to problems with duplication of routines and static data. This is a problem if you have two libraries, or a library and main code which both needed to be linked against an archive library. It can be done if the visibility of symbols is limited to library. Looking at libcrypt.a for hpux 10.20, 11.00 and 11.11, it seems to be essentially empty, so it probably doesn't matter or need to be used. -bash-2.05b$ nm /usr/lib/libcrypt.a Symbols from /usr/lib/libcrypt.a[hpux_rel.o]: Name Value Scope Type Subspace DS$hpux_rel |1073741824|static|data |$DATA$ __emptylib | 0|extern|entry |$CODE$ Hope that helps. Dave -- J. David Anglin dave.anglin@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://mail.gnu.org/mailman/listinfo/bug-guile