Hello, friends! Recently I had successfully built & boot the LFS 6.2 system.
I had encountered some issues building the LFS's toolchain from my host Fedora Core 6 (x86_64) system, so I created a partition, mounted it as /mnt/lfs, copied sources there from the LFS 6.2 LiveCD and chrooted to /mnt/lfs from the very beginning. Also I added "--host=i686-pc-linux-gnu" to all "configure" scripts' options, because my processor is a 64bit Athlon64 X2 and LiveCD's toolchain was unable to compile for an x86_64 host without doing cross-compilation. From this moment everything went just fine, I had built and installed all software, the kernel (2.6.20 from kernel.org) and booted with it with no problem. Now I has started to compile native x86_64 toolchain, using FC6 as a host system, and it appears to be a very uneasy task with a number of issues requiring a very special approach. It seems it is impossible to build an x86_64 system, more or less closely following the 6.2 Book's instructions. First, the FSF binutils doesn't understand "--hash-style" option. Even when modifying host's gcc's specs file to prevent passing this option to the linker, first make succeeded, but an adjusted ld's compilation (with LIB_PATH=) failed with an error like "libgcc_s.so: File format not recognized". It seems that the newly compiled ld, installed at /tools/bin and used at this second stage, does not recognize shared libraries compiled with "--hash-style=gnu". $ strings libgcc_s.so | grep .hash prints only the .gnu.hash line and no .hash HJL binutils compile just fine with even no touching gcc's specs, but an error arise at gcc Pass 1 (bootstrapping) and looks like "libc.so.6: File format not recognized". I'll try a little later to reveal cause of this error. Maybe somebody can give me a solution, an hint or point to the direction I should dig? P.S.: Please don't offer me to build system from the available x86_64 beta LiveCD or something like this. I'll use it as a "last chance" solution only, if {any|some}thing else won't help. Best, Fix. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page