Hi folks, I just updated the status of GCC test suite in r11593. I noticed two failures because the lack of /etc/hosts and iana-etc. They can be resolved by using the minimal hosts file from Perl page, and installing iana-etc before GCC.
The edited book is at http://www.linuxfromscratch.org/~xry111/LFS-BOOK-rfc/. The diff is attached. -- Xi Ruoyao <xry...@mengyan1223.wang> School of Aerospace Science and Technology, Xidian University
diff -Nuar trunk/BOOK/chapter06/chapter06.xml BOOK-rfc/chapter06/chapter06.xml --- trunk/BOOK/chapter06/chapter06.xml 2019-03-25 01:16:40.477261055 +0800 +++ BOOK-rfc/chapter06/chapter06.xml 2019-05-07 18:53:59.406285861 +0800 @@ -31,6 +31,7 @@ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mpfr.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mpc.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="shadow.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="iana-etc.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gcc.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bzip2.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pkgconfig.xml"/> @@ -40,7 +41,6 @@ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libcap.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sed.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="psmisc.xml"/> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="iana-etc.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bison.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="flex.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="grep.xml"/> diff -Nuar trunk/BOOK/chapter06/gcc.xml BOOK-rfc/chapter06/gcc.xml --- trunk/BOOK/chapter06/gcc.xml 2019-05-07 18:47:47.647160270 +0800 +++ BOOK-rfc/chapter06/gcc.xml 2019-05-07 18:58:33.038936328 +0800 @@ -114,6 +114,12 @@ <screen><userinput remap="test">ulimit -s 32768</userinput></screen> + <para>Create a basic <filename>/etc/hosts</filename> file to be + referenced in GCC test suite, as well as Perl's configuration files and + optional test suite:</para> + +<screen><userinput remap="pre">echo "127.0.0.1 localhost $(hostname)" > /etc/hosts</userinput></screen> + <para>Test the results as a non-privileged user, but do not stop at errors:</para> <screen><userinput remap="test">chown -Rv nobody . @@ -133,10 +139,6 @@ <para>Six tests related to get_time are known to fail. These are apparantly related to the en_HK locale.</para> - <para>Two tests named lookup.cc and reverse.cc in experimental/net - are known to fail in LFS chroot environment because they require - /etc/hosts and iana-etc.</para> - <para>Two tests named pr57193.c and pr90178.c are known to fail.</para> <para>A few unexpected failures cannot always be avoided. The GCC developers diff -Nuar trunk/BOOK/chapter06/perl.xml BOOK-rfc/chapter06/perl.xml --- trunk/BOOK/chapter06/perl.xml 2019-05-03 04:50:49.836579449 +0800 +++ BOOK-rfc/chapter06/perl.xml 2019-05-07 18:55:35.886047753 +0800 @@ -41,12 +41,6 @@ <sect2 role="installation"> <title>Installation of Perl</title> - <para>First create a basic <filename>/etc/hosts</filename> file to be - referenced in one of Perl's configuration files as well as the optional - test suite:</para> - -<screen><userinput remap="pre">echo "127.0.0.1 localhost $(hostname)" > /etc/hosts</userinput></screen> - <para>This version of Perl now builds the Compress::Raw::Zlib and Compress::Raw::BZip2 modules. By default Perl will use an internal copy of the sources for the build.
-- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page