From owner-freebsd-current Thu Sep 24 14:01:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA14387 for freebsd-current-outgoing; Thu, 24 Sep 1998 14:01:21 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from yonge.cs.toronto.edu (yonge.cs.toronto.edu [128.100.1.8]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id OAA14375 for ; Thu, 24 Sep 1998 14:01:18 -0700 (PDT) (envelope-from dholland@cs.toronto.edu) Received: from qew.cs.toronto.edu ([128.100.1.13]) by yonge.cs.toronto.edu with SMTP id <86579-12114>; Thu, 24 Sep 1998 17:01:06 -0400 Received: by qew.cs.toronto.edu id <37930-17305>; Thu, 24 Sep 1998 16:58:39 -0400 Subject: Re: ELF ldconfig From: David Holland To: dholland@cs.toronto.edu (David Holland) Date: Thu, 24 Sep 1998 16:58:32 -0400 Cc: tlambert@primenet.com, dholland@cs.toronto.edu, peter@netplex.com.au, jabley@clear.co.nz, freebsd@xaa.iae.nl, freebsd-current@FreeBSD.ORG In-Reply-To: <98Sep20.194011edt.37911-17305@qew.cs.toronto.edu> from "David Holland" at Sep 20, 98 07:40:08 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <98Sep24.165839edt.37930-17305@qew.cs.toronto.edu> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > There's a linker option to use when building libraries that > > > eliminates this problem. In my opinion, it should be the default, but > > > it's not, because that's not how Solaris does it or some crap like > > > that. > > I can't find in my mail archives the argument I remember having over > this, and I also can't find an option that does this in GNU ld's > documentation. Grr. (Not that the binutils documentation is probably > up to date or anything.) I'm quite sure I remember being told it was > possible, though. > > You can at least make sure that required other libraries get linked by > adding them to the link line when building a shared library. > > I'm going to poke around and see what I can find. All right, so I checked up on this, and discovered that either I was wrong or whoever told me was misinformed; the option does not exist. On the other hand, Richard Henderson told me he was about to be adding it to the current binutils snapshots, so with any luck we'll see it before too long. -- - David A. Holland | (please continue to send non-list mail to dholland@cs.utoronto.ca | dholland@hcs.harvard.edu. yes, I moved.) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message