From owner-freebsd-current Mon Nov 4 22:55:52 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83FAC37B401 for ; Mon, 4 Nov 2002 22:55:51 -0800 (PST) Received: from mail.nsu.ru (mx.nsu.ru [193.124.215.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70D9143E3B for ; Mon, 4 Nov 2002 22:55:50 -0800 (PST) (envelope-from fjoe@iclub.nsu.ru) Received: from drweb by mail.nsu.ru with drweb-scanned (Exim 3.20 #1) id 188xcc-0000rb-00; Tue, 05 Nov 2002 12:55:34 +0600 Received: from iclub.nsu.ru ([193.124.215.97] ident=root) by mail.nsu.ru with esmtp (Exim 3.20 #1) id 188xcH-0000lJ-00; Tue, 05 Nov 2002 12:55:13 +0600 Received: from iclub.nsu.ru (fjoe@localhost [127.0.0.1]) by iclub.nsu.ru (8.12.6/8.12.6) with ESMTP id gA56sxFG051838; Tue, 5 Nov 2002 12:54:59 +0600 (NS) (envelope-from fjoe@iclub.nsu.ru) Received: (from fjoe@localhost) by iclub.nsu.ru (8.12.6/8.12.6/Submit) id gA56stIe051833; Tue, 5 Nov 2002 12:54:55 +0600 (NS) Date: Tue, 5 Nov 2002 12:54:54 +0600 From: Max Khon To: current@freebsd.org Cc: Tim Kientzle , Miguel Mendez , morganw@chemikals.org Subject: Re: libc size Message-ID: <20021105125454.A51180@iclub.nsu.ru> References: <3DC17C7F.9020308@acm.org> <20021031140542.W86715-100000@volatile.chemikals.org> <20021031220633.3acd0b53.flynn@energyhq.homeip.net> <3DC1AB26.5020708@acm.org> <20021103155858.3be6eda9.flynn@energyhq.homeip.net> <3DC6CB56.8090809@acm.org> <20021104215734.GA47193@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20021104215734.GA47193@dragon.nuxi.com>; from dev-null@NUXI.com on Mon, Nov 04, 2002 at 01:57:35PM -0800 X-Envelope-To: current@freebsd.org, kientzle@acm.org, flynn@energyhq.homeip.net, morganw@chemikals.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi, there! On Mon, Nov 04, 2002 at 01:57:35PM -0800, David O'Brien wrote: > > another 2.4M for /rescue. That makes it less > > impressive. I don't find the duplication appealing, either. > > (Why not just put the /rescue versions directly > > into /bin and /sbin? That would be smaller still, > > Because that would nullify one of the big reasons for making /bin and > /sbin shared -- so one can dlopen(3). We can't, for instance, get a > proper nsswitch implementation until we make /bin and /sbin dynamic. > > Before someone says you can dlopen() from static binaries in order to > implement nsswitch, please provide the patch proving it. Our best > FreeBSD minds don't think it can be done properly and sanely. I have the patch. Currently it is made against RELENG_4 and I have a couple of questions about alpha (however it works on alpha too with a few hacks). Unfortunately, jdp does not have enough time to review it and I have lack of time to port it to -current (that would not be that hard but since sparc64 is now Tier-1 platform the patch should be ported to sparc64 too but I do not have sparc64 hardware and access to panther is very slow from my home). What is the right place to post the patch and test program demonstrating dlopen for statically linked programs? /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message