2007/12/3, Alexander E. Patrakov <[EMAIL PROTECTED]>: > 2007/12/3, Alexander E. Patrakov <[EMAIL PROTECTED]>: > > > Just a data point: I was able to upgrade glibc "live" on LFS LiveCD > > 6.2-5 from 2.3.6 to 2.7 by building it in /dev/shm "by the book" and > > installing it with the following commands: > > The test is not valid. A simple "make install" also works in this > case. So I have to retest it in the case 2.5 -> 2.5 + branch_update, > where it failed before.
OK, I reproduced this failure. The data below are for glibc-2.5 -> glibc-2.5 plus glibc-2.5-branch_update-3.patch upgrade. 1) Plain in-place "make install" fails with: /usr/bin/install -c /dev/shm/glibc-build/elf/ld.so /lib/ld-2.5.so.new mv -f /lib/ld-2.5.so.new /lib/ld-2.5.so /usr/bin/install -c /dev/shm/glibc-build/libc.so /lib/libc-2.5.so.new make[2]: *** [/lib/libc-2.5.so] Segmentation fault and after that no command can be run due to segmentation faults. 2) "cp -af . /" (as suggested by Bruce) fails with "bus error", and after that every application fails with "/lib/libc.so.6: file is too short". 3) "cp -a --remove-destination . /" works. 4) "tar -cpf - . | tar -C / -xpvf -" also works, so the initial conclusion about package managers being useful for upgrading toolchain components was right. -- Alexander E. Patrakov -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
