Browse Source

Update glibc text removing noatime mount
caution and adding text regarding test issues.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9956 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Bruce Dubbs 12 years ago
parent
commit
d9c836bba9
4 changed files with 30 additions and 18 deletions
  1. 4 0
      chapter01/changelog.xml
  2. 3 3
      chapter02/mounting.xml
  3. 2 2
      chapter05/glibc.xml
  4. 21 13
      chapter06/glibc.xml

+ 4 - 0
chapter01/changelog.xml

@@ -40,6 +40,10 @@
     <listitem>
     <listitem>
       <para>2012-08-22</para>
       <para>2012-08-22</para>
       <itemizedlist>
       <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Update glibc text removing noatime mount 
+          caution and text regarding test issues.</para>
+        </listitem>
         <listitem>
         <listitem>
           <para>[bdubbs] - Fix packaging for udev-lfs tarball.</para>
           <para>[bdubbs] - Fix packaging for udev-lfs tarball.</para>
         </listitem>
         </listitem>

+ 3 - 3
chapter02/mounting.xml

@@ -44,9 +44,9 @@ mount -v -t ext3 /dev/<replaceable>&lt;yyy&gt;</replaceable> $LFS/usr</userinput
   <replaceable>&lt;yyy&gt;</replaceable> with the appropriate partition
   <replaceable>&lt;yyy&gt;</replaceable> with the appropriate partition
   names.</para>
   names.</para>
 
 
-  <para>Ensure that this new partition is not mounted with permissions that
-  are too restrictive (such as the <option>nosuid</option>, <option>nodev</option>,
-  or <option>noatime</option> options). Run the <command>mount</command> command
+  <para>Ensure that this new partition is not mounted with permissions that are
+  too restrictive (such as the <option>nosuid</option> or
+  <option>nodev</option> options). Run the <command>mount</command> command
   without any parameters to see what options are set for the mounted LFS
   without any parameters to see what options are set for the mounted LFS
   partition. If <option>nosuid</option>, <option>nodev</option>, and/or
   partition. If <option>nosuid</option>, <option>nodev</option>, and/or
   <option>noatime</option> are set, the partition will need to be
   <option>noatime</option> are set, the partition will need to be

+ 2 - 2
chapter05/glibc.xml

@@ -48,7 +48,7 @@
 
 
 <screen><userinput remap="pre">mkdir -v ../glibc-build
 <screen><userinput remap="pre">mkdir -v ../glibc-build
 cd ../glibc-build</userinput></screen>
 cd ../glibc-build</userinput></screen>
-
+<!--
     <para>Because Glibc no longer supports i386, its developers say to use the
     <para>Because Glibc no longer supports i386, its developers say to use the
     compiler flag <parameter>-march=i486</parameter> when building it for x86
     compiler flag <parameter>-march=i486</parameter> when building it for x86
     machines. There are several ways to accomplish that, but testing shows that
     machines. There are several ways to accomplish that, but testing shows that
@@ -62,7 +62,7 @@ cd ../glibc-build</userinput></screen>
 <screen><userinput remap="configure">case `uname -m` in
 <screen><userinput remap="configure">case `uname -m` in
   i?86) echo "CFLAGS += -march=i486 -mtune=native" &gt; configparms ;;
   i?86) echo "CFLAGS += -march=i486 -mtune=native" &gt; configparms ;;
 esac</userinput></screen>
 esac</userinput></screen>
-
+-->
     <para>Fix an issue when building Glibc-&glibc-version; with GCC-&gcc-version;:</para>
     <para>Fix an issue when building Glibc-&glibc-version; with GCC-&gcc-version;:</para>
 
 
 <screen><userinput remap="pre">sed -i 's/ -lgcc_s//' ../glibc-&glibc-version;/Makeconfig</userinput></screen>
 <screen><userinput remap="pre">sed -i 's/ -lgcc_s//' ../glibc-&glibc-version;/Makeconfig</userinput></screen>

+ 21 - 13
chapter06/glibc.xml

@@ -108,7 +108,7 @@ unset DL</userinput></screen>-->
 
 
 <screen><userinput remap="pre">mkdir -v ../glibc-build
 <screen><userinput remap="pre">mkdir -v ../glibc-build
 cd ../glibc-build</userinput></screen>
 cd ../glibc-build</userinput></screen>
-
+<!--
     <para>As in Chapter 5, add the needed compiler flags to CFLAGS for x86 machines.
     <para>As in Chapter 5, add the needed compiler flags to CFLAGS for x86 machines.
     Here, the optimization of the library is also set for the gcc compiler to
     Here, the optimization of the library is also set for the gcc compiler to
     enhance compilation speed (-pipe) and package performance (-O3).</para>
     enhance compilation speed (-pipe) and package performance (-O3).</para>
@@ -116,7 +116,7 @@ cd ../glibc-build</userinput></screen>
 <screen><userinput remap="configure">case `uname -m` in
 <screen><userinput remap="configure">case `uname -m` in
   i?86) echo "CFLAGS += -march=i486 -mtune=native -O3 -pipe" &gt; configparms ;;
   i?86) echo "CFLAGS += -march=i486 -mtune=native -O3 -pipe" &gt; configparms ;;
 esac</userinput></screen>
 esac</userinput></screen>
