Le 27/12/2013 11:38, Andrey a écrit : > William Harrington <kb0iic <at> berzerkula.org> writes: > >> >> If you forget to install binutils in ch6, you are still using ld-new >> which was copied to ld during the toolchain adjustment in ch6. >> That ld has default SEARCH_DIR of /usr/lib:/lib >> Sincerely, >> William Harrington > > It seems I have the same issue and the cause is I forgot to install > binutils package (previously in chapter 6). I fixed the problem by > rebuilding the binutils and installing it. So new installed compiler > has been used for this. > Now compilation dummy.c log looks fine (including SEARCH_DIR paths). > Is it a correct solution? Will I face some problems in the future? > Should I revert all was done and start from the beginning of building > final LFS system? >
Not sure it is necessary, but just in case, I would recompile all what comes after binutils, checking that the tests pass. What is built at the beginning of chapter 6 is a tool chain you will be using during all the later builds, so you'd better get it rocksolid. Pierre -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page