r3854 - in trunk/BOOK: . chapter01 chapter05 chapter06

matthew at linuxfromscratch.org matthew at linuxfromscratch.org
Sun Jun 27 08:01:58 PDT 2004


Author: matthew
Date: 2004-06-27 08:55:19 -0600 (Sun, 27 Jun 2004)
New Revision: 3854

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter05/bash.xml
   trunk/BOOK/chapter05/binutils-pass2.xml
   trunk/BOOK/chapter05/coreutils.xml
   trunk/BOOK/chapter05/expect.xml
   trunk/BOOK/chapter05/findutils.xml
   trunk/BOOK/chapter05/gawk.xml
   trunk/BOOK/chapter05/gcc-pass2.xml
   trunk/BOOK/chapter05/gettext.xml
   trunk/BOOK/chapter05/glibc.xml
   trunk/BOOK/chapter05/grep.xml
   trunk/BOOK/chapter05/make.xml
   trunk/BOOK/chapter05/sed.xml
   trunk/BOOK/chapter05/tar.xml
   trunk/BOOK/chapter05/texinfo.xml
   trunk/BOOK/chapter06/glibc.xml
   trunk/BOOK/general.ent
Log:
* Moved discussion of glibc test failures to chapter 6, and reworded notes aboutoptional tests.


Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml	2004-06-26 17:32:03 UTC (rev 3853)
+++ trunk/BOOK/chapter01/changelog.xml	2004-06-27 14:55:19 UTC (rev 3854)
@@ -78,6 +78,11 @@
 </itemizedlist>
 </listitem>
 
+<listitem><para>June 27, 2004 [matt]: Moved glibc test result discussion to
+chapter 6 (where it is actually recommended to be run).  Also made it clearer
+that the tests in chapter 5 are optional, as opposed to
+<emphasis>not recommended</emphasis></para></listitem>
+
 <listitem><para>June 26, 2004 [winkie]: Upgraded to GCC 3.4.1-20040625.</para>
 </listitem>
 

Modified: trunk/BOOK/chapter05/bash.xml
===================================================================
--- trunk/BOOK/chapter05/bash.xml	2004-06-26 17:32:03 UTC (rev 3853)
+++ trunk/BOOK/chapter05/bash.xml	2004-06-27 14:55:19 UTC (rev 3854)
@@ -40,7 +40,7 @@
 
 <screen><userinput>make</userinput></screen>
 
