diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index b6561068f..42550f02f 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -40,6 +40,28 @@
appropriate for the entry or if needed the entire day's listitem.
-->
+
+ 2022-08-06
+
+
+ [bdubbs] - Update to binutils-2.38. Fixes
+ #5089.
+
+
+ [bdubbs] - Update to util-linux-2.38.1. Fixes
+ #5088.
+
+
+ [bdubbs] - Update to Python3-3.10.6. Fixes
+ #5087.
+
+
+ [bdubbs] - Update to glibc-2.36. Fixes
+ #5084.
+
+
+
+
2022-07-24
diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml
index 66affa2dd..effa1361a 100644
--- a/chapter01/whatsnew.xml
+++ b/chapter01/whatsnew.xml
@@ -44,9 +44,9 @@
Bc &bc-version;
-
+
@@ -101,9 +101,9 @@
-
+
diff --git a/chapter03/patches.xml b/chapter03/patches.xml
index 1df01b443..af3bd7b6a 100644
--- a/chapter03/patches.xml
+++ b/chapter03/patches.xml
@@ -35,7 +35,7 @@
-->
-
+
Bzip2 Documentation Patch - &bzip2-docs-patch-size;:
@@ -68,15 +68,15 @@
-->
-
+
Glibc FHS Patch - &glibc-fhs-patch-size;:
@@ -135,6 +135,14 @@
+
+ Systemd Upstream Patch - &systemd-upstream-patch-size;:
+
+ Download:
+ MD5 sum: &systemd-upstream-patch-md5;
+
+
+
Xz Upstream Fix Patch - &xz-upstream-fix-patch-size;:
diff --git a/chapter05/binutils-pass1.xml b/chapter05/binutils-pass1.xml
index 457cb18b8..7fc7e63df 100644
--- a/chapter05/binutils-pass1.xml
+++ b/chapter05/binutils-pass1.xml
@@ -74,6 +74,7 @@ cd build
--with-sysroot=$LFS \
--target=$LFS_TGT \
--disable-nls \
+ --enable-gprofng=no \
--disable-werror
../configure --prefix=$LFS/tools \
--with-sysroot=$LFS \
@@ -121,6 +122,14 @@ cd build
+
+ --enable-gprofng=no
+
+ This disables building gprofng which is not needed for the
+ temporary tools.
+
+
+
--disable-werror
diff --git a/chapter06/binutils-pass2.xml b/chapter06/binutils-pass2.xml
index cb7455b77..a82af1cc9 100644
--- a/chapter06/binutils-pass2.xml
+++ b/chapter06/binutils-pass2.xml
@@ -64,6 +64,7 @@ cd build
--host=$LFS_TGT \
--disable-nls \
--enable-shared \
+ --enable-gprofng=no \
--disable-werror \
--enable-64-bit-bfd
../configure \
diff --git a/chapter06/gcc-pass2.xml b/chapter06/gcc-pass2.xml
index 9d3b60184..b18e2309b 100644
--- a/chapter06/gcc-pass2.xml
+++ b/chapter06/gcc-pass2.xml
@@ -43,6 +43,10 @@
Installation of GCC
+ First fix a problem with the latest version of glibc:
+
+ patch -Np1 -i ../&gcc-upstream-fixes-patch;
+
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:
diff --git a/chapter08/binutils.xml b/chapter08/binutils.xml
index c51ff90a1..9f81eb8b4 100644
--- a/chapter08/binutils.xml
+++ b/chapter08/binutils.xml
@@ -56,13 +56,13 @@
The system has no more ptys.
Ask your system administrator to create more.
-
+
+ First fix a problem with the latest version of glibc:
+
+ patch -Np1 -i ../&gcc-upstream-fixes-patch;
+
If building on x86_64, change the default directory name for 64-bit
libraries to lib
:
diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml
index 07892faf4..3663f7dac 100644
--- a/chapter08/systemd.xml
+++ b/chapter08/systemd.xml
@@ -40,6 +40,10 @@
Installation of systemd
+ First, fix an issue introduced by glibc-2.36.
+
+patch -Np1 -i ../&systemd-upstream-patch;
+
Remove two unneeded groups,
render and
sgx, from the default udev
diff --git a/packages.ent b/packages.ent
index 1358c0cf4..072596027 100644
--- a/packages.ent
+++ b/packages.ent
@@ -66,10 +66,10 @@
-
-
+
+
-
+
@@ -257,10 +257,10 @@
-
-
+
+
-
+
@@ -394,7 +394,7 @@
-
+
@@ -600,19 +600,19 @@
-
+
-
+
-
+
-
-
+
+
@@ -719,10 +719,10 @@
-
-
+
+
-
+
diff --git a/patches.ent b/patches.ent
index 6c5acb77c..9efd90285 100644
--- a/patches.ent
+++ b/patches.ent
@@ -39,11 +39,11 @@
-->
-
+
+
+
+
+
@@ -85,6 +85,10 @@
+
+
+
+