[Fwd: Re: [LFS Trac] #2111: Adding PACO to LFS]

Alexander E. Patrakov patrakov at gmail.com
Mon Dec 3 05:13:54 PST 2007

2007/12/3, Alexander E. Patrakov <patrakov at gmail.com>:
> 2007/12/3, Alexander E. Patrakov <patrakov at gmail.com>:
> > 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

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

More information about the lfs-dev mailing list