[lfs-book] r9671 - in trunk/BOOK: . chapter01 chapter05 chapter06

matthew at linuxfromscratch.org matthew at linuxfromscratch.org
Fri Nov 25 12:50:59 PST 2011


Author: matthew
Date: 2011-11-25 13:50:58 -0700 (Fri, 25 Nov 2011)
New Revision: 9671

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter01/whatsnew.xml
   trunk/BOOK/chapter05/binutils-pass1.xml
   trunk/BOOK/chapter05/binutils-pass2.xml
   trunk/BOOK/chapter06/binutils.xml
   trunk/BOOK/chapter06/e2fsprogs.xml
   trunk/BOOK/packages.ent
Log:
Upgrade to Binutils-2.22. Fixes #2967.

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml	2011-11-25 20:50:25 UTC (rev 9670)
+++ trunk/BOOK/chapter01/changelog.xml	2011-11-25 20:50:58 UTC (rev 9671)
@@ -40,6 +40,10 @@
       <para>2011-11-25</para>
       <itemizedlist>
         <listitem>
+          <para>[matthew] - Upgrade to Binutils-2.22. Fixes
+          <ulink url="&lfs-ticket-root;2967">#2967</ulink>.</para>
+        </listitem>
+        <listitem>
           <para>[matthew] - Install Glibc's NIS and RPC headers again.  The
           headers have not been installed by default since Glibc-2.14, but that
           causes various BLFS packages to break. Fixes

Modified: trunk/BOOK/chapter01/whatsnew.xml
===================================================================
--- trunk/BOOK/chapter01/whatsnew.xml	2011-11-25 20:50:25 UTC (rev 9670)
+++ trunk/BOOK/chapter01/whatsnew.xml	2011-11-25 20:50:58 UTC (rev 9671)
@@ -43,9 +43,9 @@
     <!--<listitem>
       <para>Berkeley DB &db-version;</para>
     </listitem> -->
-    <!--<listitem>
+    <listitem>
       <para>Binutils &binutils-version;</para>
-    </listitem>-->
+    </listitem>
     <!--<listitem>
       <para>Bison &bison-version;</para>
     </listitem>-->

Modified: trunk/BOOK/chapter05/binutils-pass1.xml
===================================================================
--- trunk/BOOK/chapter05/binutils-pass1.xml	2011-11-25 20:50:25 UTC (rev 9670)
+++ trunk/BOOK/chapter05/binutils-pass1.xml	2011-11-25 20:50:58 UTC (rev 9671)
@@ -72,8 +72,7 @@
 
     <para>Now prepare Binutils for compilation:</para>
 
-<!-- <screen><userinput remap="configure">../binutils-&binutils-version;/configure \ -->
-<screen><userinput remap="configure">../binutils-&binutils-dir;/configure \
+<screen><userinput remap="configure">../binutils-&binutils-version;/configure \
     --target=$LFS_TGT --prefix=/tools \
     --disable-nls --disable-werror</userinput></screen>
 

Modified: trunk/BOOK/chapter05/binutils-pass2.xml
===================================================================
--- trunk/BOOK/chapter05/binutils-pass2.xml	2011-11-25 20:50:25 UTC (rev 9670)
+++ trunk/BOOK/chapter05/binutils-pass2.xml	2011-11-25 20:50:58 UTC (rev 9671)
@@ -52,10 +52,9 @@
 
 <screen><userinput remap="configure">CC="$LFS_TGT-gcc -B/tools/lib/" \
    AR=$LFS_TGT-ar RANLIB=$LFS_TGT-ranlib \
-   ../binutils-&binutils-dir;/configure --prefix=/tools \
+   ../binutils-&binutils-version;/configure --prefix=/tools \
    --disable-nls --with-lib-path=/tools/lib</userinput></screen>
 
-<!--   ../binutils-&binutils-version;/configure - -prefix=/tools \ -->
     <variablelist>
       <title>The meaning of the new configure options:</title>
 

Modified: trunk/BOOK/chapter06/binutils.xml
===================================================================
--- trunk/BOOK/chapter06/binutils.xml	2011-11-25 20:50:25 UTC (rev 9670)
+++ trunk/BOOK/chapter06/binutils.xml	2011-11-25 20:50:58 UTC (rev 9671)
@@ -77,8 +77,7 @@
 
     <para>Prepare Binutils for compilation:</para>
 
-<!-- <screen><userinput remap="configure">../binutils-&binutils-version;/configure - -prefix=/usr \ -->
-<screen><userinput remap="configure">../binutils-&binutils-dir;/configure --prefix=/usr --enable-shared</userinput></screen>
+<screen><userinput remap="configure">../binutils-&binutils-version;/configure --prefix=/usr --enable-shared</userinput></screen>
 
     <para>Compile the package:</para>
 
@@ -123,7 +122,7 @@
     file that is needed by some packages:</para>
 
 <!-- <screen><userinput remap="install">cp -v ../binutils-&binutils-version;/include/libiberty.h /usr/include</userinput></screen> -->
-<screen><userinput remap="install">cp -v ../binutils-&binutils-dir;/include/libiberty.h /usr/include</userinput></screen>
+<screen><userinput remap="install">cp -v ../binutils-&binutils-version;/include/libiberty.h /usr/include</userinput></screen>
 
   </sect2>
 

Modified: trunk/BOOK/chapter06/e2fsprogs.xml
===================================================================
--- trunk/BOOK/chapter06/e2fsprogs.xml	2011-11-25 20:50:25 UTC (rev 9670)
+++ trunk/BOOK/chapter06/e2fsprogs.xml	2011-11-25 20:50:58 UTC (rev 9671)
@@ -52,7 +52,7 @@
 
     <para>Prepare E2fsprogs for compilation:</para>
 
-<screen><userinput remap="configure">PKG_CONFIG=/tools/bin/true LDFLAGS=-lblkid \
+<screen><userinput remap="configure">PKG_CONFIG=/tools/bin/true LDFLAGS="-lblkid -luuid" \
     ../configure --prefix=/usr --with-root-prefix="" \
     --enable-elf-shlibs --disable-libblkid --disable-libuuid \
     --disable-uuidd --disable-fsck</userinput></screen>

Modified: trunk/BOOK/packages.ent
===================================================================
--- trunk/BOOK/packages.ent	2011-11-25 20:50:25 UTC (rev 9670)
+++ trunk/BOOK/packages.ent	2011-11-25 20:50:58 UTC (rev 9671)
@@ -34,11 +34,10 @@
 <!ENTITY bash-ch6-du "35 MB">
 <!ENTITY bash-ch6-sbu "1.4 SBU">
 
-<!ENTITY binutils-version "2.21.1a">
-<!ENTITY binutils-dir "2.21.1">
-<!ENTITY binutils-size "18,553 KB">
+<!ENTITY binutils-version "2.22">
+<!ENTITY binutils-size "19,505 KB">
 <!ENTITY binutils-url "&gnu;binutils/binutils-&binutils-version;.tar.bz2">
-<!ENTITY binutils-md5 "bde820eac53fa3a8d8696667418557ad">
+<!ENTITY binutils-md5 "ee0f10756c84979622b992a4a61ea3f5">
 <!ENTITY binutils-home "http://www.gnu.org/software/binutils/">
 <!ENTITY binutils-ch5p1-du "350 MB">
 <!ENTITY binutils-ch5p1-sbu "1 SBU">




More information about the lfs-book mailing list