Bruce Dubbs wrote: > [EMAIL PROTECTED] wrote: > >> And wouldn't it make it possible to upgrade the toolchain without rebuilding >> LFS? > > The toolchain consists of binutils, glibc, and gcc. There is no problem > rebuilding and installing bunutils and gcc any time you want. glibc is > a different problem and probably needs a rebuild of LFS because of the > critical libraries that it replaces. > > I've never tried it, but it would be an interesting experiment to > reinstall a new glibc using chapter 6 instructions and doing a reboot.
I did this experiment some time ago. The problems in the current method arise only if you attempt to upgrade glibc to the same version plus a "branch_update" patch, because, during a regular "make install", there is a moment at which /lib/ld-linux.so.2 and /lib/libc.so.6 are inconsistent with each other (i.e., one is from old glibc, and one from new). DESTDIR-style package management solves it by atomically updating both files from the same ELF binary. -- Alexander E. Patrakov -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page