[lfs] 01/01: Merge remote-tracking branch 'origin/trunk' into xry111/arm64

git Owner ([email protected] via lfs-book Mailing List) <[email protected]> Wed, 22 Jul 2026 11:52:33 +0000
Newsgroups gmane.linux.lfs.book
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1784721161-1024790-5235
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch xry111/arm64
in repository lfs.

commit 85a7ab447810df40a618a32d9a8e09c546280ca3
Merge: 20c0c4e79 2be87ced8
Author: Xi Ruoyao <[email protected]>
AuthorDate: Wed Jul 22 05:21:51 2026 +0800

    Merge remote-tracking branch 'origin/trunk' into xry111/arm64

 appendices/dependencies.xml  |  63 ++++++++++++----
 chapter01/changelog.xml      | 170 +++++++++++++++++++++++++++++++++++++++++-
 chapter01/whatsnew.xml       |  38 +++++-----
 chapter03/packages.xml       |  13 +++-
 chapter03/patches.xml        |  25 +++----
 chapter05/gcc-pass1.xml      |  13 ++++
 chapter05/libstdc++.xml      |  18 +++++
 chapter06/bash.xml           |   3 +-
 chapter06/gcc-pass2.xml      |  66 +++++++++++------
 chapter07/chapter07.xml      |   2 +
 chapter07/mpdecimal.xml      |  68 +++++++++++++++++
 chapter07/zlib.xml           |  67 +++++++++++++++++
 chapter08/acl.xml            |   2 +-
 chapter08/chapter08.xml      |   5 +-
 chapter08/gcc.xml            |  34 +++------
 chapter08/gmp.xml            |   4 +-
 chapter08/mpdecimal.xml      | 109 +++++++++++++++++++++++++++
 chapter08/openssl.xml        |   7 +-
 chapter08/pkgconf.xml        |  18 +++--
 chapter08/python.xml         |   6 +-
 chapter08/shadow.xml         |  16 ++++
 chapter08/sqlite.xml         |   2 +-
 chapter08/stripping.xml      |   2 +-
 chapter08/systemd.xml        |  24 +++---
 chapter08/tar.xml            |   4 +
 chapter09/systemd-custom.xml |   6 +-
 chapter11/whatnow.xml        |   2 +-
 general.ent                  |   4 +-
 lfs-latest-git.php           |   4 +
 packages.ent                 | 173 +++++++++++++++++++++++--------------------
 patches.ent                  |  17 +++--
 prologue/why.xml             |   7 ++
 stylesheets/md5sum.xsl       |   8 +-
 stylesheets/wget-list.xsl    |   8 +-
 34 files changed, 778 insertions(+), 230 deletions(-)

diff --cc chapter06/gcc-pass2.xml
index cc767a068,9f7d49d82..5d0d5e5ce
--- a/chapter06/gcc-pass2.xml
+++ b/chapter06/gcc-pass2.xml
@@@ -53,18 -53,16 +53,12 @@@ mv -v gmp-&gmp-version; gm
  tar -xf ../mpc-&mpc-version;.tar.xz
  mv -v mpc-&mpc-version; mpc</userinput></screen>
  
 -    <para>If you are building on x86_64, change the default directory name for
 +    <para>On ARM64 hosts, change the default directory name for
      64-bit libraries to <quote>lib</quote>:</para>
  
 -<screen><userinput remap="pre">case $(uname -m) in
 -  x86_64)
 -    sed -e '/m64=/s/lib64/lib/' \
 -        -i.orig gcc/config/i386/t-linux64
 -  ;;
 -esac</userinput></screen>
 +<screen><userinput remap="pre">sed -e '/lp64=/s/lib64/lib/' \
 +    -i.orig gcc/config/aarch64/t-aarch64-linux</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
diff --cc chapter08/gcc.xml
index dd8d763f7,289564979..862eff0ef
--- a/chapter08/gcc.xml
+++ b/chapter08/gcc.xml
@@@ -41,17 -41,15 +41,11 @@@
    <sect2 role="installation">
      <title>Installation of GCC</title>
  
-     <!-- not needed anymore with gcc-16:
-     <para>First, make a fix required by glibc-2.43 and later:</para>
- 
-     <screen><userinput remap="pre">sed -i 's/char [*]q/const &amp;/' libgomp/affinity-fmt.c</userinput></screen>
-     -->
- 
 -    <para>If building on x86_64, change the default directory name for 64-bit
 -    libraries to <quote>lib</quote>:</para>
 +    <para>On ARM64 hosts, set the default directory name for
 +    64-bit libraries to <quote>lib</quote>:</para>
  
 -<screen><userinput remap="pre">case $(uname -m) in
 -  x86_64)
 -    sed -e '/m64=/s/lib64/lib/' \
 -        -i.orig gcc/config/i386/t-linux64
 -  ;;
 -esac</userinput></screen>
 +<screen><userinput remap="pre">sed -e '/lp64=/s/lib64/lib/' \
 +    -i.orig gcc/config/aarch64/t-aarch64-linux</userinput></screen>
  
      <para>The GCC documentation recommends building GCC in a dedicated build directory:</para>
  
diff --cc general.ent
index 935fdc636,af6dc4c16..e827413de
--- a/general.ent
+++ b/general.ent
@@@ -94,8 -92,8 +94,8 @@@
  <!-- Only used for sysv (lfs-bootscripts): -->
  <!ENTITY downloads-root  "&lfs-root;lfs/downloads/&generic-version;/">
  <!ENTITY livecd-root     "&lfs-root;livecd/">
 -<!ENTITY test-results    "&lfs-root;lfs/build-logs/&generic-version;/">
 +<!ENTITY test-results    "&lfs-root;~xry111/lfs/build-logs/&generic-version;/">
- <!ENTITY secadv          "&lfs-root;lfs/advisories/">
+ <!ENTITY secadv          "&lfs-root;/advisories/">
  
  <!-- 5.10 EOL is Dec 2026
  	 so for LFS 13.2 we may consider moving to 5.15. -->

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

------------=_1784721161-1024790-5235
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page

------------=_1784721161-1024790-5235--