Changeset 9237700


Ignore:
Timestamp:
11/23/2022 10:50:34 AM (17 months ago)
Author:
Thomas Trepl (Moody) <thomas@…>
Branches:
multilib
Children:
43063fe
Parents:
777f469 (diff), f0cbef54 (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 branch 'multilib' of git.linuxfromscratch.org:lfs into multilib

Files:
8 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r777f469 r9237700  
    4040    appropriate for the entry or if needed the entire day's listitem.
    4141    -->
    42     <listitem revision="systemd">
     42    <listitem>
     43      <para>2022-11-22</para>
     44      <itemizedlist>
     45        <listitem>
     46          <para>[xry111] - Update to linux-6.0.9. Fixes
     47          <ulink url="&lfs-ticket-root;5162">#5162</ulink>.</para>
     48        </listitem>
     49        <listitem>
     50          <para>[xry111] - Update to libpipeline-1.5.7. Fixes
     51          <ulink url="&lfs-ticket-root;5163">#5163</ulink>.</para>
     52        </listitem>
     53        <listitem>
     54          <para>[xry111] - Update to xz-5.2.8. Fixes
     55          <ulink url="&lfs-ticket-root;5164">#5164</ulink>.</para>
     56        </listitem>
     57        <listitem>
     58          <para>[xry111] - Update to man-db-2.11.1. Fixes
     59          <ulink url="&lfs-ticket-root;5166">#5166</ulink>.</para>
     60        </listitem>
     61        <listitem>
     62          <para>[xry111] - Update to mpfr-4.1.1. Fixes
     63          <ulink url="&lfs-ticket-root;5167">#5167</ulink>.</para>
     64        </listitem>
     65        <listitem>
     66          <para>[xry111] - Stop disabling decimal float for temporary GCC,
     67          so mpfr will be built with decimal float support.</para>
     68        </listitem>
     69        <listitem>
     70          <para>[xry111] - Update instruction for wheel to avoid relying on
     71          deprecated Python features.</para>
     72        </listitem>
     73      </itemizedlist>
     74    </listitem>
     75
     76    <listitem>
    4377      <para>2022-11-10</para>
    4478      <itemizedlist>
  • chapter05/gcc-pass1.xml

    r777f469 r9237700  
    101101    --disable-shared          \
    102102    --disable-multilib        \
    103     --disable-decimal-float   \
    104103    --disable-threads         \
    105104    --disable-libatomic       \
     
    209208
    210209      <varlistentry>
    211         <term><parameter>--disable-decimal-float, --disable-threads,
    212               --disable-libatomic, --disable-libgomp,
     210        <term><parameter>--disable-threads,
     211        --disable-libatomic, --disable-libgomp,
    213212        --disable-libquadmath, --disable-libssp, --disable-libvtv,
    214213        --disable-libstdcxx</parameter></term>
    215214        <listitem>
    216           <para>These switches disable support for the decimal floating point
    217           extension, threading, libatomic, libgomp, libquadmath, libssp,
     215          <para>These switches disable support for
     216          threading, libatomic, libgomp, libquadmath, libssp,
    218217          libvtv, and the C++ standard library respectively. These features
    219           will fail to compile when building a cross-compiler and are not
     218          may fail to compile when building a cross-compiler and are not
    220219          necessary for the task of cross-compiling the temporary libc.</para>
    221220        </listitem>
  • chapter06/gcc-pass2.xml

    r777f469 r9237700  
    102102    --disable-nls                                  \
    103103    --disable-multilib                             \
    104     --disable-decimal-float                        \
    105104    --disable-libatomic                            \
    106105    --disable-libgomp                              \
  • chapter08/coreutils.xml

    r777f469 r9237700  
    129129<screen><userinput remap="test">su tester -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen>
    130130
    131 <!-- test-getlogin is now skipped
    132     <para>The test-getlogin test is known to fail in the LFS chroot environment.</para>
    133 -->
    134 <!-- should be fixed at next release, coreutils-9.2 -->
    135     <para>The sort-NaN-infloop test is known to fail with GCC-12.</para>
     131<!-- Sometimes skipped, but if not it may fail.
     132     Please DO NOT remove or comment out this unless we can fully
     133     understand it!  -->
     134    <para>The test-getlogin test may fail in the LFS chroot environment.</para>
    136135
    137136    <para>Remove the temporary group:</para>
  • chapter08/gcc.xml

    r777f469 r9237700  
    101101             --with-system-zlib</userinput></screen>
    102102
    103     <para>Note that for other programming languages there are some prerequisites that
    104     are not yet available. See the
     103    <para>GCC supports seven different computer languages, but the
     104    prerequisites for most of them have not yet been installed. See the
    105105    <ulink url="&blfs-book;general/gcc.html">BLFS Book GCC page</ulink>
    106106    for instructions on how to build all of GCC's supported languages.</para>
     
    112112        <term><parameter>LD=ld</parameter></term>
    113113        <listitem>
    114           <para>This parameter makes the configure script use the ld installed
    115           by the binutils built earlier in this chapter, rather than
     114          <para>This parameter makes the configure script use the ld program installed
     115          by the Binutils package built earlier in this chapter, rather than
    116116          the cross-built version which would otherwise be used.</para>
    117117        </listitem>
     
    122122        <listitem>
    123123          <para>This switch tells GCC to link to the system installed copy of
    124           the zlib library, rather than its own internal copy.</para>
     124          the Zlib library, rather than its own internal copy.</para>
    125125        </listitem>
    126126      </varlistentry>
     
    130130      <anchor id="pie-ssp-info" xreflabel="note on PIE and SSP"/>
    131131      <para>
    132         PIE (position-independent executable) is a technique to produce
     132        PIE (position-independent executables) are
    133133        binary programs that can be loaded anywhere in memory.  Without PIE,
    134134        the security feature named ASLR (Address Space Layout Randomization)
    135         can be applied for the shared libraries, but not the executable
    136         itself.  Enabling PIE allows ASLR for the executables in addition to
     135        can be applied for the shared libraries, but not for the executables
     136        themselves.  Enabling PIE allows ASLR for the executables in addition to
    137137        the shared libraries, and mitigates some attacks based on fixed
    138138        addresses of sensitive code or data in the executables.
     
    140140      <para>
    141141        SSP (Stack Smashing Protection) is a technique to ensure
    142         that the parameter stack is not corrupted. Stack corruption can
    143         for example alter the return address of a subroutine,
    144         which would allow transferring control to some dangerous code
     142        that the parameter stack is not corrupted. Stack corruption can,
     143        for example, alter the return address of a subroutine,
     144        thus transferring control to some dangerous code
    145145        (existing in the program or shared libraries, or injected by the
    146         attacker somehow) instead of the original one.
     146        attacker somehow).
    147147      </para>
    148148    </note>
     
    154154    <important>
    155155      <para>In this section, the test suite for GCC is considered
    156       important, but it takes a long time. First time builders are
    157       encouraged to not skip it.  The time to run the tests can be
    158       reduced significantly by adding -jx to the make command below
    159       where x is the number of cores on your system.</para>
     156      important, but it takes a long time. First-time builders are
     157      encouraged to run the test suite.  The time to run the tests can be
     158      reduced significantly by adding -jx to the <command>make -k check</command> command below,
     159      where x is the number of CPU cores on your system.</para>
    160160    </important>
    161161
     
    170170su tester -c "PATH=$PATH make -k check"</userinput></screen>
    171171
    172     <para>To receive a summary of the test suite results, run:</para>
     172    <para>To extract a summary of the test suite results, run:</para>
    173173
    174174<screen><userinput remap="test">../contrib/test_summary</userinput></screen>
    175175
    176     <para>For only the summaries, pipe the output through
     176    <para>To filter out only the summaries, pipe the output through
    177177    <userinput>grep -A7 Summ</userinput>.</para>
    178178
     
    181181    <ulink url="https://gcc.gnu.org/ml/gcc-testresults/"/>.</para>
    182182
    183     <para>In gcc, eleven tests, in the i386 test suite are known to FAIL.
     183    <para>Eleven tests in the i386 test suite for the gcc compiler are known to FAIL.
    184184    It's because the test files do not account for the
    185185    <parameter>--enable-default-pie</parameter> option.</para>
    186186
    187     <para>In g++, four tests related to PR100400 are known to be reported
    188     as both XPASS and FAIL.  It's because the test file for this known issue
     187    <para>Four tests related to PR100400 may be reported
     188    as both XPASS and FAIL when testing the g++ compiler; the test file
    189189    is not well written.</para>
    190190
     
    208208
    209209    <para>The GCC build directory is owned by <systemitem class="username">
    210     tester</systemitem> now and the ownership of the installed header
    211     directory (and its content) will be incorrect.  Change the ownership to
     210    tester</systemitem> now, and the ownership of the installed header
     211    directory (and its content) is incorrect.  Change the ownership to the
    212212    <systemitem class="username">root</systemitem> user and group:</para>
    213213
     
    246246<screen><computeroutput>[Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]</computeroutput></screen>
    247247
    248   <para>Now make sure that we're setup to use the correct start files:</para>
     248  <para>Now make sure that we're set up to use the correct start files:</para>
    249249
    250250<screen><userinput>grep -E -o '/usr/lib.*/S?crt[1in].*succeeded' dummy.log</userinput></screen>
     
    295295SEARCH_DIR("/usr/lib");</computeroutput></screen>
    296296
    297    <para arch="default">A 32-bit system may see a few different directories. For example, here
     297   <para arch="default">A 32-bit system may use a few other directories. For example, here
    298298   is the output from an i686 machine:</para>
    299299
     
    329329  steps to find out where the problem is and correct it. <!--The most likely
    330330  reason is that something went wrong with the specs file adjustment.--> Any
    331   issues will need to be resolved before continuing with the process.</para>
     331  issues should be resolved before continuing with the process.</para>
    332332
    333333  <para>Once everything is working correctly, clean up the test files:</para>
     
    396396        <listitem>
    397397          <para>The C preprocessor; it is used by the compiler to expand the
    398           #include, #define, and similar statements in the source files</para>
     398          #include, #define, and similar directives in the source files</para>
    399399          <indexterm zone="ch-system-gcc cpp">
    400400            <primary sortas="b-cpp">cpp</primary>
     
    429429          plugin to the command line. This program is only used
    430430          to add "link time optimization" and is not useful with the
    431           default build options</para>
     431          default build options.</para>
    432432          <indexterm zone="ch-system-gcc gcc-ar">
    433433            <primary sortas="b-gcc-ar">gc-ar</primary>
     
    442442          plugin to the command line. This program is only used
    443443          to add "link time optimization" and is not useful with the
    444           default build options</para>
     444          default build options.</para>
    445445          <indexterm zone="ch-system-gcc gcc-nm">
    446446            <primary sortas="b-gcc-nm">gc-nm</primary>
     
    455455          plugin to the command line. This program is only used
    456456          to add "link time optimization" and is not useful with the
    457           default build options</para>
     457          default build options.</para>
    458458          <indexterm zone="ch-system-gcc gcc-ranlib">
    459459            <primary sortas="b-gcc-ranlib">gc-ranlib</primary>
     
    466466        <listitem>
    467467          <para>A coverage testing tool; it is used to analyze programs to
    468           determine where optimizations will have the most effect</para>
     468          determine where optimizations will have the greatest effect</para>
    469469          <indexterm zone="ch-system-gcc gcov">
    470470            <primary sortas="b-gcov">gcov</primary>
     
    547547        <term><filename class="libraryfile">libgcov</filename></term>
    548548        <listitem>
    549           <para>This library is linked in to a program when GCC is instructed
     549          <para>This library is linked into a program when GCC is instructed
    550550          to enable profiling</para>
    551551          <indexterm zone="ch-system-gcc libgcov">
     
    589589        <term><filename class="libraryfile">liblto_plugin</filename></term>
    590590        <listitem>
    591           <para>GCC's LTO plugin allows binutils to process object files
     591          <para>GCC's LTO plugin allows Binutils to process object files
    592592          produced by GCC with LTO enabled</para>
    593593          <indexterm zone="ch-system-gcc liblto_plugin">
     
    611611        <listitem>
    612612          <para>Contains routines supporting GCC's stack-smashing protection
    613           functionality.  Normally it's unused because glibc also provides
    614           those routines</para>
     613          functionality.  Normally it is not used, because Glibc also provides
     614          those routines.</para>
    615615          <indexterm zone="ch-system-gcc libssp">
    616616            <primary sortas="c-libssp">libssp</primary>
  • chapter08/shadow.xml

    r777f469 r9237700  
    640640        <term><filename class='libraryfile'>libsubid</filename></term>
    641641        <listitem>
    642           <para>library for processing subordinate id ranges for users</para>
     642          <para>library to handle subordinate id ranges for users and groups</para>
    643643          <indexterm zone="ch-system-shadow libsubid">
    644644            <primary sortas="c-libsubid">libsubid</primary>
  • chapter08/wheel.xml

    r777f469 r9237700  
    4141    <title>Installation of Wheel</title>
    4242
     43    <para>Compile wheel with the following command:</para>
     44
     45<screen><userinput remap="make">PYTHONPATH=src pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
     46
    4347    <para>Install wheel with the following command:</para>
    4448
    45 <screen><userinput remap="install">pip3 install --no-index $PWD</userinput></screen>
     49<screen><userinput remap="install">pip3 install --no-index --find-links=dist wheel</userinput></screen>
    4650
    4751    <variablelist>
    48       <title>The meaning of the pip3 options:</title>
     52      <title>The meaning of the pip3 commands:</title>
     53
     54      <varlistentry>
     55        <term><envar>PYTHONPATH=src</envar></term>
     56        <listitem>
     57           <para>Allow using this package (not installed yet) to build a
     58           wheel archive for itself, to avoid a chicken-or-egg problem.</para>
     59        </listitem>
     60      </varlistentry>
     61
     62      <varlistentry>
     63        <term><command>wheel</command></term>
     64        <listitem>
     65           <para>Build wheel archive for this package.</para>
     66        </listitem>
     67      </varlistentry>
     68
     69      <varlistentry>
     70        <term><parameter>-w dist</parameter></term>
     71        <listitem>
     72           <para>Put the created wheels into the
     73           <filename class='directory'>dist</filename> directory.</para>
     74        </listitem>
     75      </varlistentry>
    4976
    5077      <varlistentry>
     
    5683
    5784      <varlistentry>
    58         <term><parameter>--no-index</parameter></term>
     85        <term><parameter>--no-build-isolation</parameter>,
     86              <parameter>--no-deps</parameter>, and
     87              <parameter>--no-index</parameter></term>
    5988        <listitem>
    6089          <para>Prevent pip from fetching files from the online package
    6190          repository (PyPI). If packages are installed in the correct order,
    62           then it won't need to fetch any files in the first place, but this
    63           option adds some safety in case of user error.</para>
     91          then it won't need to fetch any files in the first place, but these
     92          options add some safety in case of user error.</para>
    6493        </listitem>
    6594      </varlistentry>
    6695
    6796      <varlistentry>
    68         <term><parameter>$PWD</parameter></term>
     97        <term><parameter>--find-links dist</parameter></term>
    6998        <listitem>
    70            <para>Look for files to install in the current working directory.</para>
     99           <para>Search wheel archives from the
     100           <filename class='directory'>dist</filename> directory.</para>
    71101        </listitem>
    72102      </varlistentry>
    73 
    74103    </variablelist>
    75 
    76104  </sect2>
    77105
     
    87115        <seg>
    88116           /usr/lib/python&python-minor;/site-packages/wheel and
    89            /usr/lib/python&python-minor;/site-packages/wheel-&wheel-version;-py&python-minor;.egg-info
     117           /usr/lib/python&python-minor;/site-packages/wheel-&wheel-version;.dist-info
    90118        </seg>
    91119      </seglistitem>
  • packages.ent

    r777f469 r9237700  
    416416<!ENTITY libffi-fin-sbu "1.8 SBU">
    417417
    418 <!ENTITY libpipeline-version "1.5.6">
    419 <!ENTITY libpipeline-size "954 KB">
     418<!ENTITY libpipeline-version "1.5.7">
     419<!ENTITY libpipeline-size "956 KB">
    420420<!ENTITY libpipeline-url "&savannah;/releases/libpipeline/libpipeline-&libpipeline-version;.tar.gz">
    421 <!ENTITY libpipeline-md5 "829c9ba46382b0b3e12dd11fcbc1bb27">
     421<!ENTITY libpipeline-md5 "1a48b5771b9f6c790fb4efdb1ac71342">
    422422<!ENTITY libpipeline-home "https://libpipeline.nongnu.org/">
    423423<!ENTITY libpipeline-fin-du "10 MB">
     
    434434<!ENTITY linux-major-version "6">
    435435<!ENTITY linux-minor-version "0">
    436 <!ENTITY linux-patch-version "7">
     436<!ENTITY linux-patch-version "9">
    437437<!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">-->
    438438<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
    439 <!ENTITY linux-size "130,748 KB">
     439<!ENTITY linux-size "130,776 KB">
    440440<!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz">
    441 <!ENTITY linux-md5 "690e3de421b693bf111ec74a97476ea7">
     441<!ENTITY linux-md5 "3de364bdbacd2115950cc3dd94157ab6">
    442442<!ENTITY linux-home "https://www.kernel.org/">
    443443<!-- measured for 5.13.4 / gcc-11.1.0 on x86_64 : minimum is
     
    473473<!ENTITY make-fin-sbu "0.5 SBU">
    474474
    475 <!ENTITY man-db-version "2.11.0">
    476 <!ENTITY man-db-size "1,879 KB">
     475<!ENTITY man-db-version "2.11.1">
     476<!ENTITY man-db-size "1,904 KB">
    477477<!ENTITY man-db-url "&savannah;/releases/man-db/man-db-&man-db-version;.tar.xz">
    478 <!ENTITY man-db-md5 "ad12e19d4f86d866a3858decf6989746">
     478<!ENTITY man-db-md5 "88caf8efe127453f9dcb2ff9b2983f59">
    479479<!ENTITY man-db-home "https://www.nongnu.org/man-db/">
    480480<!ENTITY man-db-fin-du "40 MB">
     
    513513<!ENTITY mpc-fin-sbu "0.3 SBU">
    514514
    515 <!ENTITY mpfr-version "4.1.0">
    516 <!ENTITY mpfr-size "1,490 KB">
     515<!ENTITY mpfr-version "4.1.1">
     516<!ENTITY mpfr-size "1,400 KB">
    517517<!ENTITY mpfr-url "https://ftp.gnu.org/gnu/mpfr/mpfr-&mpfr-version;.tar.xz">
    518 <!ENTITY mpfr-md5 "bdd3d5efba9c17da8d83a35ec552baef">
     518<!ENTITY mpfr-md5 "d182b62e811f744d149b14540d8e922b">
    519519<!ENTITY mpfr-home "https://www.mpfr.org/">
    520520<!ENTITY mpfr-fin-du "39 MB">
     
    754754<!ENTITY xml-parser-fin-sbu "less than 0.1 SBU">
    755755
    756 <!ENTITY xz-version "5.2.7">
    757 <!ENTITY xz-size "1,253 KB">
     756<!ENTITY xz-version "5.2.8">
     757<!ENTITY xz-size "1,260 KB">
    758758<!ENTITY xz-url "https://tukaani.org/xz/xz-&xz-version;.tar.xz">
    759 <!ENTITY xz-md5 "6c130d21e260d4476e971985e7394e83">
     759<!ENTITY xz-md5 "7cfa6136d984083e7d4da12c8fb083ea">
    760760<!ENTITY xz-home "https://tukaani.org/xz">
    761761<!ENTITY xz-tmp-du "16 MB">
Note: See TracChangeset for help on using the changeset viewer.