This is at least my third go at compiling the binaries using 8.3 instructions, but I'm having an issue with the toolchain.
My first ever go at compiling with
LFS 8.3 and Ubuntu 18.10 (server ISO, Live CD) on a VM ran into problems at "6.7.1. Installation of Linux API Headers"
make mrproper. I got an error message stating - "
arch/x86/Makefile:184: *** Compiler lacks asm-goto support.. Stop.". I assumed it was because the VM crashed during compilation and it didn't like my restart of the process.
Back to the start, delete everything, and yet the same issue occured.
On my third go, I ditched Ubuntu 18.10 and went for 18.04.1 LTS. I've also scripted all the commands as presented in the LFS 8.3 book, so that everything is recorded and issued the same every time. To my frustration, I find the following:
In the tools folder, during glibc (Chpt. 5.7), I get 'x86_64-pc-linux-gnu' being created.
Additionally, if I check the dynamic linker information in those binaries, I get /lib64/.. rather than /tools/lib64.
Below are all the files that carry this error:
/mnt/lfs/tools/bin/addr2line has - [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
/mnt/lfs/tools/bin/ar has - [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
/mnt/lfs/tools/bin/as has - [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
/mnt/lfs/tools/bin/c++ has - [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
/mnt/lfs/tools/bin/c++filt has - [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
/mnt/lfs/tools/bin/cc has - [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
/mnt/lfs/tools/bin/cpp has - [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
/mnt/lfs/tools/bin/elfedit has - [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
/mnt/lfs/tools/bin/g++ has - [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
/mnt/lfs/tools/bin/gcc has - [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
/mnt/lfs/tools/bin/gcc-ar has - [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
/mnt/lfs/tools/bin/gcc-nm has - [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
/mnt/lfs/tools/bin/gcc-ranlib has - [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
/mnt/lfs/tools/bin/gcov has - [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
/mnt/lfs/tools/bin/gcov-dump has - [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
/mnt/lfs/tools/bin/gcov-tool has - [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
/mnt/lfs/tools/bin/gprof has - [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
/mnt/lfs/tools/bin/ld has - [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
/mnt/lfs/tools/bin/ld-new has - [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
/mnt/lfs/tools/bin/ld.bfd has - [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
/mnt/lfs/tools/bin/nm has - [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
/mnt/lfs/tools/bin/objcopy has - [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
/mnt/lfs/tools/bin/objdump has - [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
/mnt/lfs/tools/bin/ranlib has - [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
/mnt/lfs/tools/bin/readelf has - [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
/mnt/lfs/tools/bin/size has - [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
/mnt/lfs/tools/bin/strings has - [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
/mnt/lfs/tools/bin/strip has - [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
What am I doing wrong, because I can't spot the obvious error?
As I say, my first few go were issuing the commands by hand with Ubuntu 18.10, and now I'm running a script with Ubuntu 18.04 with commands straight out of the LFS 8.3 pages.
Cheers for any useful insight you could share with me.