[RFC] Un-staticise the toolchain

Bob Bishop rb at gid.co.uk
Sat Apr 28 10:03:29 UTC 2012


Hi,

On 28 Apr 2012, at 04:12, David O'Brien wrote:

> On Thu, Apr 26, 2012 at 12:38:03PM +0100, Bob Bishop wrote:
>>> Apparently, current dependencies are much more spread, e.g. /bin/sh
>>> is dynamically linked [etc]
>> 
>> That seems like a bad mistake, because it would prevent even booting
>> single-user if rtld/libraries are broken.
> 
> When one enters single user they are prompted for which shell to use.
> If /bin/sh is broken due to being dynamic, '/rescue/sh' will likely still
> work.

Yes. You to have a statically linked /rescue/sh on board, so what's the point of /bin/sh being dynamic? The memory footprint really isn't an issue, and for my money the default shell ought to be bombproof.

--
Bob Bishop
rb at gid.co.uk






More information about the freebsd-toolchain mailing list