Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2002 12:54:54 +0600
From:      Max Khon <fjoe@iclub.nsu.ru>
To:        current@freebsd.org
Cc:        Tim Kientzle <kientzle@acm.org>, Miguel Mendez <flynn@energyhq.homeip.net>, morganw@chemikals.org
Subject:   Re: libc size
Message-ID:  <20021105125454.A51180@iclub.nsu.ru>
In-Reply-To: <20021104215734.GA47193@dragon.nuxi.com>; from dev-null@NUXI.com on Mon, Nov 04, 2002 at 01:57:35PM -0800
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021105125454.A51180>