Hi Scratchers,
I'm trying to build my first LFS system (from a Gentoo host system), and
stubled on a serious error in "6.11. Glibc-2.3.4-20040701":
The
../glibc-2.3.4-20040701/configure --prefix=/usr \
--disable-profile --enable-add-ons=nptl --with-tls \
--with-__thread --enable-kernel=2.6.0 --without-cvs \
--libexecdir=/usr/lib/glibc \
--with-headers=/tools/glibc-kernheaders
fails with some " /tools/bin/gcc: No such file or directory" errors.
For the FAQ I learned that this is due to the path to the dynamic linker which
is still /lib/ld-linux.so.2 instead of /tools/lib/ld-linux.so.2.
This is indeed the case:
root:/sources/glibc-build# readelf -l /tools/bin/gcc | grep interpreter
[Requesting program interpreter: /lib/ld-linux.so.2]
The FAQ also suggests that this is due to forgetting to apply the "Specs
patch" on the "5.13. GCC-3.4.1 - Pass 2". I'm sure I did apply the patches
because when I tried to apply them again, I got only "Reversed (or previously
applied) patch detected! Skipping patch." messages.
Personally I am suspecting something went wrong with the "SED command" in
"5.9. Adjusting the Toolchain", but this is nothing more than a gut
feeling...
Could any of you tell me were things started going wrong ? From what point
should I restart ?
Cheers,
Matthias
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page