From af133c3f42ecfac2892e1cd1eaf202575e932502 Mon Sep 17 00:00:00 2001 From: Jeremy Utley Date: Sat, 4 Dec 2004 20:53:03 +0000 Subject: 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 --- chapter05/binutils-pass1.xml | 6 ++++++ chapter05/binutils-pass2.xml | 7 +++++++ 2 files changed, 13 insertions(+) (limited to 'chapter05') 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 -march and environment variables that override default optimizations, such as CFLAGS and CXXFLAGS, we recommend un-setting them when building Binutils. +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: + +patch -Np1 -i ../binutils-&binutils-version;-fix_strip-1.patch + The Binutils documentation recommends building Binutils outside of the source directory in a dedicated build directory: 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 @@ Re-installation of Binutils +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: + +patch -Np1 -i ../binutils-&binutils-version;-fix_strip-1.patc +h + Create a separate build directory again: mkdir ../binutils-build -- cgit v1.2.3-54-g00ecf