Changeset 161a267


Ignore:
Timestamp:
05/13/2024 04:01:59 PM (5 weeks ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/arm64
Children:
c6e4dba
Parents:
f6548ac (diff), 5ff2f2e4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

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

Files:
15 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    rf6548ac r161a267  
    4242
    4343    <listitem>
     44      <para>2024-05-11</para>
     45      <itemizedlist>
     46        <listitem>
     47          <para>[bdubbs] - Update to vim-9.1.0405. Addresses
     48          <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para>
     49        </listitem>
     50        <listitem>
     51          <para>[bdubbs] - Update to util-linux-2.40.1. Fixes
     52          <ulink url='&lfs-ticket-root;5482'>#5482</ulink>.</para>
     53        </listitem>
     54        <listitem>
     55          <para>[bdubbs] - Update to linux-6.8.9. Fixes
     56          <ulink url='&lfs-ticket-root;5484'>#5484</ulink>.</para>
     57        </listitem>
     58        <listitem>
     59          <para>[bdubbs] - Update to jinja2-3.1.4 (Python module). Fixes
     60          <ulink url='&lfs-ticket-root;5485'>#5485</ulink>.</para>
     61        </listitem>
     62        <listitem>
     63          <para>[bdubbs] - Update to iana-etc-20240502. Addresses
     64          <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para>
     65        </listitem>
     66        <listitem>
     67          <para>[bdubbs] - Update to gcc-14.1.0. Fixes
     68          <ulink url='&lfs-ticket-root;5486'>#5486</ulink>.</para>
     69        </listitem>
     70      </itemizedlist>
     71    </listitem>
     72
     73    <listitem>
    4474      <para>2024-05-01</para>
    4575      <itemizedlist>
     
    5989    </listitem>
    6090
    61     <listitem revision='sysv'>
     91    <listitem>
    6292      <para>2024-04-16</para>
    6393      <itemizedlist>
  • chapter01/whatsnew.xml

    rf6548ac r161a267  
    9393      <para>Gawk-&gawk-version;</para>
    9494    </listitem>-->
    95     <!--<listitem>
     95    <listitem>
    9696       <para>GCC-&gcc-version;</para>
    97     </listitem>-->
     97    </listitem>
    9898    <!--<listitem>
    9999       <para>GDBM-&gdbm-version;</para>
     
    135135      <para>IPRoute2-&iproute2-version;</para>
    136136    </listitem>
    137     <!--<listitem>
     137    <listitem>
    138138      <para>Jinja2-&jinja2-version;</para>
    139     </listitem>-->
     139    </listitem>
    140140    <!--<listitem>
    141141      <para>Kbd-&kbd-version;</para>
  • chapter02/creatingfilesystem.xml

    rf6548ac r161a267  
    5151  </variablelist>
    5252
    53   <para>Other file systems, including FAT32, NTFS, ReiserFS, JFS, and XFS are
     53  <para>Other file systems, including FAT32, NTFS, JFS, and XFS are
    5454  useful for specialized purposes. More information about these file systems,
    5555  and many others, can be found at <ulink
  • chapter03/patches.xml

    rf6548ac r161a267  
    6060      </listitem>
    6161    </varlistentry>
    62 <!--
     62
    6363    <varlistentry>
    64       <term>Coreutils Chmod Fix Patch - <token>&coreutils-chmod-patch-size;</token>:</term>
     64      <term>Expect GCC14 Patch - <token>&expect-gcc14-patch-size;</token>:</term>
    6565      <listitem>
    66         <para>Download: <ulink url="&patches-root;&coreutils-chmod-patch;"/></para>
    67         <para>MD5 sum: <literal>&coreutils-chmod-patch-md5;</literal></para>
     66        <para>Download: <ulink url="&patches-root;&expect-gcc14-patch;"/></para>
     67        <para>MD5 sum: <literal>&expect-gcc14-patch-md5;</literal></para>
    6868      </listitem>
    6969   </varlistentry>
    70 -->
     70
    7171<!--
    7272    <varlistentry>
  • chapter06/bash.xml

    rf6548ac r161a267  
    4949            --build=$(sh support/config.guess) \
    5050            --host=$LFS_TGT                    \
    51             --without-bash-malloc</userinput></screen>
     51            --without-bash-malloc              \
     52            bash_cv_strtold_broken=no</userinput></screen>
    5253
    5354    <variablelist>
  • chapter08/automake.xml

    rf6548ac r161a267  
    6363    logical cores you want to use if you don't want to use all.</para>
    6464
    65     <para>The test t/subobj.sh is known to fail.</para>
     65    <para>Out of 2926 tests, 52 are known to fail due to incompatibilities in the
     66    test scripts with gcc-14.1 or later.</para>
    6667
    6768    <para>Install the package:</para>
  • chapter08/bash.xml

    rf6548ac r161a267  
    5050            --without-bash-malloc     \
    5151            --with-installed-readline \
     52            bash_cv_strtold_broken=no \
    5253            --docdir=/usr/share/doc/bash-&bash-version;</userinput></screen>
    5354
  • chapter08/coreutils.xml

    rf6548ac r161a267  
    128128    environment):</para>
    129129
    130 <screen><userinput remap="test">su tester -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check" &lt; /dev/null</userinput></screen>
     130<screen><userinput remap="test">su tester -c "PATH=$PATH make -k RUN_EXPENSIVE_TESTS=yes check" \
     131   &lt; /dev/null</userinput></screen>
    131132
    132133    <para>Remove the temporary group:</para>
  • chapter08/expect.xml

    rf6548ac r161a267  
    7373<screen><userinput remap="pre">tar -C tclconfig -xf ../autoconf-&autoconf-version;.tar.xz --strip-components=2 \
    7474    autoconf-&autoconf-version;/build-aux/config.{guess,sub}</userinput></screen>
     75
     76    <para>Now, make some changes to allow the package with gcc-14.1 or later:</para>
     77
     78<screen><userinput remap="pre">patch -Np1 -i ../expect-&expect-version;-gcc14-1.patch</userinput></screen>
    7579
    7680    <para>Prepare Expect for compilation:</para>
  • chapter08/gcc.xml

    rf6548ac r161a267  
    4141  <sect2 role="installation">
    4242    <title>Installation of GCC</title>
    43 <!--
    44     <para>At first, fix an issue breaking
    45     <filename class="libraryfile">libasan.a</filename> building this package
    46     with Glibc-2.34 or later:</para>
    47 
    48 <screen><userinput remap="pre">sed -e '/static.*SIGSTKSZ/d' \
    49     -e 's/return kAltStackSize/return SIGSTKSZ * 4/' \
    50     -i libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp</userinput></screen>
    51 -->
    52 <!--
    53     <para>First fix a problem with the latest version of glibc:</para>
    54 
    55     <screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-fixes-patch;</userinput></screen>
    56 -->
     43
    5744    <para>On ARM64 hosts, set the default directory name for
    5845    64-bit libraries to <quote>lib</quote>:</para>
     
    7360             --enable-default-pie     \
    7461             --enable-default-ssp     \
     62             --enable-host-pie        \
    7563             --disable-multilib       \
    7664             --disable-bootstrap      \
     
    144132      important, but it takes a long time. First-time builders are
    145133      encouraged to run the test suite.  The time to run the tests can be
    146       reduced significantly by adding -jx to the <command>make -k check</command> command below,
    147       where x is the number of CPU cores on your system.</para>
     134      reduced significantly by adding -jx to the <command>make -k check</command>
     135      command below, where x is the number of CPU cores on your system.</para>
    148136    </important>
    149137
     
    152140
    153141<screen><userinput remap="test">ulimit -s 32768</userinput></screen>
     142
     143    <para>Now remove/fix several known test failures:</para>
     144
     145<screen><userinput remap="test">sed -e '/cpython/d'               -i ../gcc/testsuite/gcc.dg/plugin/plugin.exp
     146sed -e 's/no-pic /&amp;-no-pie /'     -i ../gcc/testsuite/gcc.target/i386/pr113689-1.c
     147sed -e 's/300000/(1|300000)/'     -i ../libgomp/testsuite/libgomp.c-c++-common/pr109062.c
     148sed -e 's/{ target nonpic } //' \
     149    -e '/GOTPCREL/d'              -i ../gcc/testsuite/gcc.target/i386/fentryname3.c</userinput></screen>
    154150
    155151    <para>Test the results as a non-privileged user, but do not stop at errors:</para>
     
    168164    url="&test-results;"/> and
    169165    <ulink url="https://gcc.gnu.org/ml/gcc-testresults/"/>.</para>
    170 
     166<!--
    171167    <para>
    172     In gcc tests (out of over 185,000),
    173     seven tests in the <filename class='directory'>analyzer</filename>
     168    Eight gcc tests (out of over 185,000):
     169    <!- - https://gcc.gnu.org/PR106375 - -><filename>pr56837.c</filename>
     170    and seven tests in the <filename class='directory'>analyzer</filename>
    174171    directory are known to fail.
    175172
    176     <!-- https://gcc.gnu.org/PR109353 -->
     173    <!- - https://gcc.gnu.org/PR109353 - ->
    177174    One libstdc++ test (out of over 15000), <filename>copy.cc</filename>, is
    178175    known to fail.
    179176
    180     For g++, 22 tests (out of approximately 250,000): 14
     177    For g++, 21 tests (out of approximately 250,000): 14
    181178    <quote>AddressSanitizer*</quote>
    182     tests, 7 <filename>interception-malloc-test-1.C</filename> tests,
    183     and one test named <filename>contracts-tmpl-spec2.C</filename> are
     179    tests and 7 <filename>interception-malloc-test-1.C</filename> tests, are
    184180    known to fail.
    185181
    186     On ARM64, many tests in the
     182    Additionally, several tests in the
     183    <filename class='directory'>vect</filename> directory are known to fail
     184    if the hardware does not support AVX.</para>
     185-->
     186
     187    <para>On ARM64, many tests in the
    187188    <filename class='directory'>c-c++-common/hwasan</filename>
    188189    directory are known to fail in both gcc and g++ tests<!-- why? -->,
     
    190191    <!-- https://gcc.gnu.org/PR111124 -->
    191192    <filename class='directory'>g++.dg/modules</filename>
    192     directory are known to fail in g++ tests.
    193     </para>
    194 
    195     <para>A few unexpected failures cannot always be avoided. The GCC developers
    196     are usually aware of these issues, but have not resolved them yet.
     193    directory are known to fail in g++ tests.</para>
     194
     195    <para>A few unexpected failures cannot always be avoided. In some cases
     196    test failures depend on the specific hardware of the system.<!--The GCC developers
     197    are usually aware of these issues, but have not resolved them yet.-->
    197198    Unless the test results are vastly different from those at the above URL,
    198199    it is safe to continue.</para>
  • chapter08/grub.xml

    rf6548ac r161a267  
    5454      <para>
    5555        If your system has UEFI support and you wish to boot LFS with UEFI,
    56         you can skip this package in LFS,
    57         and install GRUB with UEFI support (and its dependencies) by following
    58         the instructions on
    59         <ulink url="&blfs-book;postlfs/grub-efi.html">the BLFS page</ulink>
    60         (with <parameter>--target=x86_64</parameter> removed).
     56        you need to install GRUB with UEFI support (and its dependencies) by
     57        following the instructions on
     58        <ulink url="&blfs-book;postlfs/grub-efi.html">the BLFS page</ulink>.
     59        You may skip this package, or install this package and the BLFS
     60        GRUB for UEFI package without conflict (the BLFS page provides
     61        instructions for both cases).
    6162      </para>
    6263    </note>
  • chapter08/inetutils.xml

    rf6548ac r161a267  
    4040  <sect2 role="installation">
    4141    <title>Installation of Inetutils</title>
     42
     43    <para>First, make the package build with gcc-14.1 or later::</para>
     44
     45<screen><userinput remap="pre">sed -i 's/def HAVE_TERMCAP_TGETENT/ 1/' telnet/telnet.c</userinput></screen>
    4246
    4347    <para>Prepare Inetutils for compilation:</para>
  • lfs-latest-git.php

    rf6548ac r161a267  
    148148if ( $package == "sysvinit"   ) $dirpath = github("slicer69/sysvinit");
    149149if ( $package == "MarkupSafe" ) $dirpath = "https://pypi.python.org/pypi/MarkupSafe/";
    150 if ( $package == "Jinja"      ) $dirpath = "https://pypi.python.org/pypi/Jinja2/";
     150if ( $package == "jinja"      ) $dirpath = "https://pypi.python.org/pypi/Jinja2/";
    151151if ( $package == "systemd"    ) $dirpath = github("systemd/systemd");
    152152//if ( $package == "tcl"        ) $dirpath = "https://sourceforge.net/projects/tcl/files";
     
    264264     return find_max( $lines, "/grub/", "/^.*grub-([\d\.]+).tar.xz.*$/" );
    265265
    266   if ( $package == "Jinja" )
     266  if ( $package == "jinja" )
    267267     return find_max( $lines, "/Jinja/", "/^.*Jinja2 ([\d\.]+).*$/" );
    268268
  • packages.ent

    rf6548ac r161a267  
    219219<!ENTITY gawk-fin-sbu "0.1 SBU">
    220220
    221 <!ENTITY gcc-version "13.2.0">
    222 <!ENTITY gcc-size "85,800 KB">
     221<!ENTITY gcc-version "14.1.0">
     222<!ENTITY gcc-size "90,104 KB">
    223223<!ENTITY gcc-url "&gnu;gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.xz">
    224 <!ENTITY gcc-md5 "e0e48554cc6e4f261d55ddee9ab69075">
     224<!ENTITY gcc-md5 "24195dca80ded5e0551b533f46a4481d">
    225225<!ENTITY gcc-home "https://gcc.gnu.org/">
    226226<!ENTITY gcc-tmpp1-du "4.1 GB">
     
    318318<!ENTITY gzip-fin-sbu "0.3 SBU">
    319319
    320 <!ENTITY iana-etc-version "20240412">
     320<!ENTITY iana-etc-version "20240502">
    321321<!ENTITY iana-etc-size "590 KB">
    322322<!ENTITY iana-etc-url "https://github.com/Mic92/iana-etc/releases/download/&iana-etc-version;/iana-etc-&iana-etc-version;.tar.gz">
    323 <!ENTITY iana-etc-md5 "d53e2729bb4f3ef9f5cdc23a4bbb6739">
     323<!ENTITY iana-etc-md5 "73921d46a934eb5ac4286fc8111c2174">
    324324<!ENTITY iana-etc-home "https://www.iana.org/protocols">
    325325<!ENTITY iana-etc-fin-du "4.8 MB">
     
    350350<!ENTITY iproute2-fin-sbu "0.1 SBU">
    351351
    352 <!ENTITY jinja2-version "3.1.3">
    353 <!ENTITY jinja2-size "264 KB">
    354 <!ENTITY jinja2-url "&pypi-src;/J/Jinja2/Jinja2-&jinja2-version;.tar.gz">
    355 <!ENTITY jinja2-md5 "caf5418c851eac59e70a78d9730d4cea">
     352<!ENTITY jinja2-version "3.1.4">
     353<!ENTITY jinja2-size "235 KB">
     354<!ENTITY jinja2-url "&pypi-src;/J/Jinja2/jinja2-&jinja2-version;.tar.gz">
     355<!ENTITY jinja2-md5 "02ca9a6364c92e83d14b037bef4732bc">
    356356<!ENTITY jinja2-home "https://jinja.palletsprojects.com/en/3.1.x/">
    357357<!ENTITY jinja2-fin-du "3.2 MB">
     
    432432<!ENTITY linux-major-version "6">
    433433<!ENTITY linux-minor-version "8">
    434 <!ENTITY linux-patch-version "8">
     434<!ENTITY linux-patch-version "9">
    435435<!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">-->
    436436<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
    437 <!ENTITY linux-size "139,243 KB">
     437<!ENTITY linux-size "139,241 KB">
    438438<!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz">
    439 <!ENTITY linux-md5 "d802ace782a45e14cc4a8efee7510dfd">
     439<!ENTITY linux-md5 "95b3e4b76c4449bad8dd39ec16140a62">
    440440<!ENTITY linux-home "https://www.kernel.org/">
    441441<!-- measured for 6.5.3 / gcc-13.2.0 on x86_64 with -j4 : minimum is
     
    734734
    735735<!ENTITY util-linux-minor "2.40">
    736 <!ENTITY util-linux-version "2.40"> <!-- 2.33.x -->
    737 <!ENTITY util-linux-size "8,558 KB">
     736<!ENTITY util-linux-version "2.40.1"> <!-- 2.33.x -->
     737<!ENTITY util-linux-size "8,617 KB">
    738738<!ENTITY util-linux-url "&kernel;linux/utils/util-linux/v&util-linux-minor;/util-linux-&util-linux-version;.tar.xz">
    739 <!ENTITY util-linux-md5 "46d1423122d310dfd022c799e1e4e259">
     739<!ENTITY util-linux-md5 "42ca7b92a3d77087de362f43ac29a3df">
    740740<!ENTITY util-linux-home "https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/">
    741741<!ENTITY util-linux-tmp-du "172 MB">
     
    744744<!ENTITY util-linux-fin-sbu "0.5 SBU">
    745745
    746 <!ENTITY vim-version "9.1.0330">
     746<!ENTITY vim-version "9.1.0405">
    747747<!-- <!ENTITY vim-majmin "90"> -->
    748748<!ENTITY vim-docdir "vim/vim91">
    749749<!ENTITY vim-size "17,428 KB">
    750750<!ENTITY vim-url "https://github.com/vim/vim/archive/v&vim-version;/vim-&vim-version;.tar.gz">
     751<!-- N.B. LFS 9.0 uses
     752     https://github.com/vim/vim/archive/v8.1.1846/vim-8.1.1846.tar.gz
     753     and it still works after years, the md5sum of the resulted tarball
     754     is unchanged as well.  Thus GitHub download seems stable enough for
     755     vim and there's no need to use anduin.
     756
     757     BTW if we click the "Next" button enough times on
     758     https://github.com/vim/vim/tags, we can eventually see the old
     759     release.  The "Next" button just sets "after=" in the URL.  For
     760     example, https://github.com/vim/vim/tags?after=v8.1.1847 will show
     761     us v8.1.1846. -->
    751762<!--<!ENTITY vim-url "&anduin-sources;/vim-&vim-version;.tar.gz">-->
    752 <!ENTITY vim-md5 "88d5656c21668ae98a0cd1a13abb3d12">
     763<!ENTITY vim-md5 "5379f5542310ee7ffbd6aea312407042">
    753764<!ENTITY vim-home "https://www.vim.org">
    754765<!ENTITY vim-fin-du "236 MB">
  • patches.ent

    rf6548ac r161a267  
    1414<!ENTITY coreutils-i18n-patch-md5 "ce7529b74564aac887c3f48582a5e6cf">
    1515<!ENTITY coreutils-i18n-patch-size "159 KB">
     16
     17<!ENTITY expect-gcc14-patch "expect-&expect-version;-gcc14-1.patch">
     18<!ENTITY expect-gcc14-patch-md5 "0b8b5ac411d011263ad40b0664c669f0">
     19<!ENTITY expect-gcc14-patch-size "7.8 KB">
    1620
    1721<!ENTITY glibc-fhs-patch "glibc-&glibc-version;-fhs-1.patch">
Note: See TracChangeset for help on using the changeset viewer.