Date: Wed, 21 Dec 2005 13:46:48 -0500 From: John Baldwin <jhb@freebsd.org> To: Adrian Steinmann <ast@marabu.ch> Cc: freebsd-hackers@freebsd.org, Ceri Davies <ceri@submonkey.net>, Dag-Erling Sm?rgrav <des@des.no> Subject: Re: Mostly static binaries with crunchgen Message-ID: <200512211346.50231.jhb@freebsd.org> In-Reply-To: <200512211645.RAA01319@marabu.marabu.ch> References: <8664pi4snf.fsf@xps.des.no> <200512211645.RAA01319@marabu.marabu.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 21 December 2005 11:45 am, Adrian Steinmann wrote: > The dynamically linked programs will clearly fail without existing > /libexec/ld-elf.so and /lib/libc.so but we are speaking here of an > *extension* to crunchgen configuration files which kicks in when > the lib_so keyword is used. Maybe under CAVEATS it could be mentioned > that with the additiona of one lib_so library you need to include > that library plus rtld() and libc for the resulting crunched binary > to work. > > The keyword being an extension means that all and every crunchgen > configuration out there to date will crunch the binary fully static > and hence /rescue will cntinue to work as before and thus never > include programs requiring dlopen(). Yes, Ceri just fixed that so it is indeed the case. However, I do want to make sure people don't start adding this to /rescue as it will break /rescue's usefulness if not done carefully (i.e. two crunches). -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512211346.50231.jhb>