>> >> Hello. >> >> I follow LFS 7.0 book. >> After Glibc-2.14.1 has been installed (chapter 6.9) chroot fails with >> "Segmentation fault" error. >> If I rename $LFS/lib to $LFS/lib_ just before chrooting then chroot >> is completed OK. > >Why does $LFS/lib exist before you chroot? In the book we create >$LFS/lib on the page after we chroot. What's in $LFS/lib that's causing >a segfault? >
After I had installed Glibc (so $LFS/lib was filled with the libraries) I shutdown the host and went to sleep. On the next day I could not enter the chroot unless $LFS/lib is renamed. The chroot's exit code is 139. When I try to run toolchain's bash from the host's root: # /tools/bin/bash I get a segfault always regardless of the renaming. >ls $LFS/lib cpp ld-2.14.1.so ld-linux.so.2 libanl-2.14.1.so libanl.so.1 libBrokenLocale-2.14.1.so libBrokenLocale.so.1 libc-2.14.1.so libcidn-2.14.1.so libcidn.so.1 libcrypt-2.14.1.so libcrypt.so.1 libc.so.6 libdl-2.14.1.so libdl.so.2 libm-2.14.1.so libmemusage.so libm.so.6 libnsl-2.14.1.so libnsl.so.1 libnss_compat-2.14.1.so libnss_compat.so.2 libnss_dns-2.14.1.so libnss_dns.so.2 libnss_files-2.14.1.so libnss_files.so.2 libnss_hesiod-2.14.1.so libnss_hesiod.so.2 libnss_nis-2.14.1.so libnss_nisplus-2.14.1.so libnss_nisplus.so.2 libnss_nis.so.2 libpcprofile.so libpthread-2.14.1.so libpthread.so.0 libresolv-2.14.1.so libresolv.so.2 librt-2.14.1.so librt.so.1 libSegFault.so libthread_db-1.0.so libthread_db.so.1 libutil-2.14.1.so libutil.so.1 libz.so.1 libz.so.1.2.5 -- Dmitry -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
