From b755562fb4b3c26c0febfc622b520dde5e664717 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sun, 29 Dec 2013 18:42:35 +0000 Subject: Use gcc version of libiberty.a git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10427 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 4 ++++ chapter06/binutils.xml | 11 +++++------ chapter06/gcc.xml | 19 ++++++++++++++++--- 3 files changed, 25 insertions(+), 9 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index d74a63339..d33667053 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -38,6 +38,10 @@ 2013-12-29 + + [bdubbs] - Use gcc version of libiberty.a. Fixes + #3456. + [bdubbs] - Use different URL for shadow. Fixes #3453. diff --git a/chapter06/binutils.xml b/chapter06/binutils.xml index a82f96c5c..d54cbe45e 100644 --- a/chapter06/binutils.xml +++ b/chapter06/binutils.xml @@ -112,13 +112,12 @@ cd ../binutils-build Install the package: make tooldir=/usr install - + cp -v ../binutils-&binutils-version;/include/libiberty.h /usr/include - +--> @@ -133,7 +132,7 @@ cd ../binutils-build addr2line, ar, as, c++filt, elfedit, gprof, ld, ld.bfd, nm, objcopy, objdump, ranlib, readelf, size, strings, and strip - libiberty.a, libbfd.{a,so}, and libopcodes.{a,so} + libbfd.{a,so}, and libopcodes.{a,so} /usr/lib/ldscripts @@ -319,7 +318,7 @@ cd ../binutils-build - + libbfd diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml index 34cff2785..cbc292c1e 100644 --- a/chapter06/gcc.xml +++ b/chapter06/gcc.xml @@ -49,13 +49,13 @@ case `uname -m` in i?86) sed -i 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in ;; esac - + Also fix an error in one of the check Makefiles and disable one test in the g++ libmudflap test suite: @@ -315,7 +315,7 @@ mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib gcc-ar, gcc-nm, gcc-ranlib, and gcov 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} @@ -472,6 +472,19 @@ mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib + + libiberty + + Contains routines used by various GNU programs, including + getopt, obstack, + strerror, strtol, and + strtoul + + libiberty + + + + liblto_plugin -- cgit v1.2.3-54-g00ecf