[Clfs-commits] commit: r3828 - in /trunk: BOOK/ BOOK/boot/alpha/ BOOK/bootable/alpha/ BOOK/cross-tools/alpha/ BOOK/final-system/ BOOK/final-system/alpha/ BOOK/introduction/alpha/ BOOK/introduction/common/ BOOK/materials/alpha/ BOOK/temp-system/common/ BOOK/temp-system/multilib/ patches/

svn at cross-lfs.org svn at cross-lfs.org
Sat Dec 22 15:05:30 PST 2007


Author: jciccone
Date: Sat Dec 22 23:05:30 2007
New Revision: 3828

Log:
Add a patch to the kernel that defines PAGE_SIZE for userspace for alpha.

Added:
    trunk/BOOK/final-system/alpha/linux-headers.xml
    trunk/patches/linux-2.6.23.12-alpha_PAGE_SIZE-1.patch
Modified:
    trunk/BOOK/boot/alpha/kernel.xml
    trunk/BOOK/bootable/alpha/kernel.xml
    trunk/BOOK/cross-tools/alpha/linux-headers.xml
    trunk/BOOK/final-system/alpha-chapter.xml
    trunk/BOOK/introduction/alpha/changelog.xml
    trunk/BOOK/introduction/common/changelog.xml
    trunk/BOOK/materials/alpha/patches.xml
    trunk/BOOK/patches.ent
    trunk/BOOK/temp-system/common/gettext.xml
    trunk/BOOK/temp-system/multilib/gettext.xml

Modified: trunk/BOOK/boot/alpha/kernel.xml
==============================================================================
--- trunk/BOOK/boot/alpha/kernel.xml (original)
+++ trunk/BOOK/boot/alpha/kernel.xml Sat Dec 22 23:05:30 2007
@@ -29,6 +29,14 @@
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../x86/kernel.xml"
     xpointer="xpointer(//*[@os='a'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../bootable/alpha/kernel.xml"
+    xpointer="xpointer(//*[@os='a1'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../bootable/alpha/kernel.xml"
+    xpointer="xpointer(//*[@os='a2'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../x86/kernel.xml"

Modified: trunk/BOOK/bootable/alpha/kernel.xml
==============================================================================
--- trunk/BOOK/bootable/alpha/kernel.xml (original)
+++ trunk/BOOK/bootable/alpha/kernel.xml Sat Dec 22 23:05:30 2007
@@ -24,6 +24,11 @@
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../x86/kernel.xml"
     xpointer="xpointer(//*[@os='a'])"/>
+
+    <para os="a1">The following patch moves the PAGE_SIZE definiton in the
+    headers so it is available for userspace.</para>
+
+<screen os="a2"><userinput>patch -Np1 -i ../&linux-alpha_PAGE_SIZE-patch;</userinput></screen>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../x86/kernel.xml"

Modified: trunk/BOOK/cross-tools/alpha/linux-headers.xml
==============================================================================
--- trunk/BOOK/cross-tools/alpha/linux-headers.xml (original)
+++ trunk/BOOK/cross-tools/alpha/linux-headers.xml Sat Dec 22 23:05:30 2007
@@ -27,6 +27,14 @@
     xpointer="xpointer(//*[@os='a'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/alpha/linux-headers.xml"
+    xpointer="xpointer(//*[@os='a1'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/alpha/linux-headers.xml"
+    xpointer="xpointer(//*[@os='a2'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../../final-system/common/linux-headers.xml"
     xpointer="xpointer(//*[@os='b'])"/>
 

Modified: trunk/BOOK/final-system/alpha-chapter.xml
==============================================================================
--- trunk/BOOK/final-system/alpha-chapter.xml (original)
+++ trunk/BOOK/final-system/alpha-chapter.xml Sat Dec 22 23:05:30 2007
@@ -15,7 +15,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/pkgmgt.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/testsuitesagain.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/temp-perl.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/linux-headers.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="alpha/linux-headers.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/man-pages.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="alpha/glibc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/adjusting.xml"/>

Modified: trunk/BOOK/introduction/alpha/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/alpha/changelog.xml (original)
+++ trunk/BOOK/introduction/alpha/changelog.xml Sat Dec 22 23:05:30 2007
@@ -34,6 +34,16 @@
 -->
 
     <listitem>
