Re: [RFC] Un-staticise the toolchain

From: John Baldwin <jhb_at_freebsd.org>
Date: Thu, 26 Apr 2012 07:52:01 -0400
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
Received on Thu Apr 26 2012 - 10:01:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:26 UTC