r2328 - / branches/clfs-2.0/BOOK branches/clfs-2.0/BOOK/final-system/arm branches/clfs-2.0/BOOK/final-system/x86 branches/clfs-2.0/BOOK/introduction/common branches/clfs-2.0/BOOK/materials/common

jim at linuxfromscratch.org jim at linuxfromscratch.org
Wed Aug 30 12:52:31 PDT 2006


Author: jim
Date: 2006-08-30 13:52:29 -0600 (Wed, 30 Aug 2006)
New Revision: 2328

Modified:
   /
   branches/clfs-2.0/BOOK/final-system/arm/perl.xml
   branches/clfs-2.0/BOOK/final-system/x86/perl.xml
   branches/clfs-2.0/BOOK/introduction/common/changelog.xml
   branches/clfs-2.0/BOOK/materials/common/patches.xml
   branches/clfs-2.0/BOOK/patches.ent
Log:
 r5371 at server (orig r2465):  jciccone | 2006-08-30 11:02:52 -0700
 Add the perl fPIC patch.



Property changes on: 
___________________________________________________________________
Name: svk:merge
   - b6734a72-470d-0410-b049-f317dca95413:/:2464
   + b6734a72-470d-0410-b049-f317dca95413:/:2465

Modified: branches/clfs-2.0/BOOK/final-system/arm/perl.xml
===================================================================
--- branches/clfs-2.0/BOOK/final-system/arm/perl.xml	2006-08-30 19:52:16 UTC (rev 2327)
+++ branches/clfs-2.0/BOOK/final-system/arm/perl.xml	2006-08-30 19:52:29 UTC (rev 2328)
@@ -32,6 +32,12 @@
 
     <para os="a">The Cross directory contains a Makefile for cross-compiling.</para>
 
+    <para os="p3">The following patch causes <filename>DynaLoader.a</filename>
+    to be built with -fPIC so it can be linked into a shared library
+    later.</para>
+
+<screen os="p4"><userinput>patch -Np1 -i ../&perl-fpic-patch;</userinput></screen>
+
 <screen os="b"><userinput>cd Cross</userinput></screen>
 
     <para os="c">Compile the package:</para>

Modified: branches/clfs-2.0/BOOK/final-system/x86/perl.xml
===================================================================
--- branches/clfs-2.0/BOOK/final-system/x86/perl.xml	2006-08-30 19:52:16 UTC (rev 2327)
+++ branches/clfs-2.0/BOOK/final-system/x86/perl.xml	2006-08-30 19:52:29 UTC (rev 2328)
@@ -31,6 +31,14 @@
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../arm/perl.xml"
+    xpointer="xpointer(//*[@os='p3'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../arm/perl.xml"
+    xpointer="xpointer(//*[@os='p4'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../arm/perl.xml"
     xpointer="xpointer(//*[@os='a'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"

Modified: branches/clfs-2.0/BOOK/introduction/common/changelog.xml
===================================================================
--- branches/clfs-2.0/BOOK/introduction/common/changelog.xml	2006-08-30 19:52:16 UTC (rev 2327)
+++ branches/clfs-2.0/BOOK/introduction/common/changelog.xml	2006-08-30 19:52:29 UTC (rev 2328)
@@ -40,6 +40,10 @@
       <para>August 30, 2006</para>
       <itemizedlist>
         <listitem>
+          <para>[jciccone] - Added the Perl fPIC patch which makes perl build
+          a shared DynaLoader.a.</para>
+        </listitem>
+        <listitem>
           <para>[jciccone] - Removed mention of package users hint from
           "Package Management" page.</para>
         </listitem>

Modified: branches/clfs-2.0/BOOK/materials/common/patches.xml
===================================================================
--- branches/clfs-2.0/BOOK/materials/common/patches.xml	2006-08-30 19:52:16 UTC (rev 2327)
+++ branches/clfs-2.0/BOOK/materials/common/patches.xml	2006-08-30 19:52:29 UTC (rev 2328)
@@ -197,6 +197,15 @@
         <para>MD5 sum: <literal>&perl-cross_compile-patch-md5;</literal></para>
       </listitem>
     </varlistentry>
+ 
+     <varlistentry>
+      <term>Perl fPIC Patch - <token>&perl-fpic-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink
+        url="&patches-root;&perl-fpic-patch;"/></para>
+        <para>MD5 sum: <literal>&perl-fpic-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
 
     <varlistentry>
       <term>Readline Fixes Patch - <token>&readline-fixes-patch-size;</token>:</term>

Modified: branches/clfs-2.0/BOOK/patches.ent
===================================================================
--- branches/clfs-2.0/BOOK/patches.ent	2006-08-30 19:52:16 UTC (rev 2327)
+++ branches/clfs-2.0/BOOK/patches.ent	2006-08-30 19:52:29 UTC (rev 2328)
@@ -84,6 +84,10 @@
 <!ENTITY perl-cross_compile-patch-md5 "bd9f94c8629e674f4472604b77cea42d">
 <!ENTITY perl-cross_compile-patch-size "76 KB">
 
+<!ENTITY perl-fpic-patch "perl-&perl-version;-fPIC-1.patch">
+<!ENTITY perl-fpic-patch-md5 "7d784d82b1366ab88b5fc265387d2a16">
+<!ENTITY perl-fpic-patch-size "4 KB">
+
 <!ENTITY readline-fixes-patch "readline-&readline-version;-fixes-3.patch">
 <!ENTITY readline-fixes-patch-md5 "e30963cd5c6f6a11a23344af36cfa38c">
 <!ENTITY readline-fixes-patch-size "2.1 KB">




More information about the cross-lfs mailing list