Fixed !!! --- Glibc2.30 1st pass compilation successful
Following Flareon Mam advice with Bruce & Xi Sir LFS etiquette along with
Pierre Sir command help resolve my issue.
i.e. ~ make a fresh start
~ resolve /bin/sh to point to bash instead of dash on Debian 10
~ sticking to book except using 2.28 instead of 2.11 for
'--with-glibc-version=' flags
( because host system has glibc2.28 version in my case )
Thanks all
On Mon, Jan 27, 2020 at 7:03 AM Xi Ruoyao <[email protected]> wrote:
> On 2020-01-26 13:13 -0600, Bruce Dubbs wrote:
> > On 1/26/20 12:41 PM, Flareon wrote:
> > > On January 26, 2020, at 04:10, Xi Ruoyao <[email protected]>
> wrote:
> > >
> > > >On 2020-01-26 15:13 +0530, Sourabh Sagar wrote:
> > > >> One thread recommend use of '-Wno-attribute-alias' ... when using
> it
> > > glibc2.30
> > > >> compiled successfully(in a separate sub-directory)...
> > > >Don't reference those articles telling how to build Glibc on a
> > > complete system.
> > > >LFS has a different way.
> > > >> but testing newly built toolchain against dummy.c(as in glibc2.30
> > > 1st pass
> > > >> article) via `$LFS_TGT-gcc dummy.c`
> > > >>
> > > >> a new error appears stating expansion of $LFS_TGT-gcc not found in
> > > >> $LFS/tools/bin.
> > > >We shouldn't continue blindly if any error is encountered. Without
> > > $LFS_TGT-gcc
> > > >glibc would be built with host GCC. That does not make any sense
> (in
> > > LFS).
> > > >--
> > > >Xi Ruoyao <[email protected]>
> > > >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
> > >
> > > So, your summary is thus:
> > >
> > > Fix where /bin/sh points
> > > Don't deviate at all from the book
> > > Don't blindly follow online posts
>
> My point is "don't continue blindly if any problem occurs". Building LFS
> is
> like building a house. If a brick has some deficiency and we just stack
> other
> bricks onto it blindly, the house will collapse.
>
> OTOH "don't blindly follow online posts" is also correct. LFS is
> different from
> normal building procedure and many online posts are based on earlier
> version of
> LFS (like 6.x or 5.x) which are outdated. And, some posters are
> irresponsible
> and often post some stupidly wrong information, just misleading others.
>
> > That's pretty much right. I will add to the second item "for the first
> > time through". Sometimes new users can have the attitude "I'm
> > experienced and I know enough to change what is in the book." But that
> > can get users into trouble,
>
> If you deviate from the book, you should know what you are doing. Missing
> $LFS_TGT-gcc is absolutely incorrect. Using dash instead of bash is likely
> incorrect (though we didn't tried, recently). --with-glibc-version=2.30
> (instead of 2.11) is likely correct.
> --
> Xi Ruoyao <[email protected]>
> 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
>
--
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