Mostly static binaries with crunchgen

John Baldwin jhb at freebsd.org
Wed Dec 21 10:58:30 PST 2005


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 at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-hackers mailing list