On 12/01/2018 08:32, [email protected] wrote: > When I tried to follow the instructions in the section 6.17 in order to build > GMP 6.1.2, I encountered the similar problem, which is describted in this URL > ( > https://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-6-14-gmp-6-1-0-libtool-error-libstdc-ls-is-not-a-valid-libtool-archive-4175586676/ > ): > > libtool: error: '/usr/lib/libstdc++.la' is not a valid libtool archive > > I checked the length of the file "libstdc++.la" and the size is 0 byte. > > Thus, I removed it from "/usr/lib" and then I could build the GMP. > > So, my question is: will the final system work properly if the file > "libstdc++.la" is missing during the build process? > And do I have to check why the file "libstdc++.la" is empty? > > P.S.: > I ran the following during GMP build process: > > cp -v configfsf.guess config.guess cp -v configfsf.sub config.sub > >
Which version of LFS? If using a recent, but not latest SVN, it may be that /tools/lib/libstdc++.la is removed at the end of chapter 5, but the link /usr/lib/libstdc++.la -> /tools/lib/libstdc++.la is created in "Creating Essential Files". In latest SVN, it is not created anymore. Pierre -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
