PATCH: Dynamic /bin support
Tim Kientzle
kientzle at acm.org
Mon May 12 14:26:09 PDT 2003
> Tim posted this a while ago to hackers at . It looked like it was
> further along than what's been posted here.
Just to clarify, my /rescue patches are, in a sense,
orthogonal to what Gordon's doing here, although
they are an important part of getting to a fully-dynamic
system.
About six months ago, Nate Lawson and I had a
discussion with Luke Mewburn of NetBSD about
dynamic linking. Luke outlined the following
strategy:
1) Get /rescue working. This way, you'll
be able to recover when you screw up badly. ;-)
This is also an absolute prerequisite to
getting wide support for a fully-dynamic system.
2) Double-check load path defaults in ld-elf.so.
3) Move critical libraries to /lib (with
compatibility symlinks from /usr/lib, of
course)
4) Implement a big knob for selecting
fully-dynamic or "classic" system.
I've done the first part; it's just waiting
to get committed. Gordon is working on step #3.
Gordon should also note that, in order to
get all of /bin and /sbin into /rescue, I
had to make a definitive list of required
libs. Check out the Makefile, it's all
in there.
Tim
More information about the freebsd-arch
mailing list