I found at last what was my mistake. I didn't compile the glibc in a different directory: I had to create a glibc-build directory and start configure from this point.
But, I have yet another problem
I chrooted my LFS partition. Everything went well untill I try to compile GCC.
In LFS book, here are the step to follow:
Quote:
patch -Np1 -i ../gcc-3.2.patch &&
mkdir ../gcc-build &&
cd ../gcc-build &&
../gcc-3.2/configure --prefix=/usr --enable-shared \
--enable-languages=c,c++ --enable-threads=posix \
--with-slibdir=/lib --enable-_cxa-atexit \
--enable-clocale=gnu &&
make bootstrap &&
make install &&
ln -s ../usr/bin/cpp /lib &&
ln -s ../bin/cpp /usr/lib &&
ln -s gcc /usr/bin/cc
|
I got an error when I try to execute this command. If I try to execute step-by-step this command, it "crash" at make bootstrap:
Quote:
Bootstrap comparison failure!
alias.o differs
attribs.o differs
bb-reorder.o differs
...
make[1]: *** [compare] Error 1
make[1]: Leaving directory `/usr/src/gcc-build/gcc'
make: *** [bootstrap] Error 2
|
Again, I don't know how to solve this problem .
Quote:
Did you follow the book from step one? Did you make the LFS user? Did you pass all of the right options during configure?
|
Yes I follow the book from step one. I maked the LFS user and I copy/paste the whole set of instruction.