+      <para>December 23, 2007</para>
+      <itemizedlist>
+        <listitem>
+          <para>[jciccone] - Added a patch to the Kernel that makes the
+          PAGE_SIZE definition available in userspace.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>December 21, 2007</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/introduction/common/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/common/changelog.xml (original)
+++ trunk/BOOK/introduction/common/changelog.xml Sat Dec 22 23:05:30 2007
@@ -35,6 +35,16 @@
       </itemizedlist>
     </listitem>
 -->
+
+    <listitem>
+      <para>December 23, 2007</para>
+      <itemizedlist>
+        <listitem>
+          <para>Added a config.cache entry to Gettext to resolve some
+          errors.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
 
     <listitem>
       <para>December 19, 2007</para>

Modified: trunk/BOOK/materials/alpha/patches.xml
==============================================================================
--- trunk/BOOK/materials/alpha/patches.xml (original)
+++ trunk/BOOK/materials/alpha/patches.xml Sat Dec 22 23:05:30 2007
@@ -34,6 +34,15 @@
       </listitem>
     </varlistentry>
 
+    <varlistentry>
+      <term>Linux PAGE_SIZE Patch - <token>&linux-alpha_PAGE_SIZE-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink
+        url="&patches-root;&linux-alpha_PAGE_SIZE-patch;"/></para>
+        <para>MD5 sum: <literal>&linux-alpha_PAGE_SIZE-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
   </variablelist>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"

Modified: trunk/BOOK/patches.ent
==============================================================================
--- trunk/BOOK/patches.ent (original)
+++ trunk/BOOK/patches.ent Sat Dec 22 23:05:30 2007
@@ -150,6 +150,10 @@
 <!ENTITY glibc-alpha_ptr_mangle_fix-patch-md5 "9c13080aa4a17796815a7e814e18584c">
 <!ENTITY glibc-alpha_ptr_mangle_fix-patch-size "4 KB">
 
+<!ENTITY linux-alpha_PAGE_SIZE-patch "linux-&linux-version;-alpha_PAGE_SIZE-1.patch">
+<!ENTITY linux-alpha_PAGE_SIZE-patch-md5 "13caeaaf52d8dc25d0b9a1ba15f57425">
+<!ENTITY linux-alpha_PAGE_SIZE-patch-size "4 KB">
+
 <!-- Start of mips/mips64 patches -->
 
 <!ENTITY colo-make-patch "colo-&colo-version;-make_fix-1.patch">

Modified: trunk/BOOK/temp-system/common/gettext.xml
==============================================================================
--- trunk/BOOK/temp-system/common/gettext.xml (original)
+++ trunk/BOOK/temp-system/common/gettext.xml Sat Dec 22 23:05:30 2007
@@ -28,11 +28,17 @@
 
 <screen os="b"><userinput>cd gettext-tools</userinput></screen>
 
+    <para os="t1">When cross-compiling the Gettext configure script assumes we
+    don't have a working wcwidth when we do. The following will fix possible
+    compilation errors because of this assumption:</para>
+
+<screen os="t2"><userinput>echo "gl_cv_func_wcwidth_works=yes" > config.cache</userinput></screen>
+
     <para os="c">Prepare Gettext for compilation:</para>
 
 <screen os="d"><userinput>./configure --prefix=/tools \
     --build=${CLFS_HOST} --host=${CLFS_TARGET} \
-    --disable-shared</userinput></screen>
+    --disable-shared --cache-file=config.cache</userinput></screen>
 
     <variablelist os="e">
       <title>The meaning of the configure options:</title>

Modified: trunk/BOOK/temp-system/multilib/gettext.xml
==============================================================================
--- trunk/BOOK/temp-system/multilib/gettext.xml (original)
+++ trunk/BOOK/temp-system/multilib/gettext.xml Sat Dec 22 23:05:30 2007
@@ -29,6 +29,14 @@
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../common/gettext.xml"
     xpointer="xpointer(//*[@os='b'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/gettext.xml"
+    xpointer="xpointer(//*[@os='t2'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/gettext.xml"
+    xpointer="xpointer(//*[@os='t2'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../common/gettext.xml"




More information about the Clfs-commits mailing list