Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2002 02:18:23 -0500
From:      Jake Burkholder <jake@locore.ca>
To:        Max Khon <fjoe@iclub.nsu.ru>
Cc:        current@FreeBSD.ORG
Subject:   Re: libc size
Message-ID:  <20021105021823.T22677@locore.ca>
In-Reply-To: <20021105125454.A51180@iclub.nsu.ru>; from fjoe@iclub.nsu.ru on Tue, Nov 05, 2002 at 12:54:54PM %2B0600
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> <20021105125454.A51180@iclub.nsu.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Apparently, On Tue, Nov 05, 2002 at 12:54:54PM +0600,
	Max Khon said words to the effect of;

> 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?

Put it up somehere on the web or email it to the list.  I'd
be interested in looking at it.

Jake

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?20021105021823.T22677>