r2239 - / trunk/BOOK trunk/BOOK/final-system/common trunk/BOOK/final-system/multilib trunk/BOOK/introduction/common trunk/BOOK/materials/common

jim at linuxfromscratch.org jim at linuxfromscratch.org
Sun Aug 20 16:46:45 PDT 2006


Author: jim
Date: 2006-08-20 17:46:43 -0600 (Sun, 20 Aug 2006)
New Revision: 2239

Modified:
   /
   trunk/BOOK/final-system/common/perl.xml
   trunk/BOOK/final-system/multilib/perl-64bit.xml
   trunk/BOOK/introduction/common/changelog.xml
   trunk/BOOK/materials/common/patches.xml
   trunk/BOOK/patches.ent
Log:
 r5152 at server (orig r2368):  jciccone | 2006-08-20 14:02:27 -0700
 Add the perl fPIC patch.



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

Modified: trunk/BOOK/final-system/common/perl.xml
===================================================================
--- trunk/BOOK/final-system/common/perl.xml	2006-08-20 07:46:52 UTC (rev 2238)
+++ trunk/BOOK/final-system/common/perl.xml	2006-08-20 23:46:43 UTC (rev 2239)
@@ -25,6 +25,12 @@
   <sect2 role="installation">
     <title>Installation of Perl</title>
 
+    <para os="p1">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="p2"><userinput>patch -Np1 -i ../&perl-fpic-patch;</userinput></screen>
+
     <para os="a00">Before starting to configure, create a basic
     <filename>/etc/hosts</filename> file which will be referenced in one
     of Perl's configuration files as well as being used used by the testsuite

Modified: trunk/BOOK/final-system/multilib/perl-64bit.xml
===================================================================
--- trunk/BOOK/final-system/multilib/perl-64bit.xml	2006-08-20 07:46:52 UTC (rev 2238)
+++ trunk/BOOK/final-system/multilib/perl-64bit.xml	2006-08-20 23:46:43 UTC (rev 2239)
@@ -30,6 +30,14 @@
     libraries and modules for the last version installed will be accessible. We
     therefore only install one version.</para>
 
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/perl.xml"
+    xpointer="xpointer(//*[@os='p1'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/perl.xml"
+    xpointer="xpointer(//*[@os='p2'])"/>
+
     <para os="p3">Perl does not, by default, know about library directories with names other
     than lib, such as lib64.  The following patch will allow it to install to lib64:</para>
 

Modified: trunk/BOOK/introduction/common/changelog.xml
===================================================================
--- trunk/BOOK/introduction/common/changelog.xml	2006-08-20 07:46:52 UTC (rev 2238)
+++ trunk/BOOK/introduction/common/changelog.xml	2006-08-20 23:46:43 UTC (rev 2239)
@@ -40,6 +40,10 @@
       <para>August 20, 2006</para>
       <itemizedlist>
         <listitem>
+          <para>[jciccone] - Added the Perl fPIC patch which makes perl build
+          a shared DynaLoader.a.</para>
+        </listitem>
+        <listitem>
           <para>[Chris] - Removed mention of package users hint from
           "Package Management" page.</para>
         </listitem>

Modified: trunk/BOOK/materials/common/patches.xml
===================================================================
--- trunk/BOOK/materials/common/patches.xml	2006-08-20 07:46:52 UTC (rev 2238)
+++ trunk/BOOK/materials/common/patches.xml	2006-08-20 23:46:43 UTC (rev 2239)
@@ -190,6 +190,15 @@
     </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>
       <listitem>
         <para>Download: <ulink

Modified: trunk/BOOK/patches.ent
===================================================================
--- trunk/BOOK/patches.ent	2006-08-20 07:46:52 UTC (rev 2238)
+++ trunk/BOOK/patches.ent	2006-08-20 23:46:43 UTC (rev 2239)
@@ -134,6 +134,10 @@
 
 <!-- Start of multilib patches -->
 
+<!ENTITY perl-fpic-patch "perl-&perl-version;-fPIC-1.patch">
+<!ENTITY perl-fpic-patch-md5 "7d784d82b1366ab88b5fc265387d2a16">
+<!ENTITY perl-fpic-patch-size "4 KB">
+
 <!ENTITY binutils-multilib-patch "binutils-&binutils-version;-genscripts_multilib-1.patch">
 <!ENTITY binutils-multilib-patch-md5 "b1d8d22ab473212abf1b19978415775b">
 <!ENTITY binutils-multilib-patch-size "2.6 KB">




More information about the cross-lfs mailing list