Hello all,

I'm having trouble with the gcc test compilation in step 5.7:

lfs@geertvdp-VirtualBoxLFS:/mnt/lfs/sources/glibc-build > $LFS_TGT-gcc
dummy.c
/mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/4.8.2/../../../../i686-lfs-linux-gnu/bin/ld:
cannot find crt1.o: No such file or directory
/mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/4.8.2/../../../../i686-lfs-linux-gnu/bin/ld:
cannot find crti.o: No such file or directory
collect2: error: ld returned 1 exit status
lfs@geertvdp-VirtualBoxLFS:/mnt/lfs/sources/glibc-build >

My host system is Linux Mint Cinammon 17 on a Virtualbox 3.2.14 setup.
The version of the LFS book is 7.5
I did not derive from the book's instructions

I tested the compilation by passing the library location:

lfs@geertvdp-VirtualBoxLFS:/mnt/lfs/sources/glibc-build > $LFS_TGT-gcc
-B/tools/lib dummy.c
lfs@geertvdp-VirtualBoxLFS:/mnt/lfs/sources/glibc-build >

So that works

I can see in the filesystem that the 2 files are present on the expected
location:

lfs@geertvdp-VirtualBoxLFS:/mnt/lfs/sources/glibc-build > $LFS_TGT-gcc
-B/tools/lib dummy.c
lfs@geertvdp-VirtualBoxLFS:/mnt/lfs/sources/glibc-build >

I thought that the issue was that the config script for binutils in section
5.4.1 didn't get the correct --with-lib-path value, so I rebuilt it with
extra caution to that point, but the result is the same

Anybody an idea what is going on here?

Thanks!
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to