On 2021-04-08 13:54 +0000, Live Account wrote: > > > Il giorno ven 9 apr 2021 alle ore 04:54 Xi Ruoyao <xry...@mengyan1223.wang> ha > scritto: > > On 2021-04-09 12:50 +0800, Xi Ruoyao wrote: > > > On 2021-04-08 17:49 +0200, Live Account wrote: > > > > First of all, thank you for the kind reply. > > > > Unfortunately, that did not solve the problem. I tried re-issuing said > > > > commands, re-extracting a clean m4 directory from the tarball but it > > > > resulted > > > > in the same error. > > > > Thank you once again for your help! > > > > > > Try run > > > > > > $LFS/tools/libexec/gcc/$LFS_TGT/10.2.0/install-tools/mkheaders > > > > more explanation: mkheaders script copies > > $LFS/tools/lib/gcc/$LFS_TGT/10.2.0/install-tools/limits.h to > > $LFS/tools/lib/gcc/$LFS_TGT/10.2.0/include-fixed. So forgetting the last > > commands for limits.h in GCC pass 1 (5.3) **or** cross-compiled glibc (5.5) > > will > > cause this kind of issue. And in case you forgot the previous one, you > > should > > redo **both** one. > >
> Thank you so much, that fixed the problem. I am sorry if I caused this > trouble, > I promise I will be more careful in the future. Also, forgive me if I > top-posted > in the last post, I realized my mistake after I sent the message. > Thank you again for your kind and patient help and I wish you a pleasant day. Everyone makes mistake building LFS :). If I tell some of my mistakes you'll laugh. And I should realize that the commands in chapter 5 Glibc for limits.h have to be re-ran (is this correct English? :) after rerunning the commands in GCC pass 1, then you wouldn't need to wait for half a day. I must be too sleepy yesterday. I added this issue to [FAQ][1] so hopefully the others can diagnostis this issue more easily. Thanks for the report! [1]: https://rivendell.linuxfromscratch.org/lfs/faq.html#m4-mb-len-max-wrong -- Xi Ruoyao <xry...@mengyan1223.wang> School of Aerospace Science and Technology, Xidian University -- 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