diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index e1b031af9..d8da5f337 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -39,6 +39,10 @@
2012-03-27
+
+ [matthew] - Add a patch to fix building of Binutils with the
+ -O3 compiler flag. Thanks to Pierre Labastie for the report.
+
[matthew] - Add the GCC fix patch back to Glibc instructions
to fix a build issue on 32-bit hosts. Thanks to Pierre Labastie for
diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml
index 212560992..c1cb214dc 100644
--- a/chapter01/whatsnew.xml
+++ b/chapter01/whatsnew.xml
@@ -223,6 +223,10 @@
&bash-fixes-patch;
+
+ &binutils-build-patch;
+
+
&gcc-startfiles-patch;
diff --git a/chapter03/patches.xml b/chapter03/patches.xml
index b6379105b..a76c88a0e 100644
--- a/chapter03/patches.xml
+++ b/chapter03/patches.xml
@@ -26,6 +26,14 @@
+
+ Binutils Build Fix Patch - &binutils-build-patch-size;:
+
+ Download:
+ MD5 sum: &binutils-build-patch-md5;
+
+
+
Bzip2 Documentation Patch - &bzip2-docs-patch-size;:
diff --git a/chapter05/binutils-pass1.xml b/chapter05/binutils-pass1.xml
index 9c9f6225f..6d596ce67 100644
--- a/chapter05/binutils-pass1.xml
+++ b/chapter05/binutils-pass1.xml
@@ -70,6 +70,10 @@ cd ../binutils-build
The approximate build SBU values and required disk space
in Chapter 5 does not include test suite data.
+ Apply a patch to prevent a build failure when using compiler optimizations:
+
+patch -Np1 -i ../&binutils-build-patch;
+
Now prepare Binutils for compilation:
../binutils-&binutils-version;/configure --target=$LFS_TGT \
diff --git a/chapter05/binutils-pass2.xml b/chapter05/binutils-pass2.xml
index 03e55ca1e..5a0ea6900 100644
--- a/chapter05/binutils-pass2.xml
+++ b/chapter05/binutils-pass2.xml
@@ -48,6 +48,10 @@
mkdir -v ../binutils-build
cd ../binutils-build
+ Apply a patch to prevent a build failure when using compiler optimizations:
+
+patch -Np1 -i ../&binutils-build-patch;
+
Prepare Binutils for compilation:
CC="$LFS_TGT-gcc -B/tools/lib/" \
diff --git a/chapter06/binutils.xml b/chapter06/binutils.xml
index f5ff0d27f..0b044b108 100644
--- a/chapter06/binutils.xml
+++ b/chapter06/binutils.xml
@@ -69,6 +69,10 @@ sed -i.bak '/^INFO/s/standards.info //' etc/Makefile.in
sed -i "/exception_defines.h/d" ld/testsuite/ld-elf/new.cc
sed -i "s/-fvtable-gc //" ld/testsuite/ld-selective/selective.exp
+ Apply a patch to prevent a build failure when using compiler optimizations:
+
+patch -Np1 -i ../&binutils-build-patch;
+
The Binutils documentation recommends building Binutils outside of the
source directory in a dedicated build directory:
diff --git a/patches.ent b/patches.ent
index 1fad4b7db..f86b36377 100644
--- a/patches.ent
+++ b/patches.ent
@@ -7,6 +7,11 @@
+
+
+
+
+