From owner-freebsd-arch@FreeBSD.ORG Mon May 12 14:26:09 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D7E937B401 for ; Mon, 12 May 2003 14:26:09 -0700 (PDT) Received: from kientzle.com (h-66-166-149-50.SNVACAID.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6801243FB1 for ; Mon, 12 May 2003 14:26:08 -0700 (PDT) (envelope-from kientzle@acm.org) Received: from acm.org (big.x.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id h4CLPttJ017529; Mon, 12 May 2003 14:25:56 -0700 (PDT) (envelope-from kientzle@acm.org) Message-ID: <3EC011C1.7020100@acm.org> Date: Mon, 12 May 2003 14:27:29 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.6) Gecko/20011206 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gordon Tetlow , imp@bsdimp.com, freebsd-arch@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: PATCH: Dynamic /bin support X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kientzle@acm.org List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2003 21:26:09 -0000 > Tim posted this a while ago to hackers@. It looked like it was > further along than what's been posted here. Just to clarify, my /rescue patches are, in a sense, orthogonal to what Gordon's doing here, although they are an important part of getting to a fully-dynamic system. About six months ago, Nate Lawson and I had a discussion with Luke Mewburn of NetBSD about dynamic linking. Luke outlined the following strategy: 1) Get /rescue working. This way, you'll be able to recover when you screw up badly. ;-) This is also an absolute prerequisite to getting wide support for a fully-dynamic system. 2) Double-check load path defaults in ld-elf.so. 3) Move critical libraries to /lib (with compatibility symlinks from /usr/lib, of course) 4) Implement a big knob for selecting fully-dynamic or "classic" system. I've done the first part; it's just waiting to get committed. Gordon is working on step #3. Gordon should also note that, in order to get all of /bin and /sbin into /rescue, I had to make a definitive list of required libs. Check out the Makefile, it's all in there. Tim