Index: chapter01/changelog.xml
===================================================================
--- chapter01/changelog.xml	(revision 32feb4ba2ededf64430554baca57eb3af0fedbe3)
+++ chapter01/changelog.xml	(revision 1b11115cd2bde70178f0b600de85f64a12cc36dc)
@@ -42,4 +42,26 @@
 
     <listitem>
+      <para>2022-08-06</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Update to binutils-2.38. Fixes
+          <ulink url="&lfs-ticket-root;5089">#5089</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Update to util-linux-2.38.1. Fixes
+          <ulink url="&lfs-ticket-root;5088">#5088</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Update to Python3-3.10.6. Fixes
+          <ulink url="&lfs-ticket-root;5087">#5087</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Update to glibc-2.36. Fixes
+          <ulink url="&lfs-ticket-root;5083">#5084</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>2022-07-24</para>
       <itemizedlist>
Index: chapter01/whatsnew.xml
===================================================================
--- chapter01/whatsnew.xml	(revision 32feb4ba2ededf64430554baca57eb3af0fedbe3)
+++ chapter01/whatsnew.xml	(revision 1b11115cd2bde70178f0b600de85f64a12cc36dc)
@@ -45,7 +45,7 @@
       <para>Bc &bc-version;</para>
     </listitem>
-    <!--<listitem>
+    <listitem>
       <para>Binutils-&binutils-version;</para>
-    </listitem>-->
+    </listitem>
     <!--<listitem>
       <para>Bison-&bison-version;</para>
@@ -102,7 +102,7 @@
       <para>Gettext-&gettext-version;</para>
     </listitem>-->
-    <!--<listitem>
+    <listitem>
       <para>Glibc-&glibc-version;</para>
-    </listitem>-->
+    </listitem>
     <!--<listitem>
       <para>GMP-&gmp-version;</para>
Index: chapter03/patches.xml
===================================================================
--- chapter03/patches.xml	(revision 32feb4ba2ededf64430554baca57eb3af0fedbe3)
+++ chapter03/patches.xml	(revision 1b11115cd2bde70178f0b600de85f64a12cc36dc)
@@ -36,5 +36,5 @@
     </varlistentry>
 -->
-
+<!--
     <varlistentry>
       <term>Binutils LTO Fix Patch - <token>&binutils-lto-patch-size;</token>:</term>
@@ -44,5 +44,5 @@
       </listitem>
     </varlistentry>
-
+-->
     <varlistentry>
       <term>Bzip2 Documentation Patch - <token>&bzip2-docs-patch-size;</token>:</term>
@@ -69,13 +69,13 @@
    </varlistentry>
 -->
-<!--
+
     <varlistentry>
-      <term>File Upstream Fixes Patch - <token>&file-upstream-fixes-patch-size;</token>:</term>
+      <term>Gcc glibc-2.36 Fixes Patch - <token>&gcc-upstream-fixes-patch-size;</token>:</term>
       <listitem>
-        <para>Download: <ulink url="&patches-root;&file-upstream-fixes-patch;"/></para>
-        <para>MD5 sum: <literal>&file-upstream-fixes-md5;</literal></para>
+        <para>Download: <ulink url="&patches-root;&gcc-upstream-fixes-patch;"/></para>
+        <para>MD5 sum: <literal>&gcc-upstream-fixes-patch-md5;</literal></para>
       </listitem>
     </varlistentry>
--->
+
     <varlistentry>
       <term>Glibc FHS Patch - <token>&glibc-fhs-patch-size;</token>:</term>
@@ -136,4 +136,12 @@
     </varlistentry>
 
+    <varlistentry revision="systemd">
+      <term>Systemd Upstream Patch - <token>&systemd-upstream-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink url="&patches-root;&systemd-upstream-patch;"/></para>
+        <para>MD5 sum: <literal>&systemd-upstream-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
     <varlistentry>
       <term>Xz Upstream Fix Patch - <token>&xz-upstream-fix-patch-size;</token>:</term>
Index: chapter05/binutils-pass1.xml
===================================================================
--- chapter05/binutils-pass1.xml	(revision 32feb4ba2ededf64430554baca57eb3af0fedbe3)
+++ chapter05/binutils-pass1.xml	(revision 1b11115cd2bde70178f0b600de85f64a12cc36dc)
@@ -75,4 +75,5 @@
              --target=$LFS_TGT   \
              --disable-nls       \
+             --enable-gprofng=no \
              --disable-werror</userinput></screen>
 
@@ -117,4 +118,12 @@
 
       <varlistentry>
