aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
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 /chapter08
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 'chapter08')
-rw-r--r--chapter08/binutils.xml5
-rw-r--r--chapter08/gcc.xml4
-rw-r--r--chapter08/systemd.xml4
3 files changed, 11 insertions, 2 deletions
diff --git a/chapter08/binutils.xml b/chapter08/binutils.xml
index 5fb87ba58..0a1c02deb 100644
--- a/chapter08/binutils.xml
+++ b/chapter08/binutils.xml
@@ -56,13 +56,13 @@
<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)
enabled. Apply that now:</para>
<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
be empty. Workaround the issue and remove the shipped man pages, so the
@@ -88,6 +88,7 @@ cd build</userinput></screen>
<para>Prepare Binutils for compilation:</para>
<screen><userinput remap="configure">../configure --prefix=/usr \
+ --sysconfdir=/etc \
--enable-gold \
--enable-ld=default \
--enable-plugins \
diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml
index 0571d3df9..01225cd78 100644
--- a/chapter08/gcc.xml
+++ b/chapter08/gcc.xml
@@ -49,6 +49,10 @@
-e 's/return kAltStackSize/return SIGSTKSZ * 4/' \
-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>
diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml
index 0f11da410..da750e440 100644
--- a/chapter08/systemd.xml
+++ b/chapter08/systemd.xml
@@ -40,6 +40,10 @@
<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,
<systemitem class="groupname">render</systemitem> and
<systemitem class="groupname">sgx</systemitem>, from the default udev