[RFC] Un-staticise the toolchain
John Baldwin
jhb at freebsd.org
Thu Apr 26 12:01:02 UTC 2012
On Thursday, April 26, 2012 7:38:03 am Bob Bishop wrote:
> Hi,
>
> On 26 Apr 2012, at 10:35, Konstantin Belousov wrote:
>
> > I think it is time to stop building the toolchain static. I was told that
> > original reasoning for static linking was the fear of loosing the ability
> > to recompile if some problem appears with rtld and any required dynamic
> > library. 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.
You could use /rescue/sh as your single-user shell. Of course, that would
perhaps let you still be able to recompile things if you had a static
toolchain. :)
--
John Baldwin
More information about the freebsd-current
mailing list