1
0
Эх сурвалжийг харах

Reworded why a 2.6 kernel compiled with GCC-3 is required on the host system.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7547 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Manuel Canales Esparcia 19 жил өмнө
parent
commit
c7dfdfb9b6

+ 4 - 0
chapter01/changelog.xml

@@ -39,6 +39,10 @@
     <listitem>
     <listitem>
       <para>April 20, 2006</para>
       <para>April 20, 2006</para>
       <itemizedlist>
       <itemizedlist>
+        <listitem>
+          <para>[manuel] - Reworded why a 2.6 kernel compiled with GCC-3
+          is required on the host system.</para>
+        </listitem>
         <listitem>
         <listitem>
           <para>[manuel] - Revised dependencies info. Thanks to Chris Staub
           <para>[manuel] - Revised dependencies info. Thanks to Chris Staub
           for the patch.</para>
           for the patch.</para>

+ 16 - 17
prologue/hostreqs.xml

@@ -22,13 +22,14 @@
       <para>Bash-2.05a</para>
       <para>Bash-2.05a</para>
     </listitem>
     </listitem>
     <listitem>
     <listitem>
-      <para>Binutils-2.12 (Versions greater than &binutils-version; not recommended.)</para>
+      <para>Binutils-2.12 (Versions greater than &binutils-version; not
+      recommended)</para>
     </listitem>
     </listitem>
     <listitem>
     <listitem>
       <para>Bzip2-1.0.2</para>
       <para>Bzip2-1.0.2</para>
     </listitem>
     </listitem>
     <listitem>
     <listitem>
-      <para>Coreutils-5.0 (or Sh-Utils-2.0, Textutils-2.0
+      <para>Coreutils-5.0 (or Sh-Utils-2.0, Textutils-2.0,
       and Fileutils-4.1)</para>
       and Fileutils-4.1)</para>
     </listitem>
     </listitem>
     <listitem>
     <listitem>
@@ -41,10 +42,12 @@
       <para>Gawk-3.0</para>
       <para>Gawk-3.0</para>
     </listitem>
     </listitem>
     <listitem>
     <listitem>
-      <para>Gcc-2.95.3 (Versions greater than &gcc-version; not recommended.)</para>
+      <para>Gcc-2.95.3 (Versions greater than &gcc-version; not
+      recommended)</para>
     </listitem>
     </listitem>
     <listitem>
     <listitem>
-      <para>Glibc-2.2.5 (Versions greater than &glibc-version; not recommended.)</para>
+      <para>Glibc-2.2.5 (Versions greater than &glibc-version; not
+      recommended)</para>
     </listitem>
     </listitem>
     <listitem>
     <listitem>
       <para>Grep-2.5</para>
       <para>Grep-2.5</para>
@@ -53,7 +56,7 @@
       <para>Gzip-1.2.4</para>
       <para>Gzip-1.2.4</para>
     </listitem>
     </listitem>
     <listitem>
     <listitem>
-      <para>Linux Kernel-2.6.2 (having been compiled with Gcc-3.0)</para>
+      <para>Linux Kernel-2.6.x (having been compiled with Gcc-3.0)</para>
     </listitem>
     </listitem>
     <listitem>
     <listitem>
       <para>Make-3.79.1</para>
       <para>Make-3.79.1</para>
@@ -70,14 +73,10 @@
 
 
   </itemizedlist>
   </itemizedlist>
 
 
-  <para>There are two main reasons for the kernel version requirement. First,
-  the Native POSIX Threading Library (NPTL) test suite will segfault if the
-  host's kernel has not been compiled with GCC-3.0 or a later version. Second,
-  the 2.6.2 or later version of the kernel is required for the use of Udev.
-  Udev creates devices dynamically by reading from the <systemitem
-  class="filesystem">sysfs</systemitem> file system. However, support for this
-  filesystem has only recently been implemented in most of the kernel drivers.
-  We must be sure that all critical system devices get created properly.</para>
+  <para>The reason for the kernel version requirement is that TLS support in
+  Binutils don't be built and the Native POSIX Threading Library (NPTL)
+  test suite will segfault if the host's kernel isn't a 2.6 kernel and has
+  not been compiled with GCC-3.0 or a later version.</para>
 
 
   <para>In order to determine whether the host kernel meets the requirements
   <para>In order to determine whether the host kernel meets the requirements
   outlined above, run the following command:</para>
   outlined above, run the following command:</para>
@@ -90,11 +89,11 @@
     Tue Apr 20 21:22:18 GMT 2004</computeroutput></screen>
     Tue Apr 20 21:22:18 GMT 2004</computeroutput></screen>
 
 
   <para>If the results of the above command do not state that the host kernel
   <para>If the results of the above command do not state that the host kernel
-  is either 2.6.2 (or later), or that it was not compiled using a GCC-3.0 (or
+  is either 2.6.x, or that it was not compiled using a GCC-3.0 (or
   later) compiler, one will need to be installed. There are two methods you
   later) compiler, one will need to be installed. There are two methods you
-  can take to solve this. First, see if your Linux vendor provides a 2.6.2 (or
-  later) kernel package. If so, you may wish to install it. If your vendor
-  doesn't offer a 2.6.2 (or later) kernel package, or you would prefer not to
+  can take to solve this. First, see if your Linux vendor provides a 2.6
+  kernel package. If so, you may wish to install it. If your vendor
+  doesn't offer a 2.6 kernel package, or you would prefer not to
   install it, then you can compile a 2.6 kernel yourself. Instructions for
   install it, then you can compile a 2.6 kernel yourself. Instructions for
   compiling the kernel and configuring the boot loader (assuming the host
   compiling the kernel and configuring the boot loader (assuming the host
   uses GRUB) are located in <xref linkend="chapter-bootable"/>.</para>
   uses GRUB) are located in <xref linkend="chapter-bootable"/>.</para>