aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2021-08-02 20:52:40 -0500
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2021-08-02 20:52:40 -0500
commit9c7598cc15b7ec877b0350fbdc9d1d1fe466405b (patch)
tree0edf8476fd41f1e39414c76a738ac5d0f772b59d
parentea0f48e5a8d9b1e8d6a41ee2985b573f05c12985 (diff)
Package updates.
Update to glibc-2.34. Update to diffutils-3.8. Update to libcap-2.52.
-rw-r--r--chapter01/changelog.xml19
-rw-r--r--chapter01/whatsnew.xml8
-rw-r--r--chapter05/glibc.xml15
-rw-r--r--chapter07/texinfo.xml5
-rw-r--r--chapter08/glibc.xml61
-rw-r--r--chapter08/strippingagain.xml22
-rw-r--r--chapter08/texinfo.xml6
-rw-r--r--packages.ent18
8 files changed, 78 insertions, 76 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 59ebfd16b..8adf96f60 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -43,6 +43,24 @@
appropriate for the entry or if needed the entire day's listitem.
-->
<listitem>
+ <para>2021-08-02</para>
+ <itemizedlist>
+ <listitem>
+ <para>[bdubbs] - Update to glibc-2.34. Fixes
+ <ulink url="&lfs-ticket-root;4897">#4897</ulink>.</para>
+ </listitem>
+ <listitem>
+ <para>[bdubbs] - Update to diffutils-3.8. Fixes
+ <ulink url="&lfs-ticket-root;4898">#4898</ulink>.</para>
+ </listitem>
+ <listitem>
+ <para>[bdubbs] - Update to libcap-2.52. Fixes
+ <ulink url="&lfs-ticket-root;4899">#4899</ulink>.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>2021-08-01</para>
<itemizedlist>
<listitem>
@@ -61,7 +79,6 @@
</itemizedlist>
</listitem>
-
<listitem>
<para>2021-07-27</para>
<itemizedlist>
diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml
index 832f45a46..1445f30d8 100644
--- a/chapter01/whatsnew.xml
+++ b/chapter01/whatsnew.xml
@@ -69,9 +69,9 @@
<!--<listitem revision="systemd">
<para>D-Bus-&dbus-version;</para>
</listitem>-->
- <!--<listitem>
+ <listitem>
<para>Diffutils-&diffutils-version;</para>
- </listitem>-->
+ </listitem>
<listitem>
<para>E2fsprogs-&e2fsprogs-version;</para>
</listitem>
@@ -105,9 +105,9 @@
<!--<listitem>
<para>Gettext-&gettext-version;</para>
</listitem>-->
- <!--<listitem>
+ <listitem>
<para>Glibc-&glibc-version;</para>
- </listitem>-->
+ </listitem>
<!--<listitem>
<para>GMP-&gmp-version;</para>
</listitem>-->
diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml
index d715d43cd..37a222bd1 100644
--- a/chapter05/glibc.xml
+++ b/chapter05/glibc.xml
@@ -62,10 +62,6 @@ esac</userinput></screen>
<screen><userinput remap="pre">patch -Np1 -i ../glibc-&glibc-version;-fhs-1.patch</userinput></screen>
- <para>Fix a build issue with gcc-11.1:</para>
-
-<screen><userinput remap="pre">sed 's/amx_/amx-/' -i sysdeps/x86/tst-cpu-features-supports.c</userinput></screen>
-
<para>The Glibc documentation recommends building Glibc
in a dedicated build directory:</para>
@@ -127,17 +123,6 @@ cd build</userinput></screen>
</listitem>
</varlistentry>
- <varlistentry>
- <term><option>libc_cv_include_x86_isa_level=no</option></term>
- <listitem>
- <para>This disables <quote>x86 ISA needed</quote> property in
- Glibc libraries. Use it <emphasis role="bold">if</emphasis>
- you are building Glibc with <option>-march</option> option in
- <envar>CFLAGS</envar>, to workaround an issue in Glibc-2.33
- breaking it.</para>
- </listitem>
- </varlistentry>
-
</variablelist>
<para>During this stage the following warning might appear:</para>
diff --git a/chapter07/texinfo.xml b/chapter07/texinfo.xml
index af7d5ab30..b67d0ab46 100644
--- a/chapter07/texinfo.xml
+++ b/chapter07/texinfo.xml
@@ -43,6 +43,11 @@
<sect2 role="installation">
<title>Installation of Texinfo</title>
+ <para>First, fix an issue building the package with Glibc-2.34 or later:</para>
+
+<screen><userinput remap="pre">sed -e 's/__attribute_nonnull__/__nonnull/' \
+ -i gnulib/lib/malloc/dynarray-skeleton.c</userinput></screen>
+
<para>Prepare Texinfo for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml
index e39efd95f..2935c84af 100644
--- a/chapter08/glibc.xml
+++ b/chapter08/glibc.xml
@@ -50,15 +50,6 @@
<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
- <para>Fix a bug that causes issues with chrooted applications:</para>
-
- <screen><userinput remap="pre">sed -e '402a\ *result = local->data.services[database_index];' \
- -i nss/nss_database.c</userinput></screen>
-
- <para>Fix a build issue with gcc-11.1:</para>
-
-<screen><userinput remap="pre">sed 's/amx_/amx-/' -i sysdeps/x86/tst-cpu-features-supports.c</userinput></screen>
-
<para>The Glibc documentation recommends building Glibc
in a dedicated build directory:</para>
@@ -126,17 +117,6 @@ cd build</userinput></screen>
</listitem>
</varlistentry>
- <varlistentry>
- <term><option>libc_cv_include_x86_isa_level=no</option></term>
- <listitem>
- <para>This disables <quote>x86 ISA needed</quote> property in
- Glibc libraries. Use it <emphasis role="bold">if</emphasis>
- you are building Glibc with <option>-march</option> option in
- <envar>CFLAGS</envar>, to workaround an issue in Glibc-2.33
- breaking it.</para>
- </listitem>
- </varlistentry>
-
</variablelist>
<para>Compile the package:</para>
@@ -180,14 +160,6 @@ esac</userinput></screen>
</listitem>
<listitem>
- <!-- FIXME This currently tests SSBD and STIBP which do not exist
- on non-intel, should be fixed in glibc-2.34
- https://sourceware.org/pipermail/libc-alpha/2021-January/122171.html -->
- <para><emphasis>elf/tst-cpu-features-cpuinfo</emphasis>
- will fail on non-intel CPUs with this version of glibc.</para>
- </listitem>
-
- <listitem>
<para>The <emphasis>nss/tst-nss-files-hosts-multi</emphasis>
test may fail for reasons that have not been determined.</para>
</listitem>
@@ -504,14 +476,15 @@ mkdir -pv /etc/ld.so.conf.d</userinput></screen>
ldd, lddlibc4, locale, localedef, makedb, mtrace, nscd,
pcprofiledump, pldd, sln, sotruss, sprof, tzselect, xtrace,
zdump, and zic</seg>
- <seg>ld-&glibc-version;.so, libBrokenLocale.{a,so}, libSegFault.so, libanl.{a,so},
+ <seg>ld-linux-x86-64.so.2, ld-linux.so.2,
+ libBrokenLocale.{a,so}, libSegFault.so, libanl.{a,so},
libc.{a,so}, libc_nonshared.a,
- libcrypt.{a,so}, libdl.{a,so}, libg.a, libm.{a,so},
- libmcheck.a, libmemusage.so, libmvec.{a,so}, libnsl.{a,so},
+ libcrypt.{a,so}, libdl.{a,so.2}, libg.a, libm.{a,so},
+ libmcheck.a, libmemusage.so, libmvec.{a,so}, libnsl.so.1,
libnss_compat.so, libnss_dns.so, libnss_files.so, libnss_hesiod.so,
- libpcprofile.so, libpthread.{a,so},
- libpthread_nonshared.a, libresolv.{a,so}, librt.{a,so},
- libthread_db.so, and libutil.{a,so}</seg>
+ libpcprofile.so, libpthread.{a,so.0},
+ libresolv.{a,so}, librt.{a,so.1},
+ libthread_db.so, and libutil.{a,so.1}</seg>
<seg>/usr/include/arpa, /usr/include/bits, /usr/include/gnu,
/usr/include/net, /usr/include/netash, /usr/include/netatalk,
/usr/include/netax25, /usr/include/neteconet, /usr/include/netinet,
@@ -768,7 +741,7 @@ mkdir -pv /etc/ld.so.conf.d</userinput></screen>
</varlistentry>
<varlistentry id="ld.so">
- <term><filename class="libraryfile">ld-&glibc-version;.so</filename></term>
+ <term><filename class="libraryfile">ld-*.so</filename></term>
<listitem>
<para>The helper program for shared library executables</para>
<indexterm zone="ch-system-glibc ld.so">
@@ -834,7 +807,9 @@ mkdir -pv /etc/ld.so.conf.d</userinput></screen>
<varlistentry id="libdl">
<term><filename class="libraryfile">libdl</filename></term>
<listitem>
- <para>The dynamic linking interface library</para>
+ <para>Dummy library containing no functions. Previously was the
+ dynamic linking interface library, whose functions are now in
+ <filename class="libraryfile">libc</filename></para>
<indexterm zone="ch-system-glibc libdl">
<primary sortas="c-libdl">libdl</primary>
</indexterm>
@@ -886,7 +861,7 @@ mkdir -pv /etc/ld.so.conf.d</userinput></screen>
<varlistentry id="libnsl">
<term><filename class="libraryfile">libnsl</filename></term>
<listitem>
- <para>The network services library</para>
+ <para>The network services library, now deprecated</para>
<indexterm zone="ch-system-glibc libnsl">
<primary sortas="c-libnsl">libnsl</primary>
</indexterm>
@@ -918,7 +893,10 @@ mkdir -pv /etc/ld.so.conf.d</userinput></screen>
<varlistentry id="libpthread">
<term><filename class="libraryfile">libpthread</filename></term>
<listitem>
- <para>The POSIX threads library</para>
+ <para>Dummy library containing no functions. Previously contained
+ functions providing most of the interfaces specified
+ by the POSIX.1b Realtime Extension, now the functions are in
+ <filename class="libraryfile">libc</filename></para>
<indexterm zone="ch-system-glibc libpthread">
<primary sortas="c-libpthread">libpthread</primary>
</indexterm>
@@ -961,8 +939,11 @@ mkdir -pv /etc/ld.so.conf.d</userinput></screen>
<varlistentry id="libutil">
<term><filename class="libraryfile">libutil</filename></term>
<listitem>
- <para>Contains code for <quote>standard</quote> functions used in
- many different Unix utilities</para>
+ <para>>Dummy library containing no functions. Previously contained
+ code for <quote>standard</quote> functions used in
+ many different Unix utilities. These functions are now in
+ <filename class="libraryfile">libc</filename></para>
+
<indexterm zone="ch-system-glibc libutil">
<primary sortas="c-libutil">libutil</primary>
</indexterm>
diff --git a/chapter08/strippingagain.xml b/chapter08/strippingagain.xml
index f1eaa060d..9c162a86a 100644
--- a/chapter08/strippingagain.xml
+++ b/chapter08/strippingagain.xml
@@ -43,9 +43,14 @@
<!-- also of interest are libgfortan, libgo, libgomp, and libobjc from GCC -->
<!--<screen><userinput>save_lib="ld-2.25.so libc-2.25.so libpthread-2.25.so libthread_db-1.0.so"-->
-<screen><userinput>save_usrlib="ld-&glibc-version;.so libc-&glibc-version;.so libpthread-&glibc-version;.so libthread_db-&libthread_db-version;.so
- libquadmath.so.&libquadmath-version; libstdc++.so.&libstdcpp-version;
- libitm.so.&libitm-version; libatomic.so.&libatomic-version;" <!-- libcilkrts.so.&libcilkrts-version;-->
+<screen><userinput>save_usrlib="ld-linux-x86-64.so.2
+ libc.so.6
+ libpthread.so.6
+ libthread_db.so
+ libquadmath.so.&libquadmath-version;
+ libstdc++.so.6
+ libitm.so.&libitm-version;
+ libatomic.so.&libatomic-version;"
cd /usr/lib
@@ -59,10 +64,13 @@ for LIB in $save_usrlib; do
done
online_usrbin="bash find strip"
-online_usrlib="libbfd-&binutils-version;.so libdl-&glibc-version;.so
- libhistory.so.&readline-version; libncursesw.so.&ncurses-version;
- libm-&glibc-version;.so libreadline.so.&readline-version;
- libz.so.&zlib-version;
+online_usrlib="libbfd.so
+ libdl.so.2
+ libhistory.so
+ libncursesw.so
+ libm.so.6
+ libreadline.so
+ libz.so
$(cd /usr/lib; find libnss*.so* -type f)"
for BIN in $online_usrbin; do
diff --git a/chapter08/texinfo.xml b/chapter08/texinfo.xml
index 9cbbda6a6..2543cd14d 100644
--- a/chapter08/texinfo.xml
+++ b/chapter08/texinfo.xml
@@ -61,6 +61,12 @@
</variablelist>
-->
+
+ <para>Again, fix an issue building the package with Glibc-2.34 or later:</para>
+
+<screen><userinput remap="pre">sed -e 's/__attribute_nonnull__/__nonnull/' \
+ -i gnulib/lib/malloc/dynarray-skeleton.c</userinput></screen>
+
<para>Compile the package:</para>
<screen><userinput remap="make">make</userinput></screen>
diff --git a/packages.ent b/packages.ent
index 76c26c89c..41cbc4c4f 100644
--- a/packages.ent
+++ b/packages.ent
@@ -130,10 +130,10 @@
<!ENTITY dejagnu-tmp-du "4.6 MB">
<!ENTITY dejagnu-tmp-sbu "less than 0.1 SBU">
-<!ENTITY diffutils-version "3.7">
-<!ENTITY diffutils-size "1,415 KB">
+<!ENTITY diffutils-version "3.8">
+<!ENTITY diffutils-size "1,548 KB">
<!ENTITY diffutils-url "&gnu;diffutils/diffutils-&diffutils-version;.tar.xz">
-<!ENTITY diffutils-md5 "4824adc0e95dbbf11dfbdfaad6a1e461">
+<!ENTITY diffutils-md5 "6a6b0fdc72acfe3f2829aab477876fbc">
<!ENTITY diffutils-home "&gnu-software;diffutils/">
<!ENTITY diffutils-tmp-du "26 MB">
<!ENTITY diffutils-tmp-sbu "0.1 SBU">
@@ -258,10 +258,10 @@
<!ENTITY gettext-fin-du "240 MB">
<!ENTITY gettext-fin-sbu "2.9 SBU">
-<!ENTITY glibc-version "2.33">
-<!ENTITY glibc-size "16,663 KB">
+<!ENTITY glibc-version "2.34">
+<!ENTITY glibc-size "16,896 KB">
<!ENTITY glibc-url "&gnu;glibc/glibc-&glibc-version;.tar.xz">
-<!ENTITY glibc-md5 "390bbd889c7e8e8a7041564cb6b27cca">
+<!ENTITY glibc-md5 "31998b53fb39cb946e96abc310af1c89">
<!ENTITY glibc-home "&gnu-software;libc/">
<!ENTITY glibc-tmp-du "770 MB">
<!ENTITY glibc-tmp-sbu "4.2 SBU">
@@ -394,10 +394,10 @@
<!ENTITY lfs-bootscripts-cfg-du "BOOTSCRIPTS-INSTALL-KB KB">
<!ENTITY lfs-bootscripts-cfg-sbu "less than 0.1 SBU">
-<!ENTITY libcap-version "2.51">
-<!ENTITY libcap-size "143 KB">
+<!ENTITY libcap-version "2.52">
+<!ENTITY libcap-size "155 KB">
<!ENTITY libcap-url "&kernel;linux/libs/security/linux-privs/libcap2/libcap-&libcap-version;.tar.xz">
-<!ENTITY libcap-md5 "4c9febc1bf0afca6a4d9f86fcdb6d900">
+<!ENTITY libcap-md5 "91548d37bbb5b706928bc3b3bb0e22ac">
<!ENTITY libcap-home "https://sites.google.com/site/fullycapable/">
<!ENTITY libcap-fin-du "45 MB">
<!ENTITY libcap-fin-sbu "less than 0.1 SBU">