Re: [RFC] Un-staticise the toolchain

看板FB_current作者時間13年前 (2012/05/02 10:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串22/30 (看更多)
On Apr 28, 2012, at 3:03 AM, Bob Bishop wrote: >=20 > On 28 Apr 2012, at 04:12, David O'Brien wrote: >=20 >> 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] >>>=20 >>> That seems like a bad mistake, because it would prevent even booting >>> single-user if rtld/libraries are broken. >>=20 >> 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. >=20 > 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. By "default shell", I think you mean "the shell loaded by default in single user mode". That shell could be /rescue/sh. Single-user recovery does not require /bin/sh being static. Tim _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1Fe9M0Kx (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1Fe9M0Kx (FB_current)