-<para>(If you insist on testing the results, then issue:
+<para>(If you want to test the results, then issue:
 <userinput>make tests</userinput>.)</para>
 
 <para>Then install it and its documentation:</para>

Modified: trunk/BOOK/chapter05/binutils-pass2.xml
===================================================================
--- trunk/BOOK/chapter05/binutils-pass2.xml	2004-06-26 17:32:03 UTC (rev 3853)
+++ trunk/BOOK/chapter05/binutils-pass2.xml	2004-06-27 14:55:19 UTC (rev 3854)
@@ -53,10 +53,9 @@
 
 <screen><userinput>make</userinput></screen>
 
-<para>Compilation is now complete. As discussed earlier, we don't recommend
-running the test suites for the temporary tools here in this chapter. If
-nevertheless you want to run the Binutils test suite, the following command
-will do so:</para>
+<para>Compilation is now complete. As discussed earlier, running the test suite
+isn't mandatory for the temporary tools here in this chapter. If you do want to
+run the Binutils test suite though, the following command will do so:</para>
 
 <screen><userinput>make -k check</userinput></screen>
 

Modified: trunk/BOOK/chapter05/coreutils.xml
===================================================================
--- trunk/BOOK/chapter05/coreutils.xml	2004-06-26 17:32:03 UTC (rev 3853)
+++ trunk/BOOK/chapter05/coreutils.xml	2004-06-27 14:55:19 UTC (rev 3854)
@@ -50,7 +50,7 @@
 
 <screen><userinput>make</userinput></screen>
 
-<para>(If you insist on testing the results, then issue:
+<para>(If you want to test the results, then issue:
 <userinput>make RUN_EXPENSIVE_TESTS=yes check</userinput>. The
 <parameter>RUN_EXPENSIVE_TESTS=yes</parameter> parameter tells the test suite to
 run several additional tests that are considered relatively expensive on some

Modified: trunk/BOOK/chapter05/expect.xml
===================================================================
--- trunk/BOOK/chapter05/expect.xml	2004-06-26 17:32:03 UTC (rev 3853)
+++ trunk/BOOK/chapter05/expect.xml	2004-06-27 14:55:19 UTC (rev 3854)
@@ -10,8 +10,8 @@
 <indexterm zone="ch-tools-expect"><primary sortas="a-Expect">Expect</primary></indexterm>
 
 <sect2 role="package"><title/>
-<para>The Expect package contains a program for doing scripted dialogues with
-other interactive programs.</para>
+<para>The Expect package contains a program for carrying out scripted dialogues
+with other interactive programs.</para>
 
 <segmentedlist>
 <segtitle>&buildtime;</segtitle>
@@ -61,10 +61,10 @@
 
 <screen><userinput>make</userinput></screen>
 
-<para>(If you insist on testing the results, then issue:
+<para>(If you want to test the results, then issue:
 <userinput>make test</userinput>. However, the Expect test suite is known to
-experience failures under certain host conditions that are not fully
-understood. Therefore, test suite failures here are not surprising, and are not
+experience failures under certain host conditions that are not within our
+control. Therefore, test suite failures here are not surprising, and are not
 considered critical.)</para>
 
 <para>And install it:</para>

Modified: trunk/BOOK/chapter05/findutils.xml
===================================================================
--- trunk/BOOK/chapter05/findutils.xml	2004-06-26 17:32:03 UTC (rev 3853)
+++ trunk/BOOK/chapter05/findutils.xml	2004-06-27 14:55:19 UTC (rev 3854)
@@ -35,7 +35,7 @@
 
 <screen><userinput>make</userinput></screen>
 
-<para>(If you insist on testing the results, then issue:
+<para>(If you want to test the results, then issue:
 <userinput>make check</userinput>.)</para>
 
 <para>And install the package:</para>

Modified: trunk/BOOK/chapter05/gawk.xml
===================================================================
--- trunk/BOOK/chapter05/gawk.xml	2004-06-26 17:32:03 UTC (rev 3853)
+++ trunk/BOOK/chapter05/gawk.xml	2004-06-27 14:55:19 UTC (rev 3854)
@@ -35,7 +35,7 @@
 
 <screen><userinput>make</userinput></screen>
 
-<para>(If you insist on testing the results, then issue:
+<para>(If you want to test the results, then issue:
 <userinput>make check</userinput>.)</para>
 
 <para>And install it:</para>

Modified: trunk/BOOK/chapter05/gcc-pass2.xml
===================================================================
--- trunk/BOOK/chapter05/gcc-pass2.xml	2004-06-26 17:32:03 UTC (rev 3853)
+++ trunk/BOOK/chapter05/gcc-pass2.xml	2004-06-27 14:55:19 UTC (rev 3854)
@@ -146,10 +146,8 @@
 as the compiler we're using to compile this GCC was built from the exact same
 version of the GCC sources we used earlier.</para>
 
-<para>Compilation is now complete. As mentioned earlier, we don't recommend
-running the test suites for the temporary tools here in this chapter. If you
-still want to run the GCC test suite anyway, the following command will do
-so:</para>
+<para>Compilation is now complete. As mentioned earlier, running the test suites
+for the temporary tools compiled in this chapter is not mandatory.  If you want to run the GCC test suite anyway, the following command will do so:</para>
 
 <screen><userinput>make -k check</userinput></screen>
 

Modified: trunk/BOOK/chapter05/gettext.xml
===================================================================
--- trunk/BOOK/chapter05/gettext.xml	2004-06-26 17:32:03 UTC (rev 3853)
+++ trunk/BOOK/chapter05/gettext.xml	2004-06-27 14:55:19 UTC (rev 3854)
@@ -56,7 +56,7 @@
 
 <screen><userinput>make</userinput></screen>
 
-<para>(If you insist on testing the results, then issue: <userinput>make
+<para>(If you want to test the results, then issue: <userinput>make
 check</userinput>. This takes a very long time, around 7 SBUs. Moreover, the
 Gettext test suite is known to experience failures under certain host
 conditions -- for example when it finds a Java compiler on the host (but an

Modified: trunk/BOOK/chapter05/glibc.xml
===================================================================
--- trunk/BOOK/chapter05/glibc.xml	2004-06-26 17:32:03 UTC (rev 3853)
+++ trunk/BOOK/chapter05/glibc.xml	2004-06-27 14:55:19 UTC (rev 3854)
@@ -117,54 +117,30 @@
 
 <screen><userinput>make</userinput></screen>
 
-<para>Compilation is now complete. As mentioned earlier, we don't recommend
-running the test suites for the temporary system here in this chapter. If you
-still want to run the Glibc test suite anyway, the following command will do
-so:</para>
+<para>Compilation is now complete. As mentioned earlier, running the test suites
+for the temporary tools installed in this chapter is not mandatory. If you want
+to run the Glibc test suite though, the following command will do so:</para>
 
 <screen><userinput>make check</userinput></screen>
 
-<para>The Glibc test suite is highly dependent on certain functions of your host
-system, in particular the kernel. Additionally, here in this chapter some tests
-can be adversely affected by existing tools or environmental issues on the host
-system. Of course, these won't be a problem when we run the Glibc test suite
-inside the chroot environment of <xref linkend="chapter-building-system"/>. In
-general, the Glibc test suite is always expected to pass. However, as mentioned
-above, in certain circumstances some failures are unavoidable. Here is a list
-of the most common issues we are aware of:</para>
+<para>For a discussion of test failures that are of particular
+importance, please see <xref linkend="ch-system-glibc"/>.</para>
 
-<itemizedlist>
-<listitem><para>The <emphasis>math</emphasis> tests sometimes fail when running
-on systems where the CPU is not a relatively new genuine Intel or authentic AMD.
-Certain optimization settings are also known to be a factor here.</para></listitem>
+<para>In this chapter, some tests can be adversely affected by existing tools or
+environmental issues on the host system.  In short, don't worry too much if you
+see Glibc test suite failures in this chapter. The Glibc in
+<xref linkend="chapter-building-system"/> is the one we'll ultimately end up
+using, so that is the one we would really like to see pass the tests (but even
+there some failures could still occur -- the <emphasis>math</emphasis> tests,
+for example).</para>
 
-<listitem><para>The <emphasis>gettext</emphasis> test sometimes fails due to
-host system issues. The exact reasons are not yet clear.</para></listitem>
+<para>When experiencing a failure, make a note of it, then continue by reissuing
+the <command>make check</command>. The test suite should pick up where it left
+off and continue. You can circumvent this stop-start sequence by issuing a
+<command>make -k check</command>. If you do that though, be sure to log the
+output so that you can later peruse the log file and examine the total number of
+failures.</para>
 
-<listitem><para>The <emphasis>atime</emphasis> test sometimes fails when the
-LFS partition is mounted with the <parameter>noatime</parameter> option, or due
-to other file system quirks.</para></listitem>
-
-<listitem><para>The <emphasis>shm</emphasis> test might fail when the host
-system is running the devfs file system but doesn't have the <systemitem class="filesystem">tmpfs</systemitem> file system
-mounted at <filename class="directory">/dev/shm</filename> due to lack of support for tmpfs in
-the kernel.</para></listitem>
-
-<listitem><para>When running on older and slower hardware, some tests might
-fail due to test timeouts being exceeded.</para></listitem>
-</itemizedlist>
-
-<para>In summary, don't worry too much if you see Glibc test suite failures
-here in this chapter. The Glibc in <xref linkend="chapter-building-system"/> is
-the one we'll ultimately end up using, so that is the one we would really like
-to see pass the tests (but even there some failures could still occur -- the
-<emphasis>math</emphasis> tests, for example). When experiencing a failure,
-make a note of it, then continue by reissuing the <command>make
-check</command>. The test suite should pick up where it left off and continue.
-You can circumvent this stop-start sequence by issuing a <command>make -k
-check</command>. But if you do that, be sure to log the output so that you can
-later peruse the log file and examine the total number of failures.</para>
-
 <para>Though it is a harmless message, the install stage of Glibc will at the
 end complain about the absence of <filename>/tools/etc/ld.so.conf</filename>.
 Prevent this confusing little warning with:</para>

Modified: trunk/BOOK/chapter05/grep.xml
===================================================================
--- trunk/BOOK/chapter05/grep.xml	2004-06-26 17:32:03 UTC (rev 3853)
+++ trunk/BOOK/chapter05/grep.xml	2004-06-27 14:55:19 UTC (rev 3854)
@@ -54,7 +54,7 @@
 
 <screen><userinput>make</userinput></screen>
 
-<para>(If you insist on testing the results, then issue:
+<para>(If you want to test the results, then issue:
 <userinput>make check</userinput>.)</para>
 
 <para>Then install them and their documentation:</para>

Modified: trunk/BOOK/chapter05/make.xml
===================================================================
--- trunk/BOOK/chapter05/make.xml	2004-06-26 17:32:03 UTC (rev 3853)
+++ trunk/BOOK/chapter05/make.xml	2004-06-27 14:55:19 UTC (rev 3854)
@@ -35,7 +35,7 @@
 
 <screen><userinput>make</userinput></screen>
 
-<para>(If you insist on testing the results, then issue:
+<para>(If you want to test the results, then issue:
 <userinput>make check</userinput>.)</para>
 
 <para>Then install it and its documentation:</para>

Modified: trunk/BOOK/chapter05/sed.xml
===================================================================
--- trunk/BOOK/chapter05/sed.xml	2004-06-26 17:32:03 UTC (rev 3853)
+++ trunk/BOOK/chapter05/sed.xml	2004-06-27 14:55:19 UTC (rev 3854)
@@ -41,7 +41,7 @@
 
 <screen><userinput>make</userinput></screen>
 
-<para>(If you insist on testing the results, then issue:
+<para>(If you want to test the results, then issue:
 <userinput>make check</userinput>.)</para>
 
 <para>Then install it and its documentation:</para>

Modified: trunk/BOOK/chapter05/tar.xml
===================================================================
--- trunk/BOOK/chapter05/tar.xml	2004-06-26 17:32:03 UTC (rev 3853)
+++ trunk/BOOK/chapter05/tar.xml	2004-06-27 14:55:19 UTC (rev 3854)
@@ -35,7 +35,7 @@
 
 <screen><userinput>make</userinput></screen>
 
-<para>(If you insist on testing the results, then issue:
+<para>(If you want to test the results, then issue:
 <userinput>make check</userinput>.)</para>
 
 <para>Then install them and their documentation:</para>

Modified: trunk/BOOK/chapter05/texinfo.xml
===================================================================
--- trunk/BOOK/chapter05/texinfo.xml	2004-06-26 17:32:03 UTC (rev 3853)
+++ trunk/BOOK/chapter05/texinfo.xml	2004-06-27 14:55:19 UTC (rev 3854)
@@ -35,7 +35,7 @@
 
 <screen><userinput>make</userinput></screen>
 
-<para>(If you insist on testing the results, then issue:
+<para>(If you want to test the results, then issue:
 <userinput>make check</userinput>.)</para>
 
 <para>Then install them and their documentation:</para>

Modified: trunk/BOOK/chapter06/glibc.xml
===================================================================
--- trunk/BOOK/chapter06/glibc.xml	2004-06-26 17:32:03 UTC (rev 3853)
+++ trunk/BOOK/chapter06/glibc.xml	2004-06-27 14:55:19 UTC (rev 3854)
@@ -79,9 +79,32 @@
 
 <screen><userinput>make check</userinput></screen>
 
-<para>The test suite notes from <xref linkend="ch-tools-glibc"/> are still very much
-appropriate here. Be sure to refer back there should you have any doubts.</para>
+<para>The Glibc test suite is highly dependent on certain functions of your host
+system, in particular the kernel.  In general, the Glibc test suite is always
+expected to pass. However, in certain circumstances some failures are
+unavoidable. Here is a list of the most common issues we are aware of:</para>
 
+<itemizedlist>
+<listitem><para>The <emphasis>math</emphasis> tests sometimes fail when running
+on systems where the CPU is not a relatively new genuine Intel or authentic AMD.
+Certain optimization settings are also known to be a factor here.</para></listitem>
+
+<listitem><para>The <emphasis>gettext</emphasis> test sometimes fails due to
+host system issues. The exact reasons are not yet clear.</para></listitem>
+
+<listitem><para>The <emphasis>atime</emphasis> test sometimes fails when the
+LFS partition is mounted with the <parameter>noatime</parameter> option, or due
+to other file system quirks.</para></listitem>
+
+<listitem><para>The <emphasis>shm</emphasis> test might fail when the host
+system is running the devfs file system but doesn't have the <systemitem class="filesystem">tmpfs</systemitem> file system
+mounted at <filename class="directory">/dev/shm</filename> due to lack of support for tmpfs in
+the kernel.</para></listitem>
+
+<listitem><para>When running on older and slower hardware, some tests might
+fail due to test timeouts being exceeded.</para></listitem>
+</itemizedlist>
+
 <para>Though it is a harmless message, the install stage of Glibc will
 complain about the absence of <filename>/etc/ld.so.conf</filename>. Fix this
 annoying little warning with:</para>

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2004-06-26 17:32:03 UTC (rev 3853)
+++ trunk/BOOK/general.ent	2004-06-27 14:55:19 UTC (rev 3854)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "SVN-20040626">
-<!ENTITY releasedate "June 26, 2004">
+<!ENTITY version "SVN-20040627">
+<!ENTITY releasedate "June 27, 2004">
 <!ENTITY milestone "6.0">
 
 <!ENTITY lfs-root "http://www.linuxfromscratch.org/">




More information about the lfs-book mailing list