mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2026-11-30 10:24:32 -06:00
Merge remote-tracking branch 'origin/trunk' into xry111/loongarch
This commit is contained in:
+31
-1
@@ -40,6 +40,36 @@
|
||||
appropriate for the entry or if needed the entire day's listitem.
|
||||
-->
|
||||
|
||||
<listitem>
|
||||
<para>2026-06-01</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Update to systemd-260.2. Fixes
|
||||
<ulink url="&lfs-ticket-root;5944">#5944</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Update to kbd-2.10.0. Fixes
|
||||
<ulink url="&lfs-ticket-root;5943">#5943</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Update to util-linux-2.42.1. Fixes
|
||||
<ulink url="&lfs-ticket-root;5939">#5939</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Update to less-702. Fixes
|
||||
<ulink url="&lfs-ticket-root;5941">#5941</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Update to vim-9.2.0567 (Security Update). Fixes
|
||||
<ulink url="&lfs-ticket-root;5940">#5940</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Update to iana-etc-20260529. Addresses
|
||||
<ulink url="&lfs-ticket-root;5006">#5006</ulink>.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>2026-05-24</para>
|
||||
<itemizedlist>
|
||||
@@ -122,7 +152,7 @@
|
||||
<ulink url='&lfs-ticket-root;5917'>#5917</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Update to iana-etc-20260604. Addresses
|
||||
<para>[bdubbs] - Update to iana-etc-20260504. Addresses
|
||||
<ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
||||
@@ -134,15 +134,15 @@
|
||||
<!--<listitem>
|
||||
<para>Jinja2-&jinja2-version;</para>
|
||||
</listitem>-->
|
||||
<!--<listitem>
|
||||
<listitem>
|
||||
<para>Kbd-&kbd-version;</para>
|
||||
</listitem>-->
|
||||
</listitem>
|
||||
<!--<listitem>
|
||||
<para>Kmod-&kmod-version;</para>
|
||||
</listitem>-->
|
||||
<!--<listitem>
|
||||
<listitem>
|
||||
<para>Less-&less-version;</para>
|
||||
</listitem>-->
|
||||
</listitem>
|
||||
<!--<listitem>
|
||||
<para>LFS-Bootscripts-&lfs-bootscripts-version;</para>
|
||||
</listitem>-->
|
||||
|
||||
@@ -163,7 +163,7 @@
|
||||
<para>MD5 sum: <literal>&sysvinit-consolidated-patch-md5;</literal></para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<!--
|
||||
<varlistentry revision="systemd">
|
||||
<term>Systemd OpenSSL 4 Patch - <token>&systemd-upstream-patch-size;</token>:</term>
|
||||
<listitem>
|
||||
@@ -171,7 +171,7 @@
|
||||
<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>
|
||||
|
||||
+32
-26
@@ -66,12 +66,6 @@ mv -v mpc-&mpc-version; mpc</userinput></screen>
|
||||
<screen><userinput remap="pre">sed -e 's/lib64/lib/' \
|
||||
-i.orig gcc/config/loongarch/{t-linux,linux.h}</userinput></screen>
|
||||
|
||||
<para>Override the build rules of the libgcc and libstdc++ headers to
|
||||
allow building these libraries with POSIX threads support:</para>
|
||||
|
||||
<screen><userinput remap="pre">sed '/thread_header =/s/@.*@/gthr-posix.h/' \
|
||||
-i libgcc/Makefile.in libstdc++-v3/include/Makefile.in</userinput></screen>
|
||||
|
||||
<para>Create a separate build directory again:</para>
|
||||
|
||||
<screen><userinput remap="pre">mkdir -v build
|
||||
@@ -99,24 +93,12 @@ cd build</userinput></screen>
|
||||
--disable-libssp \
|
||||
--disable-libvtv \
|
||||
--enable-languages=c,c++ \
|
||||
LDFLAGS_FOR_TARGET=-L$PWD/$LFS_TGT/libgcc</userinput></screen>
|
||||
LDFLAGS_FOR_TARGET=-L$PWD/$LFS_TGT/libgcc \
|
||||
target_configargs=gcc_cv_target_thread_file=posix</userinput></screen>
|
||||
|
||||
<variablelist>
|
||||
<title>The meaning of the new configure options:</title><!-- WIP -->
|
||||
|
||||
<varlistentry>
|
||||
<term><parameter>--with-build-sysroot=$LFS</parameter></term>
|
||||
<listitem>
|
||||
<para>Normally, using <parameter>--host</parameter> ensures that
|
||||
a cross-compiler is used for building GCC, and that compiler knows
|
||||
that it has to look for headers and libraries in <filename
|
||||
class="directory">$LFS</filename>. However, the build system for GCC
|
||||
uses additional tools which are not aware of this location. This
|
||||
switch is needed so those tools will find the needed files in
|
||||
<filename class="directory">$LFS</filename>, and not on the host.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><parameter>--target=$LFS_TGT</parameter></term>
|
||||
<listitem>
|
||||
@@ -133,6 +115,30 @@ cd build</userinput></screen>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><parameter>--with-build-sysroot=$LFS</parameter></term>
|
||||
<listitem>
|
||||
<para>Normally, using <parameter>--host</parameter> ensures that
|
||||
a cross-compiler is used for building GCC, and that compiler knows
|
||||
that it has to look for headers and libraries in <filename
|
||||
class="directory">$LFS</filename>. However, the build system for GCC
|
||||
uses additional tools which are not aware of this location. This
|
||||
switch is needed so those tools will find the needed files in
|
||||
<filename class="directory">$LFS</filename>, and not on the host.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><parameter>--disable-libsanitizer</parameter></term>
|
||||
<listitem>
|
||||
<para>Disable GCC sanitizer runtime libraries. They are not
|
||||
needed for the temporary installation. In
|
||||
<xref linkend='ch-tools-gcc-pass1'/> it was implied by
|
||||
<parameter>--disable-libstdcxx</parameter>, and now we can
|
||||
explicitly pass it.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><parameter>LDFLAGS_FOR_TARGET=...</parameter></term>
|
||||
<listitem>
|
||||
@@ -146,13 +152,13 @@ cd build</userinput></screen>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><parameter>--disable-libsanitizer</parameter></term>
|
||||
<term><parameter>target_configargs=gcc_cv_target_thread_file=posix</parameter></term>
|
||||
<listitem>
|
||||
<para>Disable GCC sanitizer runtime libraries. They are not
|
||||
needed for the temporary installation. In
|
||||
<xref linkend='ch-tools-gcc-pass1'/> it was implied by
|
||||
<parameter>--disable-libstdcxx</parameter>, and now we can
|
||||
explicitly pass it.</para>
|
||||
<para>Build the target libraries libgcc and libstdc++ with POSIX
|
||||
thread support enabled. The default is following the
|
||||
configuration of the compiler used for building the target library
|
||||
(in this case, <xref linkend='ch-tools-gcc-pass1'/> which was
|
||||
configured with none thread support).</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
||||
+9
-7
@@ -80,18 +80,20 @@ cd build</userinput></screen>
|
||||
|
||||
<para>We only enable C and C++ here to save the build time as no
|
||||
packages in LFS and BLFS require GCC to compile other languages. Append
|
||||
<literal>cobol</literal> for Cobol (note that it will cause GCC fail
|
||||
to build on a 32-bit LFS system),
|
||||
<literal>algol68</literal> for Algol 68,
|
||||
<literal>fortran</literal> for Fortran,
|
||||
<literal>go</literal> for Go,
|
||||
<literal>objc</literal> for Objective C,
|
||||
<literal>obj-c++</literal> for Objective C++, and/or
|
||||
<literal>m2</literal> for Modula 2 into the value of
|
||||
<parameter>--enable-languages</parameter> option if you want to compile
|
||||
programs in one or more of those languages with GCC. GCC also supports
|
||||
Ada and D, but the code to support Ada or D is written in Ada or D
|
||||
itself, so the support can only be built with an existing Ada or D
|
||||
compiler installation and we cannot enable the support here.</para>
|
||||
programs in one or more of those languages with GCC.</para>
|
||||
|
||||
<para>GCC also supports the Ada, COBOL, and D languages. But that would
|
||||
require some dependencies which are not available in the base LFS system
|
||||
and would exceed the scope of this book. Read
|
||||
<ulink url='https://gcc.gnu.org/install/prerequisites.html'>the upstream
|
||||
documentation</ulink> for details.</para>
|
||||
|
||||
<variablelist>
|
||||
<title>The meaning of the new configure parameters:</title>
|
||||
@@ -192,7 +194,7 @@ su tester -c "PATH=$PATH make -k check"</userinput></screen>
|
||||
|
||||
<para>To extract a summary of the test suite results, run:</para>
|
||||
|
||||
<screen><userinput remap="test">../contrib/test_summary</userinput></screen>
|
||||
<screen><userinput remap="test">../contrib/test_summary -t</userinput></screen>
|
||||
|
||||
<para>To filter out only the summaries, pipe the output through
|
||||
<userinput>grep -A7 Summ</userinput>.</para>
|
||||
|
||||
@@ -39,14 +39,14 @@
|
||||
|
||||
<sect2 role="installation">
|
||||
<title>Installation of systemd</title>
|
||||
|
||||
<!--
|
||||
<para>
|
||||
First apply a patch to adjust the package to build and function
|
||||
against OpenSSL-4:
|
||||
</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
|
||||
|
||||
+21
-21
@@ -310,10 +310,10 @@
|
||||
<!ENTITY gzip-fin-du "21 MB">
|
||||
<!ENTITY gzip-fin-sbu "0.1 SBU">
|
||||
|
||||
<!ENTITY iana-etc-version "20260504">
|
||||
<!ENTITY iana-etc-size "595 KB">
|
||||
<!ENTITY iana-etc-version "20260529">
|
||||
<!ENTITY iana-etc-size "596 KB">
|
||||
<!ENTITY iana-etc-url "https://github.com/Mic92/iana-etc/releases/download/&iana-etc-version;/iana-etc-&iana-etc-version;.tar.gz">
|
||||
<!ENTITY iana-etc-md5 "1197ad9e969dc2f71fb3ceee707710d3">
|
||||
<!ENTITY iana-etc-md5 "18ac80f525eb0222c03d2b8d3f38e9a0">
|
||||
<!ENTITY iana-etc-home "https://www.iana.org/protocols">
|
||||
<!ENTITY iana-etc-fin-du "4.8 MB">
|
||||
<!ENTITY iana-etc-fin-sbu "less than 0.1 SBU">
|
||||
@@ -350,10 +350,10 @@
|
||||
<!ENTITY jinja2-fin-du "2.7 MB">
|
||||
<!ENTITY jinja2-fin-sbu "less than 0.1 SBU">
|
||||
|
||||
<!ENTITY kbd-version "2.9.0">
|
||||
<!ENTITY kbd-size "1,492 KB">
|
||||
<!ENTITY kbd-version "2.10.0">
|
||||
<!ENTITY kbd-size "1,747 KB">
|
||||
<!ENTITY kbd-url "https://www.kernel.org/pub/linux/utils/kbd/kbd-&kbd-version;.tar.xz">
|
||||
<!ENTITY kbd-md5 "7be7c6f658f5fb9512e2c490349a8eeb">
|
||||
<!ENTITY kbd-md5 "77ff950dfa4c34fdf41125547bfa831a">
|
||||
<!ENTITY kbd-home "https://kbd-project.org/">
|
||||
<!ENTITY kbd-fin-du "37 MB">
|
||||
<!ENTITY kbd-fin-sbu "0.1 SBU">
|
||||
@@ -366,10 +366,10 @@
|
||||
<!ENTITY kmod-fin-du "6.7 MB">
|
||||
<!ENTITY kmod-fin-sbu "less than 0.1 SBU">
|
||||
|
||||
<!ENTITY less-version "692">
|
||||
<!ENTITY less-size "965 KB">
|
||||
<!ENTITY less-version "702">
|
||||
<!ENTITY less-size "974 KB">
|
||||
<!ENTITY less-url "https://www.greenwoodsoftware.com/less/less-&less-version;.tar.gz">
|
||||
<!ENTITY less-md5 "4efd31e34ecf7682a6c62a3c53007600">
|
||||
<!ENTITY less-md5 "6357604422b12b71c534d0e34f41d4c5">
|
||||
<!ENTITY less-home "https://www.greenwoodsoftware.com/less/">
|
||||
<!ENTITY less-fin-du "17 MB">
|
||||
<!ENTITY less-fin-sbu "0.1 SBU">
|
||||
@@ -686,21 +686,21 @@
|
||||
<!ENTITY sysklogd-fin-du "3.9 MB">
|
||||
<!ENTITY sysklogd-fin-sbu "less than 0.1 SBU">
|
||||
|
||||
<!ENTITY systemd-version "260.1">
|
||||
<!ENTITY systemd-version "260.2">
|
||||
<!--<!ENTITY systemd-stable "6b4878d">-->
|
||||
<!-- The above entity is used whenever we move to a stable backport branch.
|
||||
In the event of a critical problem or kernel change that is incompatible,
|
||||
we will switch to the backport branch until the next stable release. -->
|
||||
<!ENTITY systemd-size "17,170 KB">
|
||||
<!ENTITY systemd-size "17,250 KB">
|
||||
<!ENTITY systemd-url "&github;/systemd/systemd/archive/v&systemd-version;/systemd-&systemd-version;.tar.gz">
|
||||
<!--<!ENTITY systemd-url "&anduin-sources;/systemd-&systemd-version;-&systemd-stable;.tar.xz">-->
|
||||
<!ENTITY systemd-md5 "8a54e8e7736f5a047c990ab570dae7f7">
|
||||
<!ENTITY systemd-md5 "9f066cdb9c32177830add1e21d13c4f6">
|
||||
<!ENTITY systemd-home "https://systemd.io">
|
||||
<!ENTITY systemd-man-version "260.1">
|
||||
<!ENTITY systemd-man-size "779 KB">
|
||||
<!ENTITY systemd-man-version "260.2">
|
||||
<!ENTITY systemd-man-size "778 KB">
|
||||
<!--<!ENTITY systemd-man-url "&anduin-sources;/systemd-man-pages-&systemd-version;-&systemd-stable;.tar.xz">-->
|
||||
<!ENTITY systemd-man-url "&anduin-sources;/systemd-man-pages-&systemd-man-version;.tar.xz">
|
||||
<!ENTITY systemd-man-md5 "af471aea346186cc4f7baed6a910aad0">
|
||||
<!ENTITY systemd-man-md5 "baf51361bbadd88e7148ffd270bdfa22">
|
||||
<!ENTITY systemd-fin-du "349 MB">
|
||||
<!ENTITY systemd-fin-sbu "1.1 SBU">
|
||||
|
||||
@@ -759,19 +759,19 @@
|
||||
<!ENTITY udev-fin-sbu "0.1 SBU">
|
||||
|
||||
<!ENTITY util-linux-minor "2.42">
|
||||
<!ENTITY util-linux-version "2.42"> <!-- 2.41.x -->
|
||||
<!ENTITY util-linux-size "10,360 KB">
|
||||
<!ENTITY util-linux-version "2.42.1"> <!-- 2.41.x -->
|
||||
<!ENTITY util-linux-size "10,391 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 "cfb34c0a81a9907f25130c2f731e7e0b">
|
||||
<!ENTITY util-linux-md5 "575bf65577d9bd0e65aeb073e8f61343">
|
||||
<!ENTITY util-linux-home "https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/">
|
||||
<!ENTITY util-linux-tmp-du "192 MB">
|
||||
<!ENTITY util-linux-tmp-sbu "0.2 SBU">
|
||||
<!ENTITY util-linux-fin-du "346 MB">
|
||||
<!ENTITY util-linux-fin-sbu "0.5 SBU">
|
||||
|
||||
<!ENTITY vim-version "9.2.0481">
|
||||
<!ENTITY vim-version "9.2.0567">
|
||||
<!ENTITY vim-docdir "vim/vim92">
|
||||
<!ENTITY vim-size "19,502 KB">
|
||||
<!ENTITY vim-size "19,586 KB">
|
||||
<!ENTITY vim-url "https://github.com/vim/vim/archive/v&vim-version;/vim-&vim-version;.tar.gz">
|
||||
<!-- N.B. LFS 9.0 uses
|
||||
https://github.com/vim/vim/archive/v8.1.1846/vim-8.1.1846.tar.gz
|
||||
@@ -784,7 +784,7 @@
|
||||
release. The "Next" button just sets "after=" in the URL. For
|
||||
example, https://github.com/vim/vim/tags?after=v8.1.1847 will show
|
||||
us v8.1.1846. -->
|
||||
<!ENTITY vim-md5 "59a2473c92078bd23e51f1f0ea5f59f4">
|
||||
<!ENTITY vim-md5 "21f8aec8ca0422156ac7de1a92a49901">
|
||||
<!ENTITY vim-home "https://www.vim.org">
|
||||
<!ENTITY vim-fin-du "217 MB">
|
||||
<!ENTITY vim-fin-sbu "3.2 SBU">
|
||||
|
||||
+2
-1
@@ -58,10 +58,11 @@
|
||||
<!ENTITY sysvinit-consolidated-patch "sysvinit-&sysvinit-version;-consolidated-1.patch">
|
||||
<!ENTITY sysvinit-consolidated-patch-md5 "3af8fd8e13cad481eeeaa48be4247445">
|
||||
<!ENTITY sysvinit-consolidated-patch-size "2.5 KB">
|
||||
|
||||
<!--
|
||||
<!ENTITY systemd-upstream-patch "systemd-&systemd-version;-buildfix-1.patch">
|
||||
<!ENTITY systemd-upstream-patch-md5 "f08b5f6d1337ac9b0ed06ff9fa4226af">
|
||||
<!ENTITY systemd-upstream-patch-size "4.2 KB">
|
||||
-->
|
||||
|
||||
<!-- Put LoongArch patches last to reduce the chance of a conflict during
|
||||
merge. -->
|
||||
|
||||
Reference in New Issue
Block a user