aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2022-02-15 09:55:45 -0600
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2022-02-15 09:55:45 -0600
commit6af4dabc16cc044f4d65372cdbd203310df08e20 (patch)
tree3259280c6d432ba7374591fa31791220f91268a1 /chapter08
parent81d3242ba4b2ff06ed0202cea68e64f93fa09b6c (diff)
Package updates and fixes.
Add binutils-2.38 LTO patch. Update to util-linux-2.37.4. Update to man-db-2.10.1. Update to linux-5.16.9. Update to vim-8.2.4383. Update to iana-etc-20220207.
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/binutils.xml10
-rw-r--r--chapter08/util-linux.xml6
2 files changed, 7 insertions, 9 deletions
diff --git a/chapter08/binutils.xml b/chapter08/binutils.xml
index 6125741de..907a1e7c6 100644
--- a/chapter08/binutils.xml
+++ b/chapter08/binutils.xml
@@ -56,12 +56,12 @@
<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 building some
- packages. Apply that now:</para>
- <screen><userinput remap="pre">patch -Np1 -i ../&binutils-upstream-patch;</userinput></screen>
--->
+ <para>Upstream has made a patch to fix a problem when building with
+ Link Time Optimization (LTO). 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
diff --git a/chapter08/util-linux.xml b/chapter08/util-linux.xml
index 18ab04199..a7c0c3d59 100644
--- a/chapter08/util-linux.xml
+++ b/chapter08/util-linux.xml
@@ -59,8 +59,7 @@
--disable-static \
--without-python \
--without-systemd \
- --without-systemdsystemunitdir \
- runstatedir=/run</userinput></screen>
+ --without-systemdsystemunitdir</userinput></screen>
<screen revision="systemd"><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
--bindir=/usr/bin \
@@ -75,8 +74,7 @@
--disable-runuser \
--disable-pylibmount \
--disable-static \
- --without-python \
- runstatedir=/run</userinput></screen>
+ --without-python</userinput></screen>
<para>The --disable and --without options prevent warnings about
building components that require packages not in LFS or are