Browse Source

* Moved discussion of glibc test failures to chapter 6, and reworded notes aboutoptional tests.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3854 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess 21 years ago
parent
commit
d878ce39f8

+ 5 - 0
chapter01/changelog.xml

@@ -78,6 +78,11 @@ first a summary, then a detailed log.</para>
 </itemizedlist>
 </itemizedlist>
 </listitem>
 </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><para>June 26, 2004 [winkie]: Upgraded to GCC 3.4.1-20040625.</para>
 </listitem>
 </listitem>
 
 

+ 1 - 1
chapter05/bash.xml

@@ -40,7 +40,7 @@ patch:</para>
 
 
 <screen><userinput>make</userinput></screen>
 <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>
 <userinput>make tests</userinput>.)</para>
 
 
 <para>Then install it and its documentation:</para>
 <para>Then install it and its documentation:</para>

+ 3 - 4
chapter05/binutils-pass2.xml

@@ -53,10 +53,9 @@ variables that override the default optimization flags.</para>
 
 
 <screen><userinput>make</userinput></screen>
 <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>
 <screen><userinput>make -k check</userinput></screen>
 
 

+ 1 - 1
chapter05/coreutils.xml

@@ -50,7 +50,7 @@ above.</para>
 
 
 <screen><userinput>make</userinput></screen>
 <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
 <userinput>make RUN_EXPENSIVE_TESTS=yes check</userinput>. The
 <parameter>RUN_EXPENSIVE_TESTS=yes</parameter> parameter tells the test suite to
 <parameter>RUN_EXPENSIVE_TESTS=yes</parameter> parameter tells the test suite to
 run several additional tests that are considered relatively expensive on some
 run several additional tests that are considered relatively expensive on some

+ 5 - 5
chapter05/expect.xml

@@ -10,8 +10,8 @@
 <indexterm zone="ch-tools-expect"><primary sortas="a-Expect">Expect</primary></indexterm>
 <indexterm zone="ch-tools-expect"><primary sortas="a-Expect">Expect</primary></indexterm>
 
 
 <sect2 role="package"><title/>
 <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>
 <segmentedlist>
 <segtitle>&buildtime;</segtitle>
 <segtitle>&buildtime;</segtitle>
@@ -61,10 +61,10 @@ libraries, both of which may possibly reside on the host system.</para></listite
 
 
 <screen><userinput>make</userinput></screen>
 <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
 <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>
 considered critical.)</para>
 
 
 <para>And install it:</para>
 <para>And install it:</para>

+ 1 - 1
chapter05/findutils.xml

@@ -35,7 +35,7 @@
 
 
 <screen><userinput>make</userinput></screen>
 <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>
 <userinput>make check</userinput>.)</para>
 
 
 <para>And install the package:</para>
 <para>And install the package:</para>

+ 1 - 1
chapter05/gawk.xml

@@ -35,7 +35,7 @@
 
 
 <screen><userinput>make</userinput></screen>
 <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>
 <userinput>make check</userinput>.)</para>
 
 
 <para>And install it:</para>
 <para>And install it:</para>

+ 2 - 4
chapter05/gcc-pass2.xml

@@ -146,10 +146,8 @@ have no use for it.</para></listitem>
 as the compiler we're using to compile this GCC was built from the exact same
 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>
 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>
 <screen><userinput>make -k check</userinput></screen>
 
 

+ 1 - 1
chapter05/gettext.xml

@@ -56,7 +56,7 @@ which doesn't have a C# compiler.</para></listitem>
 
 
 <screen><userinput>make</userinput></screen>
 <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
 check</userinput>. This takes a very long time, around 7 SBUs. Moreover, the
 Gettext test suite is known to experience failures under certain host
 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
 conditions -- for example when it finds a Java compiler on the host (but an

+ 20 - 44
chapter05/glibc.xml

@@ -117,53 +117,29 @@ running the test suite.</para>
 
 
 <screen><userinput>make</userinput></screen>
 <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>
 <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>
-
-<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>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>For a discussion of test failures that are of particular
+importance, please see <xref linkend="ch-system-glibc"/>.</para>
+
+<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>
+
+<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>
 
 
 <para>Though it is a harmless message, the install stage of Glibc will at the
 <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>.
 end complain about the absence of <filename>/tools/etc/ld.so.conf</filename>.

+ 1 - 1
chapter05/grep.xml

@@ -54,7 +54,7 @@ use the code from Glibc, which is known to be slightly buggy.</para></listitem>
 
 
 <screen><userinput>make</userinput></screen>
 <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>
 <userinput>make check</userinput>.)</para>
 
 
 <para>Then install them and their documentation:</para>
 <para>Then install them and their documentation:</para>

+ 1 - 1
chapter05/make.xml

@@ -35,7 +35,7 @@
 
 
 <screen><userinput>make</userinput></screen>
 <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>
 <userinput>make check</userinput>.)</para>
 
 
 <para>Then install it and its documentation:</para>
 <para>Then install it and its documentation:</para>

+ 1 - 1
chapter05/sed.xml

@@ -41,7 +41,7 @@ that the original file permissions are preserved.</para>
 
 
 <screen><userinput>make</userinput></screen>
 <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>
 <userinput>make check</userinput>.)</para>
 
 
 <para>Then install it and its documentation:</para>
 <para>Then install it and its documentation:</para>

+ 1 - 1
chapter05/tar.xml

@@ -35,7 +35,7 @@
 
 
 <screen><userinput>make</userinput></screen>
 <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>
 <userinput>make check</userinput>.)</para>
 
 
 <para>Then install them and their documentation:</para>
 <para>Then install them and their documentation:</para>

+ 1 - 1
chapter05/texinfo.xml

@@ -35,7 +35,7 @@
 
 
 <screen><userinput>make</userinput></screen>
 <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>
 <userinput>make check</userinput>.)</para>
 
 
 <para>Then install them and their documentation:</para>
 <para>Then install them and their documentation:</para>

+ 25 - 2
chapter06/glibc.xml

@@ -79,8 +79,31 @@ circumstance.</para></important>
 
 
 <screen><userinput>make check</userinput></screen>
 <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
 <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
 complain about the absence of <filename>/etc/ld.so.conf</filename>. Fix this

+ 2 - 2
general.ent

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <?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 milestone "6.0">
 
 
 <!ENTITY lfs-root "http://www.linuxfromscratch.org/">
 <!ENTITY lfs-root "http://www.linuxfromscratch.org/">