diff -Naur lfs-6.3/chapter03/packages.xml lfs-6.3forppc/chapter03/packages.xml --- lfs-6.3/chapter03/packages.xml 2010-01-01 20:18:37.000000000 -0700 +++ lfs-6.3forppc/chapter03/packages.xml 2010-01-03 14:04:59.000000000 -0700 @@ -570,6 +570,15 @@ + Yaboot (&yaboot-version;) - &yaboot-size;: + + Home page: + Download: + MD5 sum: &yaboot-md5; + + + + Zlib (&zlib-version;) - &zlib-size;: Home page: diff -Naur lfs-6.3/chapter05/adjusting.xml lfs-6.3forppc/chapter05/adjusting.xml --- lfs-6.3/chapter05/adjusting.xml 2010-01-01 20:18:37.000000000 -0700 +++ lfs-6.3forppc/chapter05/adjusting.xml 2010-01-03 13:53:52.000000000 -0700 @@ -36,19 +36,19 @@ For the sake of accuracy, it is recommended to use a copy-and-paste method when issuing the following command. Be sure to visually inspect the - specs file and verify that all occurrences of /lib/ld-linux.so.2 - have been replaced with /tools/lib/ld-linux.so.2: + specs file and verify that all occurrences of /lib/ld.so.1 + have been replaced with /tools/lib/ld.so.1: If working on a platform where the name of the dynamic linker is - something other than ld-linux.so.2, - replace ld-linux.so.2 with the name of the platform's + something other than ld.so.1, + replace ld.so.1 with the name of the platform's dynamic linker in the following commands. Refer to if necessary. -gcc -dumpspecs | sed 's@^/lib/ld-linux.so.2@/tools&@g' \ +gcc -dumpspecs | sed 's@/lib/ld.so.1@/tools&@g' \ > `dirname $(gcc -print-libgcc-file-name)`/specs During the build process, GCC runs a script @@ -84,7 +84,7 @@ and the output of the last command will be of the form: [Requesting program interpreter: - /tools/lib/ld-linux.so.2] + /tools/lib/ld.so.1] Note that /tools/lib appears as the prefix of the dynamic linker. diff -Naur lfs-6.3/chapter05/gcc-pass2.xml lfs-6.3forppc/chapter05/gcc-pass2.xml --- lfs-6.3/chapter05/gcc-pass2.xml 2010-01-01 20:18:37.000000000 -0700 +++ lfs-6.3forppc/chapter05/gcc-pass2.xml 2010-01-03 13:53:52.000000000 -0700 @@ -86,7 +86,7 @@ Apply the following patch to change the location of GCC's default dynamic linker (typically ld-linux.so.2): + class="libraryfile">ld.so.1): patch -Np1 -i ../&gcc-specs-patch; diff -Naur lfs-6.3/chapter05/ncurses.xml lfs-6.3forppc/chapter05/ncurses.xml --- lfs-6.3/chapter05/ncurses.xml 2010-01-01 20:18:37.000000000 -0700 +++ lfs-6.3forppc/chapter05/ncurses.xml 2010-01-03 13:53:52.000000000 -0700 @@ -40,7 +40,7 @@ Prepare Ncurses for compilation: ./configure --prefix=/tools --with-shared \ - --without-debug --without-ada --enable-overwrite + --without-debug --without-ada --enable-overwrite --without-gpm The meaning of the configure options: diff -Naur lfs-6.3/chapter06/chapter06.xml lfs-6.3forppc/chapter06/chapter06.xml --- lfs-6.3/chapter06/chapter06.xml 2010-01-01 20:18:37.000000000 -0700 +++ lfs-6.3forppc/chapter06/chapter06.xml 2010-01-03 13:53:52.000000000 -0700 @@ -44,7 +44,6 @@ - diff -Naur lfs-6.3/chapter06/coreutils.xml lfs-6.3forppc/chapter06/coreutils.xml --- lfs-6.3/chapter06/coreutils.xml 2010-01-01 20:18:37.000000000 -0700 +++ lfs-6.3forppc/chapter06/coreutils.xml 2010-01-03 13:53:52.000000000 -0700 @@ -40,7 +40,7 @@ returns unknown. The following patch fixes this behavior for Intel architectures: -patch -Np1 -i ../&coreutils-uname-patch; +# not on ppc patch -Np1 -i ../&coreutils-uname-patch; Prevent Coreutils from installing binaries that will be installed by other packages later: diff -Naur lfs-6.3/chapter06/glibc.xml lfs-6.3forppc/chapter06/glibc.xml --- lfs-6.3/chapter06/glibc.xml 2010-01-01 20:18:37.000000000 -0700 +++ lfs-6.3forppc/chapter06/glibc.xml 2010-01-03 13:53:52.000000000 -0700 @@ -79,7 +79,7 @@ to check the Glibc we have just installed with the following: sed -i \ -'s|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=/lib/ld-linux.so.2 -o|' \ +'s|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=/lib/ld.so.1 -o|' \ scripts/test-installation.pl The ldd shell script contains Bash-specific @@ -311,7 +311,7 @@ By default, the dynamic loader (/lib/ld-linux.so.2) searches through + class="libraryfile">/lib/ld.so.1) searches through /lib and /usr/lib for dynamic libraries that are needed by programs as they are run. However, if there are libraries in diff -Naur lfs-6.3/chapter06/inetutils.xml lfs-6.3forppc/chapter06/inetutils.xml --- lfs-6.3/chapter06/inetutils.xml 2010-01-01 20:18:37.000000000 -0700 +++ lfs-6.3forppc/chapter06/inetutils.xml 2010-01-03 13:53:52.000000000 -0700 @@ -46,7 +46,7 @@ ./configure --prefix=/usr --libexecdir=/usr/sbin \ --sysconfdir=/etc --localstatedir=/var \ --disable-ifconfig --disable-logger --disable-syslogd \ - --disable-whois --disable-servers + --disable-whois The meaning of the configure options: diff -Naur lfs-6.3/chapter06/readjusting.xml lfs-6.3forppc/chapter06/readjusting.xml --- lfs-6.3/chapter06/readjusting.xml 2010-01-01 20:18:37.000000000 -0700 +++ lfs-6.3forppc/chapter06/readjusting.xml 2010-01-03 13:53:52.000000000 -0700 @@ -39,14 +39,14 @@ If working on a platform where the name of the dynamic linker is - something other than ld-linux.so.2, - substitute ld-linux.so.2 with the name of the platform's + something other than ld.so.1, + substitute ld.so.1 with the name of the platform's dynamic linker in the following commands. Refer to if necessary. gcc -dumpspecs | sed \ - -e 's@/tools/lib/ld-linux.so.2@/lib/ld-linux.so.2@g' \ + -e 's@/tools/lib/ld.so.1@/lib/ld.so.1@g' \ -e '/\*startfile_prefix_spec:/{n;s@.*@/usr/lib/ @}' \ -e '/\*cpp:/{n;s@$@ -isystem /usr/include@}' > \ `dirname $(gcc --print-libgcc-file-name)`/specs @@ -66,7 +66,7 @@ and the output of the last command will be (allowing for platform-specific differences in dynamic linker name): -[Requesting program interpreter: /lib/ld-linux.so.2] +[Requesting program interpreter: /lib/ld.so.1] Note that /lib is now the prefix of our dynamic linker. @@ -120,7 +120,7 @@ and the output of the last command will be (allowing for platform-specific differences in dynamic linker name): -found ld-linux.so.2 at /lib/ld-linux.so.2 +found ld.so.1 at /lib/ld.so.1 If the output does not appear as shown above or is not received at all, then something is seriously wrong. Investigate and retrace the diff -Naur lfs-6.3/packages.ent lfs-6.3forppc/packages.ent --- lfs-6.3/packages.ent 2010-01-01 20:18:37.000000000 -0700 +++ lfs-6.3forppc/packages.ent 2010-01-03 14:08:38.000000000 -0700 @@ -509,6 +509,14 @@ + + + + + + + +