[lfs-book] r10427 - in trunk/BOOK: chapter01 chapter06

bdubbs at higgs.linuxfromscratch.org bdubbs at higgs.linuxfromscratch.org
Sun Dec 29 10:42:35 PST 2013


Author: bdubbs
Date: Sun Dec 29 10:42:35 2013
New Revision: 10427

Log:
Use gcc version of libiberty.a

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/binutils.xml
   trunk/BOOK/chapter06/gcc.xml

Modified: trunk/BOOK/chapter01/changelog.xml
==============================================================================
--- trunk/BOOK/chapter01/changelog.xml	Sun Dec 29 10:29:18 2013	(r10426)
+++ trunk/BOOK/chapter01/changelog.xml	Sun Dec 29 10:42:35 2013	(r10427)
@@ -39,6 +39,10 @@
       <para>2013-12-29</para>
       <itemizedlist>
         <listitem>
+          <para>[bdubbs] - Use gcc version of libiberty.a.  Fixes
+          <ulink url="&lfs-ticket-root;3456">#3456</ulink>.</para>
+        </listitem>
+        <listitem>
           <para>[bdubbs] - Use different URL for shadow.  Fixes
           <ulink url="&lfs-ticket-root;3453">#3453</ulink>.</para>
         </listitem>

Modified: trunk/BOOK/chapter06/binutils.xml
==============================================================================
--- trunk/BOOK/chapter06/binutils.xml	Sun Dec 29 10:29:18 2013	(r10426)
+++ trunk/BOOK/chapter06/binutils.xml	Sun Dec 29 10:42:35 2013	(r10427)
@@ -112,13 +112,12 @@
     <para>Install the package:</para>
 
 <screen><userinput remap="install">make tooldir=/usr install</userinput></screen>
-
+<!--
     <para>Install the <filename class="headerfile">libiberty</filename> header
     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-version;/include/libiberty.h /usr/include</userinput></screen>
-
+-->
   </sect2>
 
 
@@ -133,7 +132,7 @@
       <seglistitem>
         <seg>addr2line, ar, as, c++filt, elfedit, gprof, ld, ld.bfd, nm,
         objcopy, objdump, ranlib, readelf, size, strings, and strip</seg>
-        <seg>libiberty.a, libbfd.{a,so}, and libopcodes.{a,so}</seg>
+        <seg><!--libiberty.a,--> libbfd.{a,so}, and libopcodes.{a,so}</seg>
         <seg>/usr/lib/ldscripts</seg>
       </seglistitem>
     </segmentedlist>
@@ -319,7 +318,7 @@
           </indexterm>
         </listitem>
       </varlistentry>
-
+<!--
       <varlistentry id="libiberty">
         <term><filename class="libraryfile">libiberty</filename></term>
         <listitem>
@@ -332,7 +331,7 @@
           </indexterm>
         </listitem>
       </varlistentry>
-
+-->
       <varlistentry id="libbfd">
         <term><filename class="libraryfile">libbfd</filename></term>
         <listitem>

Modified: trunk/BOOK/chapter06/gcc.xml
==============================================================================
--- trunk/BOOK/chapter06/gcc.xml	Sun Dec 29 10:29:18 2013	(r10426)
+++ trunk/BOOK/chapter06/gcc.xml	Sun Dec 29 10:42:35 2013	(r10427)
@@ -49,13 +49,13 @@
 <screen><userinput remap="pre">case `uname -m` in
   i?86) sed -i 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in ;;
 esac</userinput></screen>
-
+<!--
     <para>Workaround a bug so that GCC doesn't install
     <filename class="libraryfile">libiberty.a</filename>, which is already
     provided by Binutils:</para>
 
 <screen><userinput remap="pre">sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in</userinput></screen>
-
+-->
     <para>Also fix an error in one of the check Makefiles and disable one test in
     the g++ libmudflap test suite:</para>
 
@@ -315,7 +315,7 @@
         gcc-ar, gcc-nm, gcc-ranlib, and gcov</seg>
 
         <seg>libasan.{a,so}, libatomic.{a,so}, libgcc.a, libgcc_eh.a, 
-        libgcc_s.so, libgcov.a, libgomp.{a,so}, libitm.{a,so},
+        libgcc_s.so, libgcov.a, libgomp.{a,so}, libiberty.a, libitm.{a,so},
         liblto_plugin.so, libmudflap.{a,so}, libmudflapth.{a,so},
         libquadmath.{a,so}, libssp.{a,so},
         libssp_nonshared.a, libstdc++.{a,so}, libsupc++.a and libtsan.{a,so}</seg>
@@ -471,6 +471,19 @@
           </indexterm>
         </listitem>
       </varlistentry>
+
+      <varlistentry id="libiberty">
+        <term><filename class="libraryfile">libiberty</filename></term>
+        <listitem>
+          <para>Contains routines used by various GNU programs, including
+          <command>getopt</command>, <command>obstack</command>,
+          <command>strerror</command>, <command>strtol</command>, and
+          <command>strtoul</command></para>
+          <indexterm zone="ch-system-gcc libiberty">
+            <primary sortas="c-libiberty">libiberty</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
 
       <varlistentry id="liblto_plugin">
         <term><filename class="libraryfile">liblto_plugin</filename></term>



More information about the lfs-book mailing list