[Clfs-commits] [Cross-LFS]Cross-LFS Book branch, master, updated. clfs-2.0.0-305-g6b54080

git git at cross-lfs.org
Wed Aug 21 09:55:03 PDT 2013


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  6b540805b1ff251747aa160d6a27b8f18a1292ee (commit)
      from  5043f735e3f918a2571a4e72d20da5fdcdf9c3a9 (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 6b540805b1ff251747aa160d6a27b8f18a1292ee
Author: William Harrington <kb0iic at berzerkula.org>
Date:   Wed Aug 21 11:54:57 2013 -0500

    Remove the /lib/ld64.so.1 created before install and adjust the ldd script just as with x86_64-64.

diff --git a/BOOK/final-system/ppc64-64/eglibc.xml b/BOOK/final-system/ppc64-64/eglibc.xml
index 42f2b7f..350fdb7 100644
--- a/BOOK/final-system/ppc64-64/eglibc.xml
+++ b/BOOK/final-system/ppc64-64/eglibc.xml
@@ -126,6 +126,21 @@
     href="../common/eglibc.xml"
     xpointer="xpointer(//*[@os='t'])"/>
 
+    <para>Now we can remove this symlink. We also need to correct the <command>
+    /usr/bin/ldd</command> script - if you look at this, you will see it references
+    not only the 32-bit linker, but also /lib64 where it thinks the 64-bit linker
+    is. The following <command>sed</command> will correct this:</para>
+
+    <screen><userinput>rm -v /lib/ld64.so.1
+cp -v /usr/bin/ldd{,.bak}
+sed '/RTLDLIST/s%/ld64.so.1 /lib64%%' /usr/bin/ldd.bak >/usr/bin/ldd</userinput></screen>
+
+    <para>Check the script to make sure the sed worked correctly, then delete
+    the backup.</para>
+
+    <screen><userinput>rm -v /usr/bin/ldd.bak</userinput></screen>
+
+
     <para os="u">The stubs.h header installed by EGLIBC looks for stubs-32.h
     and stubs-64.h. This configuration of EGLIBC only generates stubs-64.h. Fix
     this with the following:</para>

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

Summary of changes:
 BOOK/final-system/ppc64-64/eglibc.xml |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Cross-LFS Book



More information about the Clfs-commits mailing list