r1572 - branches/Onward/temporary_system

robert at linuxfromscratch.org robert at linuxfromscratch.org
Tue Feb 23 13:51:14 PST 2010


Author: robert
Date: 2010-02-23 14:51:14 -0700 (Tue, 23 Feb 2010)
New Revision: 1572

Modified:
   branches/Onward/temporary_system/glibc.txt
Log:
Fix /tools/bin/ldd for x86_64.

Modified: branches/Onward/temporary_system/glibc.txt
===================================================================
--- branches/Onward/temporary_system/glibc.txt	2010-02-23 21:46:16 UTC (rev 1571)
+++ branches/Onward/temporary_system/glibc.txt	2010-02-23 21:51:14 UTC (rev 1572)
@@ -191,6 +191,14 @@
 env -u MAKEFLAGS make PARALLELMAKEFLAGS="$MAKEFLAGS" \
 	sbindir="/tools/bin" rootsbindir="/tools/bin" install &&
 
+# Modify the 'ldd' script so it works on x86_64:
+
+case $(uname -m) in
+ x86_64)
+  sed '/RTLDLIST/s%/ld-linux.so.2 /tools/lib64%%' elf/ldd > /tools/bin/ldd
+ ;;
+esac &&
+
 # Create some files for the rebooted system (this touching of files may not be
 # nescessary, but creating the directories is):
 




More information about the hlfs-book mailing list