[Clfs-commits] commit: r3860 - in /trunk/BOOK: cross-tools/ppc64/gcc-final.xml cross-tools/ppc64/gcc-static.xml final-system/ppc64/gcc.xml introduction/ppc64/changelog.xml materials/ppc64/patches.xml patches.ent temp-system/ppc64/gcc.xml

svn at cross-lfs.org svn at cross-lfs.org
Sun Jan 6 13:44:57 PST 2008


Author: ken
Date: Sun Jan  6 21:44:57 2008
New Revision: 3860

Log:
Enable gcc-4.2.2 to compile modular kernels for ppc64.

Modified:
    trunk/BOOK/cross-tools/ppc64/gcc-final.xml
    trunk/BOOK/cross-tools/ppc64/gcc-static.xml
    trunk/BOOK/final-system/ppc64/gcc.xml
    trunk/BOOK/introduction/ppc64/changelog.xml
    trunk/BOOK/materials/ppc64/patches.xml
    trunk/BOOK/patches.ent
    trunk/BOOK/temp-system/ppc64/gcc.xml

Modified: trunk/BOOK/cross-tools/ppc64/gcc-final.xml
==============================================================================
--- trunk/BOOK/cross-tools/ppc64/gcc-final.xml (original)
+++ trunk/BOOK/cross-tools/ppc64/gcc-final.xml Sun Jan  6 21:44:57 2008
@@ -29,6 +29,14 @@
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="gcc-static.xml"
     xpointer="xpointer(//*[@os='p2'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/ppc64/gcc.xml"
+    xpointer="xpointer(//*[@os='p3'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/ppc64/gcc.xml"
+    xpointer="xpointer(//*[@os='p4'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="gcc-static.xml"

Modified: trunk/BOOK/cross-tools/ppc64/gcc-static.xml
==============================================================================
--- trunk/BOOK/cross-tools/ppc64/gcc-static.xml (original)
+++ trunk/BOOK/cross-tools/ppc64/gcc-static.xml Sun Jan  6 21:44:57 2008
@@ -30,6 +30,14 @@
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../common/gcc-static.xml"
     xpointer="xpointer(//*[@os='p2'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/ppc64/gcc.xml"
+    xpointer="xpointer(//*[@os='p3'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/ppc64/gcc.xml"
+    xpointer="xpointer(//*[@os='p4'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../common/gcc-static.xml"

Modified: trunk/BOOK/final-system/ppc64/gcc.xml
==============================================================================
--- trunk/BOOK/final-system/ppc64/gcc.xml (original)
+++ trunk/BOOK/final-system/ppc64/gcc.xml Sun Jan  6 21:44:57 2008
@@ -28,6 +28,11 @@
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../common/gcc.xml"
     xpointer="xpointer(//*[@os='p2'])"/>
+
+    <para os="p3">The following patch enables modular kernels to be compiled for
+    ppc64.</para>
+
+<screen os="p4"><userinput>patch -Np1 -i ../&gcc-PR31490-patch;</userinput></screen>
 
     <para os="ap1">GCC includes a <filename class="directory">nof</filename> directory
     of 32-bit code for processors which do not have hardware floating point.

Modified: trunk/BOOK/introduction/ppc64/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/ppc64/changelog.xml (original)
+++ trunk/BOOK/introduction/ppc64/changelog.xml Sun Jan  6 21:44:57 2008
@@ -32,6 +32,15 @@
     </listitem>
 
 -->
+
+    <listitem>
+      <para>January 8, 2008</para>
+      <itemizedlist>
+        <listitem>
+          <para>[ken] - Patch gcc so it can compile a modular kernel.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
 
     <listitem>
       <para>November 17, 2007</para>

Modified: trunk/BOOK/materials/ppc64/patches.xml
==============================================================================
--- trunk/BOOK/materials/ppc64/patches.xml (original)
+++ trunk/BOOK/materials/ppc64/patches.xml Sun Jan  6 21:44:57 2008
@@ -31,6 +31,15 @@
         <para>Download: <ulink
 	url="&patches-root;&gcc-nof-patch;"/></para>
 	<para>MD5 sum: <literal>&gcc-nof-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
+      <term>GCC PR31490 Patch - <token>&gcc-PR31490-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink
+	url="&patches-root;&gcc-PR31490-patch;"/></para>
+	<para>MD5 sum: <literal>&gcc-PR31490-patch-md5;</literal></para>
       </listitem>
     </varlistentry>
 

Modified: trunk/BOOK/patches.ent
==============================================================================
--- trunk/BOOK/patches.ent (original)
+++ trunk/BOOK/patches.ent Sun Jan  6 21:44:57 2008
@@ -174,6 +174,10 @@
 <!ENTITY gcc-nof-patch-md5 "190a654cac8bc87d86363fcd0f0522c6">
 <!ENTITY gcc-nof-patch-size "4 KB">
 
+<!ENTITY gcc-PR31490-patch "gcc-&gcc-version;-PR31490-1.patch">
+<!ENTITY gcc-PR31490-patch-md5 "43f3d086b57f02cb605819452936c4d7">
+<!ENTITY gcc-PR31490-patch-size "1.4 KB">
+
 <!ENTITY powerpcutils-patch "powerpc-utils_&powerpcutils-version;-fixes-2.patch">
 <!ENTITY powerpcutils-patch-md5 "d2776b1a4977c5711037b8f1402f792a">
 <!ENTITY powerpcutils-patch-size "22 KB">

Modified: trunk/BOOK/temp-system/ppc64/gcc.xml
==============================================================================
--- trunk/BOOK/temp-system/ppc64/gcc.xml (original)
+++ trunk/BOOK/temp-system/ppc64/gcc.xml Sun Jan  6 21:44:57 2008
@@ -29,6 +29,14 @@
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../../cross-tools/x86_64/gcc-static.xml"
     xpointer="xpointer(//*[@os='p2'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/ppc64/gcc.xml"
+    xpointer="xpointer(//*[@os='p3'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/ppc64/gcc.xml"
+    xpointer="xpointer(//*[@os='p4'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../../cross-tools/x86_64/gcc-static.xml"




More information about the Clfs-commits mailing list