From c7dfdfb9b6f56564223163a84051a9ca19bc0dc8 Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Thu, 20 Apr 2006 22:01:36 +0000 Subject: [PATCH] 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 --- chapter01/changelog.xml | 4 ++++ prologue/hostreqs.xml | 33 ++++++++++++++++----------------- 2 files changed, 20 insertions(+), 17 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index cf8088585..849fec4fa 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -39,6 +39,10 @@ April 20, 2006 + + [manuel] - Reworded why a 2.6 kernel compiled with GCC-3 + is required on the host system. + [manuel] - Revised dependencies info. Thanks to Chris Staub for the patch. diff --git a/prologue/hostreqs.xml b/prologue/hostreqs.xml index 83f8abb2f..93169574b 100644 --- a/prologue/hostreqs.xml +++ b/prologue/hostreqs.xml @@ -22,13 +22,14 @@ Bash-2.05a - Binutils-2.12 (Versions greater than &binutils-version; not recommended.) + Binutils-2.12 (Versions greater than &binutils-version; not + recommended) Bzip2-1.0.2 - Coreutils-5.0 (or Sh-Utils-2.0, Textutils-2.0 + Coreutils-5.0 (or Sh-Utils-2.0, Textutils-2.0, and Fileutils-4.1) @@ -41,10 +42,12 @@ Gawk-3.0 - Gcc-2.95.3 (Versions greater than &gcc-version; not recommended.) + Gcc-2.95.3 (Versions greater than &gcc-version; not + recommended) - Glibc-2.2.5 (Versions greater than &glibc-version; not recommended.) + Glibc-2.2.5 (Versions greater than &glibc-version; not + recommended) Grep-2.5 @@ -53,7 +56,7 @@ Gzip-1.2.4 - Linux Kernel-2.6.2 (having been compiled with Gcc-3.0) + Linux Kernel-2.6.x (having been compiled with Gcc-3.0) Make-3.79.1 @@ -70,14 +73,10 @@ - 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 sysfs 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. + 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. In order to determine whether the host kernel meets the requirements outlined above, run the following command: @@ -90,11 +89,11 @@ Tue Apr 20 21:22:18 GMT 2004 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 - 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 compiling the kernel and configuring the boot loader (assuming the host uses GRUB) are located in .