Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2012 07:52:01 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        Konstantin Belousov <kostikbel@gmail.com>, toolchain@freebsd.org, current@freebsd.org
Subject:   Re: [RFC] Un-staticise the toolchain
Message-ID:  <201204260752.01127.jhb@freebsd.org>
In-Reply-To: <5BCE2E77-2B45-43B7-AB1F-6E6C13B87B34@gid.co.uk>
References:  <20120426093548.GR2358@deviant.kiev.zoral.com.ua> <5BCE2E77-2B45-43B7-AB1F-6E6C13B87B34@gid.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204260752.01127.jhb>