[lfs] 03/05: Merge remote-tracking branch 'origin/trunk' into xry111/loongarch
git Owner ([email protected] via lfs-book Mailing List) <[email protected]> Sat, 01 Aug 2026 08:03:53 +0000
| Newsgroups | gmane.linux.lfs.book |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format... ------------=_1785571439-3620034-7154 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/loongarch in repository lfs. commit 08ab9a14a1a068739fb3a1d86379443192e86af9 Merge: f178ab787 1c2eb20b2 Author: Xi Ruoyao <[email protected]> AuthorDate: Sun Jul 26 23:37:21 2026 +0800 Merge remote-tracking branch 'origin/trunk' into xry111/loongarch Makefile | 2 +- appendices/dependencies.xml | 59 +++++++++++++++++++----- chapter01/changelog.xml | 42 +++++++++++++++++ chapter01/whatsnew.xml | 9 ++-- chapter02/mounting.xml | 5 ++ chapter03/packages.xml | 13 +++++- chapter05/glibc.xml | 2 +- chapter05/libstdc++.xml | 18 ++++++++ chapter07/chapter07.xml | 2 + chapter07/mpdecimal.xml | 68 +++++++++++++++++++++++++++ chapter07/zlib.xml | 67 +++++++++++++++++++++++++++ chapter08/acl.xml | 2 +- chapter08/chapter08.xml | 5 +- chapter08/gcc.xml | 7 +-- chapter08/gmp.xml | 4 +- chapter08/mpdecimal.xml | 109 ++++++++++++++++++++++++++++++++++++++++++++ chapter08/pkgconf.xml | 18 +++++--- chapter08/sqlite.xml | 5 +- general.ent | 2 +- lfs-latest-git.php | 6 ++- packages.ent | 69 ++++++++++++++++------------ prologue/why.xml | 7 +++ stylesheets/md5sum.xsl | 8 +--- stylesheets/wget-list.xsl | 8 +--- 24 files changed, 456 insertions(+), 81 deletions(-) diff --cc chapter08/gcc.xml index 6a8a7a2cc,289564979..5c7c5f2a3 --- a/chapter08/gcc.xml +++ b/chapter08/gcc.xml @@@ -41,24 -41,15 +41,18 @@@ <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 &/' 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>Fix a LoongArch code generation flaw which may allow + the malicious attacker to bypass the Stack Smashing Protection (SSP) + and a bug causing the BLFS package libarchive miscompiled on + LoongArch:</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">patch -Np1 -i ../&gcc-loongarch-fixes-patch;</userinput></screen> + + <para>Set the default directory name for + 64-bit libraries to <quote>lib</quote>:</para> + +<screen><userinput remap="pre">sed -e 's/lib64/lib/' \ + -i.orig gcc/config/loongarch/{t-linux,linux.h}</userinput></screen> <para>The GCC documentation recommends building GCC in a dedicated build directory:</para> diff --cc general.ent index ef58e64aa,360fef6f3..dced084d5 --- a/general.ent +++ b/general.ent @@@ -94,10 -92,12 +94,10 @@@ <!-- 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;/advisories/"> + <!ENTITY secadv "&lfs-root;advisories/"> -<!-- 5.10 EOL is Dec 2026 - so for LFS 13.2 we may consider moving to 5.15. --> -<!ENTITY min-kernel "5.10"> +<!ENTITY min-kernel "5.19"> <!-- <!ENTITY patches-rootd "&lfs-root;patches/lfs/&generic-versiond;/"> -- To stop receiving notification emails like this one, please contact the administrator of this repository. ------------=_1785571439-3620034-7154 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 ------------=_1785571439-3620034-7154--