On 2018-08-13 15:26 +0800, norman wrote: > 在 2018年08月13日 15:14, Thomas Trepl 写道: > > Am Montag, den 13.08.2018, 11:28 +0800 schrieb norman: > > > Thanks for you help, > > > I rebuild all, and I find I make a mistake on building gcc(5.10. > > > GCC-7.3.0 - Pass 2), and now it's fine. > > > But I find a another problem in the chapter 6.9. Glibc-2.27, and > > > resolve it following the solution: > > > > > > > http://lists.linuxfromscratch.org/pipermail/lfs-dev/2011-August/064956.html > > > I wonder why the instruction book update? > > > > How does the problem look like? Is that a compilation error or > > something else? Could you also specify on which kind of machine you are > > building? > > > > -- > > Thomas > > > > It reports a config error while running ./configure: > error: missing __attribute__ ((constructor)) support??
Notice that this is Chapter 6, not Chapter 5. In Chapter 6 we are in a chroot environment which does NOT rely on host system (except the kernel). So we should NEVER use these "workarounds" in Chapter 6, except for a kernel bug. Glibc autoconf test failure suggests something in the toolchain is wrong. If you just workaround it, you may leave a timebomb in the final system. -- 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
