aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/binutils-pass2.xml1
-rw-r--r--chapter06/gcc-pass2.xml4
2 files changed, 5 insertions, 0 deletions
diff --git a/chapter06/binutils-pass2.xml b/chapter06/binutils-pass2.xml
index e55bcf92b..1cabf96d9 100644
--- a/chapter06/binutils-pass2.xml
+++ b/chapter06/binutils-pass2.xml
@@ -64,6 +64,7 @@ cd build</userinput></screen>
--host=$LFS_TGT \
--disable-nls \
--enable-shared \
+ --enable-gprofng=no \
--disable-werror \
--enable-64-bit-bfd</userinput></screen>
diff --git a/chapter06/gcc-pass2.xml b/chapter06/gcc-pass2.xml
index ef2eff517..de78bb2aa 100644
--- a/chapter06/gcc-pass2.xml
+++ b/chapter06/gcc-pass2.xml
@@ -43,6 +43,10 @@
<sect2 role="installation">
<title>Installation of GCC</title>
+ <para>First fix a problem with the latest version of glibc:</para>
+
+ <screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-fixes-patch;</userinput></screen>
+
<para>As in the first build of GCC, the GMP, MPFR, and MPC packages are
required. Unpack the tarballs and move them into the required directory
names:</para>