From owner-freebsd-current Mon Jan 20 14:30:29 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id OAA03480 for current-outgoing; Mon, 20 Jan 1997 14:30:29 -0800 (PST) Received: from po1.glue.umd.edu (root@po1.glue.umd.edu [129.2.128.44]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id OAA03422; Mon, 20 Jan 1997 14:29:37 -0800 (PST) Received: from ginger.eng.umd.edu (ginger.eng.umd.edu [129.2.103.20]) by po1.glue.umd.edu (8.8.3/8.7.3) with ESMTP id RAA29125; Mon, 20 Jan 1997 17:29:18 -0500 (EST) Received: from localhost (chuckr@localhost) by ginger.eng.umd.edu (8.8.3/8.7.3) with SMTP id RAA02094; Mon, 20 Jan 1997 17:29:17 -0500 (EST) X-Authentication-Warning: ginger.eng.umd.edu: chuckr owned process doing -bs Date: Mon, 20 Jan 1997 17:29:16 -0500 (EST) From: Chuck Robey X-Sender: chuckr@ginger.eng.umd.edu To: Terry Lambert cc: jdp@polstra.com, mark@grondar.za, peter@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: Static binaries and dlopen(3) with a new crypt(3) lib. In-Reply-To: <199701202055.NAA16242@phaeton.artisoft.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 20 Jan 1997, Terry Lambert wrote: > > The main idea of statically linked stuff is to allow it to work in the > > absence of /usr. This sounds like it's getting close to breaking that, > > no? > > No. If the symbols are only resolved on reference, then they can be > present and unresolved without impacting operation. If a reference > occurs to the symbol and the backing page is not mapped because the > object was not there, *then* a failure can occur. > > How well does dlopen() work in static binaries now? ...not at all. I didn't ask how well dynamic linking works for statically linked apps, my only interest is in maintaining safety for critical things, needed when my system puts it's legs in the air and gasps. Even for dynamic linking, don't break that! ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@eng.umd.edu | communications topic, C programming, and Unix. 9120 Edmonston Ct #302 | Greenbelt, MD 20770 | I run Journey2 and picnic, both FreeBSD (301) 220-2114 | version 3.0 current -- and great FUN! ----------------------------+-----------------------------------------------