[lfs-support] Ch. 6.17 GCC: make error

graham.crowe at telia.com graham.crowe at telia.com
Wed May 11 23:22:32 PDT 2016

I'm trying to build LFS 7.9 and the host system is Debian 8.4.0. I get an error, that is raised when running make on gcc-5.3.0 chapter 6.17. The file /sources/gcc-5.3.0/build/x86_64-unknown-linux-gnu/libgcc/config.log contains the following error:
/usr/bin/ld: cannot find crtbegin.o: No such file or directory 
/usr/bin/ld: cannot find -lgcc 
However I can see crtbegin.o at /tools/lib/gcc/x86_64-lfs-linux-gnu/5.3.0/crtbegin.o. I'm not sure how to debug this problem, any ideas? I have enclosed the config.log file that had exit status 1.
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20160512/af7f5f16/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 18857 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20160512/af7f5f16/attachment.bin>

More information about the lfs-support mailing list