[Clfs-commits] [Cross-LFS]Cross-LFS Book branch, master, updated. 5dcff5d6430d3becac37ded7844b272aa6946fe3

git git at cross-lfs.org
Fri Jan 1 08:43:46 PST 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cross-LFS Book".

The branch, master has been updated
       via  5dcff5d6430d3becac37ded7844b272aa6946fe3 (commit)
      from  24bab8b0719812f97dc19809251f6201cf60e05b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5dcff5d6430d3becac37ded7844b272aa6946fe3
Author: Joe Ciccone <jciccone at gmail.com>
Date:   Fri Jan 1 11:42:36 2010 -0500

    Stopped Cloog-PPL from setting LD_LIBRARY_PATH to fix segfault issues.

diff --git a/BOOK/cross-tools/common/cloog-ppl.xml b/BOOK/cross-tools/common/cloog-ppl.xml
index 58f6204..4152d37 100644
--- a/BOOK/cross-tools/common/cloog-ppl.xml
+++ b/BOOK/cross-tools/common/cloog-ppl.xml
@@ -29,9 +29,17 @@
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../../final-system/common/cloog-ppl.xml"
-	xpointer="xpointer(//*[@os='p2'])"/>
+    xpointer="xpointer(//*[@os='p2'])"/>
  -->
 
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../temp-system/common/cloog-ppl.xml"
+    xpointer="xpointer(//*[@os='s1'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../temp-system/common/cloog-ppl.xml"
+    xpointer="xpointer(//*[@os='s2'])"/>
+
     <para os="a">Prepare CLooG-PPL for compilation:</para>
 
 <screen os="b"><userinput>LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
diff --git a/BOOK/introduction/common/changelog.xml b/BOOK/introduction/common/changelog.xml
index 882d09d..227966c 100644
--- a/BOOK/introduction/common/changelog.xml
+++ b/BOOK/introduction/common/changelog.xml
@@ -40,6 +40,16 @@
       <para>December 31, 2009</para>
       <itemizedlist>
         <listitem>
+          <para>[jciccone] - Stopped Cloog-PPL from setting LD_LIBRARY_PATH to
+                fix segfault issues.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
+      <para>December 31, 2009</para>
+      <itemizedlist>
+        <listitem>
           <para>[Jonathan] - Updated Readline Patch to -2.</para>
         </listitem>
       </itemizedlist>
diff --git a/BOOK/temp-system/64/cloog-ppl.xml b/BOOK/temp-system/64/cloog-ppl.xml
index 4f525e2..e6305f5 100644
--- a/BOOK/temp-system/64/cloog-ppl.xml
+++ b/BOOK/temp-system/64/cloog-ppl.xml
@@ -34,6 +34,14 @@
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../common/cloog-ppl.xml"
+    xpointer="xpointer(//*[@os='s1'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/cloog-ppl.xml"
+    xpointer="xpointer(//*[@os='s2'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/cloog-ppl.xml"
     xpointer="xpointer(//*[@os='a'])"/>
 
 <screen os="b"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
diff --git a/BOOK/temp-system/common/cloog-ppl.xml b/BOOK/temp-system/common/cloog-ppl.xml
index 84380b9..c5c8a7b 100644
--- a/BOOK/temp-system/common/cloog-ppl.xml
+++ b/BOOK/temp-system/common/cloog-ppl.xml
@@ -32,6 +32,11 @@
     xpointer="xpointer(//*[@os='p2'])"/>
 -->
 
+    <para os="s1">The following prevents the configure script from setting <envar>LD_LIBRARY_PATH</envar> when it finds PPL. This will prevent any conflicts with libraries from the host system:</para>
+
+<screen os="s2"><userinput>cp -v configure{,.orig}
+sed "/LD_LIBRARY_PATH=/d" configure.orig > configure</userinput></screen>
+
     <para os="a">Prepare CLooG-PPL for compilation:</para>
 
 <screen os="b"><userinput>./configure --prefix=/tools \
diff --git a/BOOK/temp-system/multilib/cloog-ppl.xml b/BOOK/temp-system/multilib/cloog-ppl.xml
index 03f15a6..3916b66 100644
--- a/BOOK/temp-system/multilib/cloog-ppl.xml
+++ b/BOOK/temp-system/multilib/cloog-ppl.xml
@@ -34,6 +34,14 @@
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../common/cloog-ppl.xml"
+    xpointer="xpointer(//*[@os='s1'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/cloog-ppl.xml"
+    xpointer="xpointer(//*[@os='s2'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/cloog-ppl.xml"
 	xpointer="xpointer(//*[@os='a'])"/>
 
 <screen os="b"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \

-----------------------------------------------------------------------

Summary of changes:
 BOOK/cross-tools/common/cloog-ppl.xml   |   10 +++++++++-
 BOOK/introduction/common/changelog.xml  |   10 ++++++++++
 BOOK/temp-system/64/cloog-ppl.xml       |    8 ++++++++
 BOOK/temp-system/common/cloog-ppl.xml   |    5 +++++
 BOOK/temp-system/multilib/cloog-ppl.xml |    8 ++++++++
 5 files changed, 40 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Cross-LFS Book



More information about the Clfs-commits mailing list