r8326 - trunk/BOOK/general/prog

randy at linuxfromscratch.org randy at linuxfromscratch.org
Fri Mar 12 11:00:36 PST 2010


Author: randy
Date: 2010-03-12 12:00:36 -0700 (Fri, 12 Mar 2010)
New Revision: 8326

Modified:
   trunk/BOOK/general/prog/gcc.xml
Log:
Added a note to the GCC instructions about compiling 3rd party modules and to not replace the kernel headers

Modified: trunk/BOOK/general/prog/gcc.xml
===================================================================
--- trunk/BOOK/general/prog/gcc.xml	2010-03-12 18:04:02 UTC (rev 8325)
+++ trunk/BOOK/general/prog/gcc.xml	2010-03-12 19:00:36 UTC (rev 8326)
@@ -44,6 +44,21 @@
     more robust Java environment than the one provided by
     <application>GCC</application>.</para>
 
+    <caution>
+      <para>If you are upgrading <application>GCC</application> from any other
+      version prior to &gcc-version;, then you must be careful compiling 3rd
+      party kernel modules. You should ensure that the kernel and all its
+      native modules are also compiled using the same version of
+      <application>GCC</application> that you use to build the 3rd party module.
+      This issue does not affect native kernel (and kernel modules) updates,
+      as the instructions below are a complete reinstallation of
+      <application>GCC</application>. If you have existing 3rd party modules
+      installed, ensure they are recompiled using the updated version of
+      <application>GCC</application>. As always, never update the kernel
+      headers from the ones used when <application>Glibc</application> was
+      compiled during LFS.</para>
+    </caution>
+
     &lfs65_checked;
 
     <!-- <note>




More information about the blfs-book mailing list