aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorJeremy Utley <jeremy@linuxfromscratch.org>2004-12-04 20:53:03 +0000
committerJeremy Utley <jeremy@linuxfromscratch.org>2004-12-04 20:53:03 +0000
commitaf133c3f42ecfac2892e1cd1eaf202575e932502 (patch)
tree2c202fba99d9004dd39b2ff5f4e6ce16618d75b0 /chapter05
parent0a324b5241f112b6929ebd85591226ef7eb2d1bb (diff)
Added new binutils fix_strip patch taken from upstream
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4354 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/binutils-pass1.xml6
-rw-r--r--chapter05/binutils-pass2.xml7
2 files changed, 13 insertions, 0 deletions
diff --git a/chapter05/binutils-pass1.xml b/chapter05/binutils-pass1.xml
index 96ebbdfa6..8b693e3b9 100644
--- a/chapter05/binutils-pass1.xml
+++ b/chapter05/binutils-pass1.xml
@@ -37,6 +37,12 @@ optimization flags (including the <parameter>-march</parameter> and
environment variables that override default optimizations, such as CFLAGS and
CXXFLAGS, we recommend un-setting them when building Binutils.</para>
+<para>The current version of Binutils in use has a bug that causes strip to
+remove necessary information from certain library files. This patch fixes
+the problem:</para>
+
+<screen><userinput>patch -Np1 -i ../binutils-&binutils-version;-fix_strip-1.patch</userinput></screen>
+
<para>The Binutils documentation recommends building Binutils outside of the
source directory in a dedicated build directory:</para>
diff --git a/chapter05/binutils-pass2.xml b/chapter05/binutils-pass2.xml
index b09b9fae6..52c48cf8d 100644
--- a/chapter05/binutils-pass2.xml
+++ b/chapter05/binutils-pass2.xml
@@ -24,6 +24,13 @@
<sect2 role="installation">
<title>Re-installation of Binutils</title>
+<para>The current version of Binutils in use has a bug that causes strip to
+remove necessary information from certain library files. This patch fixes
+the problem:</para>
+
+<screen><userinput>patch -Np1 -i ../binutils-&binutils-version;-fix_strip-1.patc
+h</userinput></screen>
+
<para>Create a separate build directory again:</para>
<screen><userinput>mkdir ../binutils-build