-
+-->
     <para>Prepare Glibc for compilation:</para>
     <para>Prepare Glibc for compilation:</para>
 
 
 <screen><userinput remap="configure">../glibc-&glibc-version;/configure  \
 <screen><userinput remap="configure">../glibc-&glibc-version;/configure  \
@@ -150,18 +150,19 @@ esac</userinput></screen>
       Do not skip it under any circumstance.</para>
       Do not skip it under any circumstance.</para>
     </important>
     </important>
 
 
-    <para>Before running the tests, copy a file from the source tree into our
-    build tree to prevent a couple of test failures, then test the
-    results:</para>
+    <para>Generally a few tests do not pass, but you can generally ignore
+    any of the test failures listed below. Now test the build results:</para>
+
+<!-- cp -v ../glibc-&glibc-version;/iconvdata/gconv-modules iconvdata -->
 
 
-<screen><userinput remap="test">cp -v ../glibc-&glibc-version;/iconvdata/gconv-modules iconvdata
-make -k check 2&gt;&amp;1 | tee glibc-check-log
+<screen><userinput remap="test">make -k check 2&gt;&amp;1 | tee glibc-check-log
 grep Error glibc-check-log</userinput></screen>
 grep Error glibc-check-log</userinput></screen>
 
 
     <para>You will probably see an expected (ignored) failure in the
     <para>You will probably see an expected (ignored) failure in the
-    <emphasis>posix/annexc</emphasis> test.  In addition the Glibc test suite
-    is somewhat dependent on the host system.  This is a list of the most
-    common issues:</para>
+    <emphasis>posix/annexc</emphasis> and
+    <emphasis>conform/run-conformtest</emphasis> tests.  In addition the Glibc
+    test suite is somewhat dependent on the host system.  This is a list of the
+    most common issues:</para>
 
 
     <itemizedlist>
     <itemizedlist>
       <!-- Check again after updating from gcc-4.1.x -->
       <!-- Check again after updating from gcc-4.1.x -->
@@ -170,27 +171,32 @@ grep Error glibc-check-log</userinput></screen>
         using the 4.1 series of GCC.</para>
         using the 4.1 series of GCC.</para>
       </listitem> -->
       </listitem> -->
       <!-- Was true in glibc-2.3.6, rt/tst-cpuclock2 in glibc-2.11.1 -->
       <!-- Was true in glibc-2.3.6, rt/tst-cpuclock2 in glibc-2.11.1 -->
-      <listitem>
 
 
+      <listitem>
         <para>The <emphasis>nptl/tst-clock2</emphasis>,
         <para>The <emphasis>nptl/tst-clock2</emphasis>,
-        <emphasis>nptl/tst-attr3</emphasis>, and 
+        <emphasis>nptl/tst-attr3</emphasis>, 
+        <emphasis>tst/tst-cputimer1</emphasis>, and 
         <emphasis>rt/tst-cpuclock2</emphasis>
         <emphasis>rt/tst-cpuclock2</emphasis>
         tests have been known to fail.  The
         tests have been known to fail.  The
         reason is not completely understood, but indications are that minor
         reason is not completely understood, but indications are that minor
         timing issues can trigger these failures.</para>
         timing issues can trigger these failures.</para>
-      
       </listitem>
       </listitem>
+
       <listitem>
       <listitem>
         <para>The math tests sometimes fail when running on
         <para>The math tests sometimes fail when running on
         systems where the CPU is not a relatively new genuine Intel or
         systems where the CPU is not a relatively new genuine Intel or
         authentic AMD processor.</para>
         authentic AMD processor.</para>
       </listitem>
       </listitem>
+      
+      <!--
       <listitem>
       <listitem>
         <para>If you have mounted the LFS partition with the
         <para>If you have mounted the LFS partition with the
         <parameter>noatime</parameter> option, the <emphasis>atime</emphasis>
         <parameter>noatime</parameter> option, the <emphasis>atime</emphasis>
         test will fail. As mentioned in <xref linkend="space-mounting"/>, do not
         test will fail. As mentioned in <xref linkend="space-mounting"/>, do not
         use the <parameter>noatime</parameter> option while building LFS.</para>
         use the <parameter>noatime</parameter> option while building LFS.</para>
       </listitem>
       </listitem>
+      -->
+      
       <listitem>
       <listitem>
         <para>When running on older and slower hardware or on systems under
         <para>When running on older and slower hardware or on systems under
         load, some tests can fail because of test timeouts being exceeded.
         load, some tests can fail because of test timeouts being exceeded.
@@ -198,10 +204,12 @@ grep Error glibc-check-log</userinput></screen>
         help eliminate these errors (e.g. <command>TIMEOUTFACTOR=16
         help eliminate these errors (e.g. <command>TIMEOUTFACTOR=16
         make -k check</command>).</para>
         make -k check</command>).</para>
       </listitem>
       </listitem>
+      
       <listitem>
       <listitem>
         <para>Other tests known to fail on some architectures are posix/bug-regex32, 
         <para>Other tests known to fail on some architectures are posix/bug-regex32, 
         misc/tst-writev, elf/check-textrel, nptl/tst-getpid2, and stdio-common/bug22.</para>
         misc/tst-writev, elf/check-textrel, nptl/tst-getpid2, and stdio-common/bug22.</para>
       </listitem>
       </listitem>
+    
     </itemizedlist>
     </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