aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2022-08-06 17:40:17 -0500
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2022-08-06 17:40:17 -0500
commit1b11115cd2bde70178f0b600de85f64a12cc36dc (patch)
treec0fe974bcd220775f2ee888dff970a3c0d951f2c /chapter06
parent32feb4ba2ededf64430554baca57eb3af0fedbe3 (diff)
Package updates.
Update to binutils-2.38. Update to util-linux-2.38.1. Update to Python3-3.10.6. Update to glibc-2.36.
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>