+        <term><parameter>--enable-gprofng=no</parameter></term>
+        <listitem>
+          <para>This disables building gprofng which is not needed for the
+          temporary tools.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
         <term><parameter>--disable-werror</parameter></term>
         <listitem>
Index: chapter06/binutils-pass2.xml
===================================================================
--- chapter06/binutils-pass2.xml	(revision 32feb4ba2ededf64430554baca57eb3af0fedbe3)
+++ chapter06/binutils-pass2.xml	(revision 1b11115cd2bde70178f0b600de85f64a12cc36dc)
@@ -65,4 +65,5 @@
     --disable-nls              \
     --enable-shared            \
+    --enable-gprofng=no        \
     --disable-werror           \
     --enable-64-bit-bfd</userinput></screen>
Index: chapter06/gcc-pass2.xml
===================================================================
--- chapter06/gcc-pass2.xml	(revision 32feb4ba2ededf64430554baca57eb3af0fedbe3)
+++ chapter06/gcc-pass2.xml	(revision 1b11115cd2bde70178f0b600de85f64a12cc36dc)
@@ -43,4 +43,8 @@
   <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
Index: chapter08/binutils.xml
===================================================================
--- chapter08/binutils.xml	(revision 32feb4ba2ededf64430554baca57eb3af0fedbe3)
+++ chapter08/binutils.xml	(revision 1b11115cd2bde70178f0b600de85f64a12cc36dc)
@@ -57,5 +57,5 @@
 <screen><computeroutput>The system has no more ptys.
 Ask your system administrator to create more.</computeroutput></screen>
-
+<!--
     <para>Upstream has made a patch to fix a problem when using binutils
     for building some BLFS packages with Link Time Optimization (LTO)
@@ -63,5 +63,5 @@
 
  <screen><userinput remap="pre">patch -Np1 -i ../&binutils-lto-patch;</userinput></screen>
-
+-->
 <!--
     <para>An error in the building system causes the shipped man pages to
@@ -89,4 +89,5 @@
 
 <screen><userinput remap="configure">../configure --prefix=/usr       \
+             --sysconfdir=/etc   \
              --enable-gold       \
              --enable-ld=default \
Index: chapter08/gcc.xml
===================================================================
--- chapter08/gcc.xml	(revision 32feb4ba2ededf64430554baca57eb3af0fedbe3)
+++ chapter08/gcc.xml	(revision 1b11115cd2bde70178f0b600de85f64a12cc36dc)
@@ -50,4 +50,8 @@
     -i libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp</userinput></screen>
 -->
+    <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>If building on x86_64, change the default directory name for 64-bit
     libraries to <quote>lib</quote>:</para>
Index: chapter08/systemd.xml
===================================================================
--- chapter08/systemd.xml	(revision 32feb4ba2ededf64430554baca57eb3af0fedbe3)
+++ chapter08/systemd.xml	(revision 1b11115cd2bde70178f0b600de85f64a12cc36dc)
@@ -40,4 +40,8 @@
   <sect2 role="installation">
     <title>Installation of systemd</title>
+
+    <para>First, fix an issue introduced by glibc-2.36.</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&systemd-upstream-patch;</userinput></screen>
 
     <para>Remove two unneeded groups,
Index: packages.ent
===================================================================
--- packages.ent	(revision 32feb4ba2ededf64430554baca57eb3af0fedbe3)
+++ packages.ent	(revision 1b11115cd2bde70178f0b600de85f64a12cc36dc)
@@ -67,8 +67,8 @@
 <!ENTITY bc-fin-sbu "less than 0.1 SBU">
 
-<!ENTITY binutils-version "2.38">
-<!ENTITY binutils-size "23,098 KB">
+<!ENTITY binutils-version "2.39">
+<!ENTITY binutils-size "24,578 KB">
 <!ENTITY binutils-url "&gnu;binutils/binutils-&binutils-version;.tar.xz">
-<!ENTITY binutils-md5 "6e39cad1bb414add02b5b1169c18fdc5">
+<!ENTITY binutils-md5 "f7e986ae9ff06405cafb2e585ee36d27">
 <!ENTITY binutils-home "&gnu-software;binutils/">
 <!ENTITY binutils-tmpp1-du "620 MB">
@@ -258,8 +258,8 @@
 <!ENTITY gettext-fin-sbu "2.7 SBU">
 
-<!ENTITY glibc-version "2.35">
-<!ENTITY glibc-size "17,741 KB">
+<!ENTITY glibc-version "2.36">
+<!ENTITY glibc-size "18,175 KB">
 <!ENTITY glibc-url "&gnu;glibc/glibc-&glibc-version;.tar.xz">
