aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Trepl <thomas@linuxfromscratch.org>2019-04-22 06:40:16 +0000
committerThomas Trepl <thomas@linuxfromscratch.org>2019-04-22 06:40:16 +0000
commitd8fba273ffea30dde5a4c115f7b85ff62f94a136 (patch)
treeb2ea4e294fad0294684b34c3808e43beffffe724
parent3c724975bfe9a68750ff608f89632a480c017b9b (diff)
Merge trunk; Add a note about kernel config to hostreqs.xml
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11584 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml26
-rw-r--r--chapter01/whatsnew.xml8
-rw-r--r--chapter02/hostreqs.xml19
-rw-r--r--chapter06/glibc-32.xml70
-rw-r--r--chapter07/systemd-custom.xml4
-rw-r--r--general.ent6
-rw-r--r--packages.ent24
7 files changed, 108 insertions, 49 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 2de9bcfe8..1c2214cc9 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -45,6 +45,32 @@
appropriate for the entry or if needed the entire day's listitem.
-->
+ <listitem revision="systemd">
+ <para>2019-04-20</para>
+ <itemizedlist>
+ <listitem>
+ <para>[bdubbs] - Update to perl-5.28.2. Fixes
+ <ulink url="&lfs-ticket-root;4460">#4460</ulink>.</para>
+ </listitem>
+ <listitem>
+ <para>[bdubbs] - Update to meson-0.50.1. Fixes
+ <ulink url="&lfs-ticket-root;4459">#4459</ulink>.</para>
+ </listitem>
+ <listitem>
+ <para>[bdubbs] - Update to linux-5.0.9. Fixes
+ <ulink url="&lfs-ticket-root;4458">#4458</ulink>.</para>
+ </listitem>
+ <listitem>
+ <para>[bdubbs] - Update to libcap-2.27. Fixes
+ <ulink url="&lfs-ticket-root;4457">#4457</ulink>.</para>
+ </listitem>
+ <listitem>
+ <para>[renodr] - Fix the syntax used for configuring automatic file
+ creation and deletion.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
<listitem>
<para>2019-04-15</para>
<itemizedlist>
diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml
index 52f3c9f3c..55143555d 100644
--- a/chapter01/whatsnew.xml
+++ b/chapter01/whatsnew.xml
@@ -146,9 +146,9 @@
<!--<listitem>
<para>LFS-Bootscripts-&lfs-bootscripts-version;</para>
</listitem>-->
- <!--<listitem>
+ <listitem>
<para>Libcap-&libcap-version;</para>
- </listitem>-->
+ </listitem>
<!--<listitem>
<para>Libelf-&elfutils-version; (from elfutils)</para>
</listitem>-->
@@ -197,9 +197,9 @@
<!-- <listitem>
<para>Patch-&patch-version;</para>
</listitem>-->
- <!--<listitem>
+ <listitem>
<para>Perl-&perl-version;</para>
- </listitem>-->
+ </listitem>
<!--<listitem>
<para>Pkg-config-&pkgconfig-version;</para>
</listitem>-->
diff --git a/chapter02/hostreqs.xml b/chapter02/hostreqs.xml
index a7d124ecc..daaca2ec7 100644
--- a/chapter02/hostreqs.xml
+++ b/chapter02/hostreqs.xml
@@ -234,4 +234,23 @@ bash library-check.sh</userinput></screen>
or all absent, but not only one or two present.</para>
-->
+ <para arch="ml_32,ml_x32,ml_all">
+ Building multilib support requires the kernel of the host system
+ to have 32-bit emulation support included.
+ </para>
+<screen arch="ml_32,ml_x32,ml_all">Binary Emulations ---&gt;
+ [*] IA32 Emulation
+ &lt;M&gt; IA32 a.out support
+ [*] x32 ABI for 64-bit mode
+</screen>
+ <para arch="ml_32,ml_x32,ml_all">The option 'IA32 a.out support' is
+ optional. In case your kernel does not have 'x32 ABI for 64-bit mode'
+ enabled but only 'IA32 Emulation', you can continue to build your
+ system but you have to leave out any sections showing instructions
+ for building x32 objects. If neither 'IA32 Emulation' nor
+ 'x32 ABI for 64-bit mode' is enabled, you will run in errors
+ latest when building <application>glibc</application> in Chapter 6,
+ so an upgrade of your host system is required.
+ </para>
+
</sect1>
diff --git a/chapter06/glibc-32.xml b/chapter06/glibc-32.xml
index 227228fed..56e2e1314 100644
--- a/chapter06/glibc-32.xml
+++ b/chapter06/glibc-32.xml
@@ -19,39 +19,23 @@
<indexterm zone="ch-system-glibc-32">
<primary sortas="a-Glibc-32">Glibc-32</primary>
</indexterm>
-<!--
- <sect2 role="package">
- <title/>
- <para>The Glibc package contains the main C library. This library provides
- the basic routines for allocating memory, searching directories, opening and
- closing files, reading and writing files, string handling, pattern matching,
- arithmetic, and so on.</para>
+ <sect2 role="installation">
+ <title>Preparation to install of ML-Glibc</title>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
- <segmentedlist>
- <segtitle>&buildtime;</segtitle>
- <segtitle>&diskspace;</segtitle>
+ <para>Remove a file that may be left over from a previous build attempt:</para>
- <seglistitem>
- <seg>&glibc-ch6-sbu;</seg>
- <seg>&glibc-ch6-du;</seg>
- </seglistitem>
- </segmentedlist>
+<screen><userinput remap="pre">mv /usr/include/limits.h{,.backup} </userinput></screen>
</sect2>
--->
<!-- ~~~~~~~~~~~~~~~~~~~~ ABI 32 ~~~~~~~~~~~~~~~~~~~~ -->
<sect2 arch="ml_32,ml_all" role="installation">
<title>Installation of Glibc - 32-bit</title>
-<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
-
- <para>Remove a file that may be left over from a previous build attempt:</para>
-
-<screen><userinput remap="pre">mv /usr/include/limits.h{,.backup} </userinput></screen>
-
<para>The Glibc documentation recommends building Glibc
in a dedicated build directory:</para>
@@ -60,8 +44,8 @@ cd build</userinput></screen>
<para>Prepare Glibc for compilation:</para>
-<screen><userinput remap="configure">CC="gcc -m32 -ffile-prefix-map=/tools=/usr -isystem /usr/include" \
-CXX="g++ -m32 -ffile-prefix-map=/tools=/usr -isystem /usr/include" \
+<screen><userinput remap="configure">CC="gcc -m32 -ffile-prefix-map=/tools=/usr" \
+CXX="g++ -m32 -ffile-prefix-map=/tools=/usr" \
../configure --prefix=/usr \
--disable-werror \
--enable-kernel=&min-kernel; \
@@ -101,6 +85,30 @@ rm -rf build</userinput></screen>
</sect2>
<!-- ~~~~~~~~~~~~~~~~~~~~ ABI x32 ~~~~~~~~~~~~~~~~~~~~ -->
+
+<!--
+In case the compilation ends with
+
+...
+if test -r /autolfs/sources/glibc-2.29/build/DESTDIR/usr/include/gnu/stubs-x32.h && cmp -s /autolfs/sources/glibc-2.29/build/stubs.h /autolfs/sources/glibc-2.29/build/DESTDIR/usr/include/gnu/stubs-x32.h; \
+then echo 'stubs.h unchanged'; \
+else /usr/bin/install -c -m 644 /autolfs/sources/glibc-2.29/build/stubs.h /autolfs/sources/glibc-2.29/build/DESTDIR/usr/include/gnu/stubs-x32.h; fi
+rm -f /autolfs/sources/glibc-2.29/build/stubs.h
+/autolfs/sources/glibc-2.29/build/elf/sln /autolfs/sources/glibc-2.29/build/elf/symlink.list
+/autolfs/sources/glibc-2.29/build/elf/sln: /autolfs/sources/glibc-2.29/build/elf/sln: cannot execute binary file
+make[1]: *** [Makefile:106: install-symbolic-link] Error 126
+make[1]: Leaving directory '/autolfs/sources/glibc-2.29'
+make: *** [Makefile:12: install] Error 2
+
+it is a good sign that the actually running kernel isn't ML-enabled.
+ArchLinux's kernels are configured like
+
+CONFIG_IA32_EMULATION=y
+# CONFIG_IA32_AOUT is not set
+# CONFIG_X86_X32 is not set
+
+It isn't x32-enabled ==> Error when building x32 stuff
+-->
<sect2 arch="ml_x32,ml_all" role="installation">
<title>Glibc - x32-bit</title>
@@ -113,8 +121,8 @@ cd build</userinput></screen>
<para>Prepare Glibc for compilation:</para>
-<screen><userinput remap="configure">CC="gcc -mx32 -ffile-prefix-map=/tools=/usr -isystem /usr/include" \
-CXX="g++ -mx32 -ffile-prefix-map=/tools=/usr -isystem /usr/include" \
+<screen><userinput remap="configure">CC="gcc -mx32 -ffile-prefix-map=/tools=/usr" \
+CXX="g++ -mx32 -ffile-prefix-map=/tools=/usr" \
../configure --prefix=/usr \
--disable-werror \
--enable-kernel=&min-kernel; \
@@ -153,11 +161,17 @@ ldconfig</userinput></screen>
<screen><userinput>cd ..
rm -rf build</userinput></screen>
+ </sect2>
+
+ <!-- ~~~~~~~~~~~~~~~~~~~~ Cleanup ~~~~~~~~~~~~~~~~~~~~ -->
+
+ <sect2 role="installation">
+ <title>Cleanup</title>
+
<para>Restore the file we moved temporarily away:</para>
<screen><userinput remap="pre">mv /usr/include/limits.h{.backup,} </userinput></screen>
</sect2>
-
+
</sect1>
-
diff --git a/chapter07/systemd-custom.xml b/chapter07/systemd-custom.xml
index 4cea2b27d..7849c7816 100644
--- a/chapter07/systemd-custom.xml
+++ b/chapter07/systemd-custom.xml
@@ -112,8 +112,8 @@ EOF</userinput></screen>
be copied to <filename class="directory">/etc/tmpfiles.d</filename>
and edited as desired. For example:
-<screen role="nodump"><userinput>mkdir -p /etc/tempfiles.d
-cp /usr/lib/tmpfiles.d/tmp.conf /etc/tempfiles.d</userinput></screen>
+<screen role="nodump"><userinput>mkdir -p /etc/tmpfiles.d
+cp /usr/lib/tmpfiles.d/tmp.conf /etc/tmpfiles.d</userinput></screen>
</para>
</sect2>
diff --git a/general.ent b/general.ent
index 95421d613..967c920c9 100644
--- a/general.ent
+++ b/general.ent
@@ -1,13 +1,13 @@
-<!ENTITY version "SVN-20190415">
+<!ENTITY version "SVN-20190420">
<!ENTITY short-version "svn"> <!-- Used below in &blfs-book;
Change to x.y for release but not -rc releases -->
<!ENTITY generic-version "development"> <!-- Use "development" or "x.y[-pre{x}]" -->
-<!ENTITY versiond "20190415-systemd">
+<!ENTITY versiond "20190420-systemd">
<!ENTITY short-versiond "systemd">
<!ENTITY generic-versiond "systemd">
-<!ENTITY releasedate "April 15, 2019">
+<!ENTITY releasedate "April 20, 2019">
<!ENTITY copyrightdate "1999-2019"><!-- jhalfs needs a literal dash, not &ndash; -->
<!ENTITY milestone "8.5">
diff --git a/packages.ent b/packages.ent
index 43d3fea47..d3a101217 100644
--- a/packages.ent
+++ b/packages.ent
@@ -397,10 +397,10 @@
<!ENTITY lfs-bootscripts-ch7-du "BOOTSCRIPTS-INSTALL-KB KB">
<!ENTITY lfs-bootscripts-ch7-sbu "less than 0.1 SBU">
-<!ENTITY libcap-version "2.26">
-<!ENTITY libcap-size "66 KB">
+<!ENTITY libcap-version "2.27">
+<!ENTITY libcap-size "67 KB">
<!ENTITY libcap-url "&kernel;linux/libs/security/linux-privs/libcap2/libcap-&libcap-version;.tar.xz">
-<!ENTITY libcap-md5 "968ac4d42a1a71754313527be2ab5df3">
+<!ENTITY libcap-md5 "2e8f9fab32eb5ccb37969fe317fd17aa">
<!ENTITY libcap-home "https://sites.google.com/site/fullycapable/">
<!ENTITY libcap-ch6-du "1.4 MB">
<!ENTITY libcap-ch6-sbu "less than 0.1 SBU">
@@ -431,12 +431,12 @@
<!ENTITY linux-major-version "5">
<!ENTITY linux-minor-version "0">
-<!ENTITY linux-patch-version "7">
+<!ENTITY linux-patch-version "9">
<!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">-->
<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
-<!ENTITY linux-size "102,779 KB">
+<!ENTITY linux-size "102,789 KB">
<!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz">
-<!ENTITY linux-md5 "e4eb618cafb57cf25b8ff28f923d0319">
+<!ENTITY linux-md5 "f96df26d67d80f4359a93beead476da4">
<!ENTITY linux-home "https://www.kernel.org/">
<!-- measured for 4.8.3 / gcc-6.2.0 on x86_64 : minimum is
allnoconfig extended for a hopefully-bootable build on desktop machine,
@@ -493,10 +493,10 @@
<!ENTITY man-pages-ch6-du "28 MB">
<!ENTITY man-pages-ch6-sbu "less than 0.1 SBU">
-<!ENTITY meson-version "0.49.2">
-<!ENTITY meson-size "1,310 KB">
+<!ENTITY meson-version "0.50.1">
+<!ENTITY meson-size "1,370 KB">
<!ENTITY meson-url "&github;/mesonbuild/meson/releases/download/&meson-version;/meson-&meson-version;.tar.gz">
-<!ENTITY meson-md5 "0267b0871266056184c484792572c682">
+<!ENTITY meson-md5 "24a6527796115828d2ebc75880e18d62">
<!ENTITY meson-home "https://mesonbuild.com">
<!ENTITY meson-ch6-du "24 MB">
<!ENTITY meson-ch6-sbu "less than 0.1 SBU">
@@ -553,10 +553,10 @@
<!ENTITY patch-ch6-du "13 MB">
<!ENTITY patch-ch6-sbu "0.2 SBU">
-<!ENTITY perl-version "5.28.1">
-<!ENTITY perl-size "12,083 KB">
+<!ENTITY perl-version "5.28.2">
+<!ENTITY perl-size "12,085 KB">
<!ENTITY perl-url "https://www.cpan.org/src/5.0/perl-&perl-version;.tar.xz">
-<!ENTITY perl-md5 "fbb590c305f2f88578f448581b8cf9c4">
+<!ENTITY perl-md5 "6bb75770e9ba085b32bf13e4be71e4ac">
<!ENTITY perl-home "https://www.perl.org/">
<!ENTITY perl-ch5-du "275 MB">
<!ENTITY perl-ch5-sbu "1.6 SBU">