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

"Git Owner" ([email protected] via lfs-book Mailing List) <[email protected]> Tue, 26 May 2026 15:07:10 +0000
Newsgroups gmane.linux.lfs.book
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

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

commit 59776549078f833a2787ac278b22d68b307fc15d
Merge: 95d9667bb 2b393c106
Author: Xi Ruoyao <[email protected]>
AuthorDate: Tue May 12 01:47:57 2026 +0800

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

 chapter01/changelog.xml | 52 +++++++++++++++++++++++++++++++++++++++++++++++
 chapter02/hostreqs.xml  | 36 ++++++++++++++++++++++++---------
 chapter03/patches.xml   | 12 +++++------
 chapter05/gcc-pass1.xml | 13 ++----------
 chapter05/glibc.xml     |  4 ++++
 chapter08/gcc.xml       | 42 +++++++++++++++++++++++++++++---------
 chapter08/glibc.xml     | 12 ++++-------
 chapter08/python.xml    |  2 +-
 chapter08/systemd.xml   |  7 +++++++
 packages.ent            | 54 ++++++++++++++++++++++++-------------------------
 patches.ent             | 22 +++++++++-----------
 11 files changed, 169 insertions(+), 87 deletions(-)

diff --cc chapter08/gcc.xml
index 769f3a287,6c40e9745..9a451afae
--- a/chapter08/gcc.xml
+++ b/chapter08/gcc.xml
@@@ -44,17 -45,16 +45,18 @@@
      <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>
  
 -<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>
 +    <para>Fix a severe performance issue and two compiler crash issues
 +    on LoongArch:</para>
 +
 +    <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>
  
@@@ -201,34 -208,37 +199,58 @@@ su tester -c "PATH=$PATH make -k check"
      url="&test-results;"/> and
      <ulink url="https://gcc.gnu.org/ml/gcc-testresults/"/>.</para>
  
-     <!-- https://gcc.gnu.org/PR124682 -->
-     <para>Eight tests related to <filename>builtin-math-6.c</filename> are
-     known to fail.</para>
- 
-     <para>Five tests related to <filename>analyzer/strchr-1.c</filename> are known
-     to fail.</para>
+     <para>In the <filename class='directory'>gcc.target/i386</filename>
+     tests, the tests named
+     <filename>auto-init-padding-9.c</filename>,
+     <filename>builtin-memmove-*.c</filename>,
+     <filename>mem{cpy,set}-pr120683-*.c</filename>,
+     <filename>pr111657-1.c</filename>,
+     <filename>pr115102.c</filename>,
+     <filename>pr116896.c</filename>,
+     <filename>pr120881-2a.c</filename>, and
+     <filename>pr122343-4a.c</filename> are known to fail.
+     The test named <filename>shift-gf2p8affine-2.c</filename> is known
+     to fail if the processor does not support AVX512.</para>
+ 
+     <para>In the <filename class='directory'>g++.target/i386</filename>
+     tests, the tests named
+     <filename>memset-pr108585-1{a,b}.C</filename>,
+     <filename>mv{,c}-symbols*.C</filename>,
+     <filename>pr112824-2.C</filename>, and
+     <filename>pr116896-1.C</filename> are known to fail.</para>
+ 
+     <para>Additionally, the tests
+     <filename>gcc.dg/ipa/pr122458.c</filename>,
+     <filename>gcc.dg/lto/toplevel-*-asm-*</filename>, and
+     <filename>gcc.dg/plugin/crash-test-nested-*.c</filename> are known to
+     fail.</para>
+ 
+     <para>The LFS editors have investigated those failures and confirmed
+     none indicates a critical issue.  Most of them are because the test case
+     author did not anticipate <parameter>--enable-default-ssp</parameter> or
+     <parameter>--enable-default-pie</parameter>.</para>
  
 +    <!-- gen-vect-*: At least https://gcc.gnu.org/PR113418
 +         predcom-8.c: https://gcc.gnu.org/PR118407
 +         pr113026.c: https://gcc.gnu.org/PR113524
 +         update-threading.c: https://gcc.gnu.org/PR110628
 +         vect-117.c: https://gcc.gnu.org/PR113685
 +         vect-121.c and vect-epilogues.c: https://gcc.gnu.org/PR119293
 +         vect-reduc-chain-*.c: ???
 +         vect-early-break_52.c: ??? -->
 +    <para>The tests named
 +    <filename>gen-vect-11*.c</filename>,
 +    <filename>gen-vect-26.c</filename>,
 +    <filename>gen-vect-28.c</filename>,
 +    <filename>predcom-8.c</filename>,
 +    <filename>pr113026-2.c</filename>,
 +    <filename>update-threading.c</filename>,
 +    <filename>vect-117.c</filename>,
 +    <filename>vect-121.c</filename>,
 +    <filename>vect-early-break_52.c</filename>,
 +    <filename>vect-epilogues.c</filename>,
 +    <filename>vect-reduc-chain-*.c</filename> are known to fail.</para>
 +
      <para>A few unexpected failures cannot always be avoided. In some cases
      test failures depend on the specific hardware of the system.<!--The GCC developers
      are usually aware of these issues, but have not resolved them yet.-->
diff --cc patches.ent
index 28d3d8e7a,674010d61..98d894f65
--- a/patches.ent
+++ b/patches.ent
@@@ -57,14 -55,6 +55,12 @@@
  <!ENTITY sysvinit-consolidated-patch-md5 "3af8fd8e13cad481eeeaa48be4247445">
  <!ENTITY sysvinit-consolidated-patch-size "2.5 KB">
  
- <!--
- <!ENTITY systemd-upstream-patch "systemd-&systemd-version;-upstream_fixes-1.patch">
- <!ENTITY systemd-upstream-patch-md5 "8d9c1014445c463cf7c24c162b1e0686">
- <!ENTITY systemd-upstream-patch-size "7.2 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.  -->
 +<!ENTITY gcc-loongarch-fixes-patch "gcc-&gcc-version;-loongarch_fixes-3.patch">
 +<!ENTITY gcc-loongarch-fixes-patch-md5 "c4d20533a25e0a62216fb160558d1613">
 +<!ENTITY gcc-loongarch-fixes-patch-size "79 KB">

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

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