-<!ENTITY glibc-md5 "dd571c67d85d89d7f60b854a4e207423">
+<!ENTITY glibc-md5 "00e9b89e043340f688bc93ec03239b57">
 <!ENTITY glibc-home "&gnu-software;libc/">
 <!ENTITY glibc-tmp-du "818 MB">
@@ -592,9 +592,9 @@
      meson pages will be needed: python3.6 and python3.6m -->
 
-<!ENTITY python-version "3.10.5">
+<!ENTITY python-version "3.10.6">
 <!ENTITY python-minor "3.10">
-<!ENTITY python-size "18,908 KB">
+<!ENTITY python-size "19,142 KB">
 <!ENTITY python-url "https://www.python.org/ftp/python/&python-version;/Python-&python-version;.tar.xz">
-<!ENTITY python-md5 "f05727cb3489aa93cd57eb561c16747b">
+<!ENTITY python-md5 "afc7e14f7118d10d1ba95ae8e2134bf0">
 <!ENTITY python-home "https://www.python.org/">
 <!ENTITY python-tmp-du "359 MB">
@@ -603,6 +603,6 @@
 <!ENTITY python-fin-sbu "4.3 SBU">
 <!ENTITY python-docs-url "https://www.python.org/ftp/python/doc/&python-version;/python-&python-version;-docs-html.tar.bz2">
-<!ENTITY python-docs-md5 "46a8c3285c6ca87736bc9aad2d8519ba">
-<!ENTITY python-docs-size "7,112 KB">
+<!ENTITY python-docs-md5 "8f32c4f4f0b18ec56e8b3822bbaeb017">
+<!ENTITY python-docs-size "7,321 KB">
 
 <!ENTITY readline-version "8.1.2">
@@ -711,8 +711,8 @@
 
 <!ENTITY util-linux-minor "2.38">
-<!ENTITY util-linux-version "2.38"> <!-- 2.33.x -->
-<!ENTITY util-linux-size "7,177 KB">
+<!ENTITY util-linux-version "2.38.1"> <!-- 2.33.x -->
+<!ENTITY util-linux-size "7,321 KB">
 <!ENTITY util-linux-url "&kernel;linux/utils/util-linux/v&util-linux-minor;/util-linux-&util-linux-version;.tar.xz">
-<!ENTITY util-linux-md5 "fffdc126809a6d4c1789a9efc1b96623">
+<!ENTITY util-linux-md5 "cd11456f4ddd31f7fbfdd9488c0c0d02">
 <!ENTITY util-linux-home "https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/">
 <!ENTITY util-linux-tmp-du "129 MB">
Index: patches.ent
===================================================================
--- patches.ent	(revision 32feb4ba2ededf64430554baca57eb3af0fedbe3)
+++ patches.ent	(revision 1b11115cd2bde70178f0b600de85f64a12cc36dc)
@@ -40,9 +40,9 @@
 <!ENTITY file-upstream-fixes-patch-size "4.0 KB">
 -->
-<!--
-<!ENTITY gcc-upstream-fixes-patch "gcc-&gcc-version;-upstream_fixes-1.patch">
-<!ENTITY gcc-upstream-fixes-patch-md5 "27266d2a771f2ff812cb6ec9c8b456b4">
-<!ENTITY gcc-upstream-fixes-patch-size "18.0 KB">
--->
+
+<!ENTITY gcc-upstream-fixes-patch "gcc-&gcc-version;-glibc_2.36-1.patch">
+<!ENTITY gcc-upstream-fixes-patch-md5 "8a5a4c3d14b9b2398b32f20b53a4de50">
+<!ENTITY gcc-upstream-fixes-patch-size "1.7 KB">
+
 <!ENTITY glibc-fhs-patch "glibc-&glibc-version;-fhs-1.patch">
 <!ENTITY glibc-fhs-patch-md5 "9a5997c3452909b1769918c759eff8a2">
@@ -86,4 +86,8 @@
 <!ENTITY sysvinit-consolidated-patch-size "2.4 KB">
 
+<!ENTITY systemd-upstream-patch "systemd-&systemd-version;-glibc_2.36_fix-1.patch">
+<!ENTITY systemd-upstream-patch-md5 "fd8dc901e73ad00dc72a351a0d4ac48c">
+<!ENTITY systemd-upstream-patch-size "3.0 KB">
+
 <!ENTITY xz-upstream-fix-patch "xz-&xz-version;-upstream_fix-1.patch">
 <!ENTITY xz-upstream-fix-patch-md5 "584c72ea3d8f7502b2770670f3090788">
