Changeset f8ffc3a5


Ignore:
Timestamp:
11/11/2022 04:19:44 PM (18 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/arm64, xry111/arm64-12.0
Children:
1ace465
Parents:
1a77314f (diff), c4fc75e (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:
18 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r1a77314f rf8ffc3a5  
    4040    appropriate for the entry or if needed the entire day's listitem.
    4141    -->
     42    <listitem revision="systemd">
     43      <para>2022-11-10</para>
     44      <itemizedlist>
     45        <listitem>
     46          <para>[bdubbs] - Fix make-4.4 bug. Fixes
     47          <ulink url="&lfs-ticket-root;5160">#5160</ulink>.</para>
     48        </listitem>
     49        <listitem>
     50          <para>[bdubbs] - Update to wheel-0.38.4 (Python Module). Fixes
     51          <ulink url="&lfs-ticket-root;5155">#5155</ulink>.</para>
     52        </listitem>
     53        <listitem>
     54          <para>[bdubbs] - Update to texinfo-7.0. Fixes
     55          <ulink url="&lfs-ticket-root;5159">#5159</ulink>.</para>
     56        </listitem>
     57        <listitem revision="sysv">
     58          <para>[bdubbs] - Update to sysvinit-3.05. Fixes
     59          <ulink url="&lfs-ticket-root;5153">#5153</ulink>.</para>
     60        </listitem>
     61        <listitem>
     62          <para>[bdubbs] - Update to shadow-4.13. Fixes
     63          <ulink url="&lfs-ticket-root;5161">#5161</ulink>.</para>
     64        </listitem>
     65        <listitem>
     66          <para>[bdubbs] - Update to sed-4.9. Fixes
     67          <ulink url="&lfs-ticket-root;5157">#5157</ulink>.</para>
     68        </listitem>
     69        <listitem>
     70          <para>[bdubbs] - Update to meson-0.64.0. Fixes
     71          <ulink url="&lfs-ticket-root;5156">#5156</ulink>.</para>
     72        </listitem>
     73        <listitem>
     74          <para>[bdubbs] - Update to linux-6.0.7. Fixes
     75          <ulink url="&lfs-ticket-root;5154">#5154</ulink>.</para>
     76        </listitem>
     77        <listitem>
     78          <para>[bdubbs] - Update to elfutils-0.188. Fixes
     79          <ulink url="&lfs-ticket-root;5152">#5152</ulink>.</para>
     80        </listitem>
     81        <listitem>
     82          <para>[bdubbs] - Update to bc-6.1.1. Fixes
     83          <ulink url="&lfs-ticket-root;5151">#5151</ulink>.</para>
     84        </listitem>
     85        <listitem>
     86          <para>[bdubbs] - Update to bash-5.2.9. Fixes
     87          <ulink url="&lfs-ticket-root;5158">#5158</ulink>.</para>
     88        </listitem>
     89      </itemizedlist>
     90    </listitem>
     91
     92    <listitem revision="systemd">
     93      <para>2022-11-03</para>
     94      <itemizedlist>
     95        <listitem>
     96          <para>[renodr] - Update to systemd-252. Fixes
     97          <ulink url="&lfs-ticket-root;5150">#5150</ulink>.</para>
     98        </listitem>
     99      </itemizedlist>
     100    </listitem>
     101
    42102    <listitem>
    43103      <para>2022-11-01</para>
  • chapter01/whatsnew.xml

    r1a77314f rf8ffc3a5  
    161161      <para>Libcap-&libcap-version;</para>
    162162    </listitem>
    163     <!--<listitem>
     163    <listitem>
    164164      <para>Libelf-&elfutils-version; (from elfutils)</para>
    165     </listitem>-->
     165    </listitem>
    166166    <listitem>
    167167      <para>Libffi-&libffi-version;</para>
     
    230230      <para>Readline-&readline-version;</para>
    231231    </listitem>
    232     <!--<listitem>
     232    <listitem>
    233233      <para>Sed-&sed-version;</para>
    234     </listitem>-->
     234    </listitem>
    235235    <listitem>
    236236      <para>Shadow-&shadow-version;</para>
     
    239239      <para>Sysklogd-&sysklogd-version;</para>
    240240    </listitem>-->
    241     <!--<listitem revision="systemd">
     241    <listitem revision="systemd">
    242242      <para>Systemd-&systemd-version;</para>
    243     </listitem>-->
    244     <!--<listitem revision="sysv">
     243    </listitem>
     244    <listitem revision="sysv">
    245245      <para>SysVinit-&sysvinit-version;</para>
    246     </listitem>-->
     246    </listitem>
    247247    <!--<listitem>
    248248      <para>Tar-&tar-version;</para>
     
    251251      <para>Tcl-&tcl-version;</para>
    252252    </listitem>-->
    253    <!--<listitem>
     253   <listitem>
    254254      <para>Texinfo-&texinfo-version;</para>
    255     </listitem>-->
     255    </listitem>
    256256    <listitem>
    257257      <para>Tzdata-&tzdata-version;</para>
     
    262262    <listitem>
    263263      <para>Vim-&vim-version;</para>
     264    </listitem>
     265    <listitem>
     266      <para>wheel-&wheel-version;</para>
    264267    </listitem>
    265268    <!--<listitem>
     
    289292    <title>Added:</title>
    290293    <listitem><para></para></listitem>  <!-- satisfy build -->
    291 
     294<!--
    292295    <listitem>
    293296      <para>&bash-fixes-patch;</para>
    294297    </listitem>
     298-->
    295299    <listitem>
    296300      <para>&readline-fixes-patch;</para>
  • chapter03/patches.xml

    r1a77314f rf8ffc3a5  
    2828-->
    2929
    30     <varlistentry>
     30<!--    <varlistentry>
    3131      <term>Bash Upstream Fixes Patch - <token>&bash-fixes-patch-size;</token>:</term>
    3232      <listitem>
     
    3535      </listitem>
    3636    </varlistentry>
    37 
     37-->
    3838<!--
    3939    <varlistentry>
     
    136136    </varlistentry>
    137137
     138<!--
    138139    <varlistentry revision="systemd">
    139140      <term>Systemd Upstream Patch - <token>&systemd-upstream-patch-size;</token>:</term>
     
    143144      </listitem>
    144145    </varlistentry>
     146-->
    145147<!--
    146148    <varlistentry>
  • chapter06/binutils-pass2.xml

    r1a77314f rf8ffc3a5  
    4646    <!-- Don't remove this until Binutils upstream updates the libtool
    4747         copy.  On some host distros the issue doesn't show up.  -->
    48     <para>Binutils ships an outdated libtool copy in the tarball.  It lacks
    49     sysroot support so the produced binaries will be mistakenly linked to
    50     libraries from the host distro.  Workaround this issue:</para>
     48    <para>Binutils ships an outdated copy of libtool in the tarball.  It lacks
     49    sysroot support, so the produced binaries will be mistakenly linked to
     50    libraries from the host distro.  Work around this issue:</para>
    5151
    5252<screen><userinput remap="pre">sed '6009s/$add_dir//' -i ltmain.sh</userinput></screen>
     
    8484        <term><parameter>--enable-64-bit-bfd</parameter></term>
    8585        <listitem>
    86           <para>Enables 64-bit support (on hosts with narrower word sizes).
    87           May not be needed on 64-bit systems, but does no harm.</para>
     86          <para>Enables 64-bit support (on hosts with smaller word sizes).
     87          This may not be needed on 64-bit systems, but it does no harm.</para>
    8888        </listitem>
    8989      </varlistentry>
  • chapter06/file.xml

    r1a77314f rf8ffc3a5  
    4646    <para>
    4747       The <command>file</command> command on the build host needs
    48        to be same version as the one we are building in order to
    49        create the signature file. Run the following commands to build it:
     48       to be the same version as the one we are building in order to
     49       create the signature file. Run the following commands to make a
     50       temporary copy of the <command>file</command> command:
    5051    </para>
    5152
  • chapter06/gcc-pass2.xml

    r1a77314f rf8ffc3a5  
    4949-->
    5050    <para>As in the first build of GCC, the GMP, MPFR, and MPC packages are
    51     required. Unpack the tarballs and move them into the required directory
    52     names:</para>
     51    required. Unpack the tarballs and move them into the required directories:</para>
    5352
    5453<screen><userinput remap="pre">tar -xf ../mpfr-&mpfr-version;.tar.xz
     
    109108          a cross-compiler is used for building GCC, and that compiler knows
    110109          that it has to look for headers and libraries in <filename
    111           class="directory">$LFS</filename>. But the build system of GCC uses
     110          class="directory">$LFS</filename>. But the build system for GCC uses
    112111          other tools, which are not aware of this location. This switch is
    113           needed to have them find the needed files in <filename
     112          needed so those tools will find the needed files in <filename
    114113          class="directory">$LFS</filename>, and not on the host.</para>
    115114        </listitem>
     
    119118        <term><parameter>--target=$LFS_TGT</parameter></term>
    120119        <listitem>
    121           <para>As we are cross-compiling GCC, it's impossible to build
     120          <para>We are cross-compiling GCC, so it's impossible to build
    122121          target libraries (<filename class="libraryfile">libgcc</filename>
    123122          and <filename class="libraryfile">libstdc++</filename>) with the
    124           compiled GCC binaries because these binaries won't run on the
    125           host distro.  GCC building system will attempt to use the
    126           C and C++ compilers on the host distro as a workaround by default.
    127           It's not supported to build GCC target libraries with a different
    128           version of GCC, so using host compilers may cause building
    129           failure.  This parameter ensures to build the libraries with GCC
    130           pass 1 and prevent the issue.</para>
     123          previously compiled GCC binaries&mdash;those binaries won't run on the
     124          host.  The GCC build system will attempt to use the host's
     125          C and C++ compilers as a workaround by default.
     126          Building the GCC target libraries with a different
     127          version of GCC is not supported, so using the host's compilers may cause
     128          the build to fail. This parameter ensures the libraries are built by GCC
     129          pass 1.</para>
    131130        </listitem>
    132131      </varlistentry>
     
    136135        <listitem>
    137136          <para>Allow <filename class="libraryfile">libstdc++</filename> to
    138           use shared <filename class="libraryfile">libgcc</filename> being
    139           built in this pass, instead of the static version built in GCC
    140           pass 1. This is needed for supporting C++ exception
     137          use the shared <filename class="libraryfile">libgcc</filename> being
     138          built in this pass, instead of the static version that was built in GCC
     139          pass 1. This is necessary to support C++ exception
    141140          handling.</para>
    142141        </listitem>
  • chapter06/introduction.xml

    r1a77314f rf8ffc3a5  
    1717  linking.</para>
    1818
    19   <para>Using the utilities will be possible in next chapter after entering
     19  <para>Using the utilities will be possible in the next chapter after entering
    2020  the <quote>chroot</quote> environment. But all the packages built in the
    2121  present chapter need to be built before we do that. Therefore we cannot be
  • chapter06/make.xml

    r1a77314f rf8ffc3a5  
    4343    <title>Installation of Make</title>
    4444
     45    <para>First, fix an issue identified upstream:</para>
     46
     47<screen><userinput remap="pre">sed -e '/ifdef SIGPIPE/,+2 d' \
     48    -e '/undef  FATAL_SIG/i FATAL_SIG (SIGPIPE);' \
     49    -i src/main.c</userinput></screen>
     50
    4551    <para>Prepare Make for compilation:</para>
    4652
  • chapter06/ncurses.xml

    r1a77314f rf8ffc3a5  
    120120        <listitem>
    121121          <para>This ensures that Ncurses does not build support for the Ada
    122           compiler which may be present on the host but will not be available
     122          compiler, which may be present on the host but will not be available
    123123          once we enter the <command>chroot</command> environment.</para>
    124124        </listitem>
     
    128128        <term><parameter>--disable-stripping</parameter></term>
    129129        <listitem>
    130           <para>This switch prevents the building system from stripping
    131           the programs using <command>strip</command> program from the host.
    132           Using host tools on cross-compiled program can cause failure.</para>
     130          <para>This switch prevents the building system from
     131          using the <command>strip</command> program from the host.
     132          Using host tools on cross-compiled programs can cause failure.</para>
    133133        </listitem>
    134134      </varlistentry>
     
    170170        <term><parameter>TIC_PATH=$(pwd)/build/progs/tic</parameter></term>
    171171        <listitem>
    172           <para>We need to pass the path of the just built
    173           <command>tic</command> able to run on the building machine, so that
     172          <para>We need to pass the path of the newly built
     173          <command>tic</command> program that runs on the building machine, so
    174174          the terminal database can be created without errors.</para>
    175175        </listitem>
  • chapter08/bash.xml

    r1a77314f rf8ffc3a5  
    4040  <sect2 role="installation">
    4141    <title>Installation of Bash</title>
    42 
    43     <para>First, fix some issues identified upstream:</para>
    44 
    45 <screen><userinput remap="pre">patch -Np1 -i ../&bash-fixes-patch;</userinput></screen>
    4642
    4743    <para>Prepare Bash for compilation:</para>
  • chapter08/grub.xml

    r1a77314f rf8ffc3a5  
    6262    </note>
    6363
     64    <warning>
     65      <para>Unset any environment variables which may affect the build:</para>
     66
     67      <screen><userinput remap='pre'>unset {C,CPP,CXX,LD}FLAGS</userinput></screen>
     68
     69      <para>Don't try <quote>tuning</quote> this package with custom
     70      compilation flags: this package is a bootloader, with low-level
     71      operations in the source code which is likely to be broken by some
     72      aggressive optimizations.</para>
     73    </warning>
     74
    6475    <para>Prepare GRUB for compilation:</para>
    6576
  • chapter08/make.xml

    r1a77314f rf8ffc3a5  
    4141  <sect2 role="installation">
    4242    <title>Installation of Make</title>
    43 <!--
    44     <para>Again, work around an error caused by glibc-2.27 and later:</para>
    4543
    46 <screen><userinput remap="pre">sed -i '211,217 d; 219,229 d; 232 d' glob/glob.c</userinput></screen>
    47 -->
     44    <para>First, fix some issues identified upstream:</para>
     45
     46<screen><userinput remap="pre">sed -e '/ifdef SIGPIPE/,+2 d' \
     47    -e '/undef  FATAL_SIG/i FATAL_SIG (SIGPIPE);' \
     48    -i src/main.c</userinput></screen>
     49
    4850    <para>Prepare Make for compilation:</para>
    4951
  • chapter08/systemd.xml

    r1a77314f rf8ffc3a5  
    4141    <title>Installation of systemd</title>
    4242
     43<!--
    4344    <para>First, fix an issue introduced by glibc-2.36.</para>
    4445
    4546<screen><userinput remap="pre">patch -Np1 -i ../&systemd-upstream-patch;</userinput></screen>
     47-->
    4648
    4749    <para>Remove two unneeded groups,
     
    197199<screen><userinput remap="adjust">systemctl preset-all</userinput></screen>
    198200
    199     <para>Disable a service for upgrading binary distros.  It's useless for
    200     a basic Linux system built from source, and it will report an error if
     201    <para>Disable two services for upgrading binary distros.  They are useless for
     202    a basic Linux system built from source, and both will report an error if
    201203    it's enabled but not configured:</para>
    202204
    203 <screen><userinput remap="adjust">systemctl disable systemd-sysupdate</userinput></screen>
     205<screen><userinput remap="adjust">systemctl disable systemd-sysupdate{,-reboot}</userinput></screen>
    204206
    205207<!-- dev: 50-pid-max.conf is not removed in BLFS, so I commented the following out.
  • general.ent

    r1a77314f rf8ffc3a5  
    119119<!ENTITY savannah-nongnu "https://savannah.nongnu.org">
    120120<!ENTITY github          "https://github.com">
     121<!ENTITY pypi-home       "https://pypi.org/project">
     122<!ENTITY pypi-src        "https://pypi.org/packages/source">
    121123
    122124<!ENTITY root            "<systemitem class='username'>root</systemitem>">
  • packages.ent

    r1a77314f rf8ffc3a5  
    4949<!ENTITY automake-fin-sbu "less than 0.1 SBU (about 7.7 SBU with tests)">
    5050
    51 <!ENTITY bash-version "5.2">
     51<!ENTITY bash-version "5.2.9">
    5252<!ENTITY bash-size "10,695 KB">
    5353<!ENTITY bash-url "&gnu;bash/bash-&bash-version;.tar.gz">
    54 <!ENTITY bash-md5 "cfb4cf795fc239667f187b3d6b3d396f">
     54<!ENTITY bash-md5 "0d8a4e4fe2d31ed5c304316bd9fcb337">
    5555<!ENTITY bash-home "&gnu-software;bash/">
    5656<!ENTITY bash-tmp-du "64 MB">
     
    5959<!ENTITY bash-fin-sbu "1.4 SBU">
    6060
    61 <!ENTITY bc-version "6.0.4">
    62 <!ENTITY bc-size "442 KB">
     61<!ENTITY bc-version "6.1.1">
     62<!ENTITY bc-size "445 KB">
    6363<!ENTITY bc-url "https://github.com/gavinhoward/bc/releases/download/&bc-version;/bc-&bc-version;.tar.xz">
    64 <!ENTITY bc-md5 "1e1c90de1a11f3499237425de1673ef1">
     64<!ENTITY bc-md5 "9a7ffa015c499272e7d41b4c0f28e691">
    6565<!ENTITY bc-home "https://git.yzena.com/gavin/bc">
    6666<!ENTITY bc-fin-du "7.4 MB">
     
    149149<!ENTITY e2fsprogs-fin-sbu "4.4 SBU on a spinning disk, 1.2 SBU on an SSD">
    150150
    151 <!ENTITY elfutils-version "0.187"> <!-- libelf -->
    152 <!ENTITY elfutils-size "9,024 KB">
     151<!ENTITY elfutils-version "0.188"> <!-- libelf -->
     152<!ENTITY elfutils-size "8,900 KB">
    153153<!ENTITY elfutils-url "https://sourceware.org/ftp/elfutils/&elfutils-version;/elfutils-&elfutils-version;.tar.bz2">
    154 <!ENTITY elfutils-md5 "cc04f07b53a71616b22553c0a458cf4b">
     154<!ENTITY elfutils-md5 "efb25a91873b2eec4df9f31e6a4f4e5c">
    155155<!ENTITY elfutils-home "https://sourceware.org/elfutils/">
    156156<!ENTITY elfutils-fin-du "117 MB">
     
    425425<!ENTITY linux-major-version "6">
    426426<!ENTITY linux-minor-version "0">
    427 <!ENTITY linux-patch-version "6">
     427<!ENTITY linux-patch-version "7">
    428428<!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">-->
    429429<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
    430 <!ENTITY linux-size "130,766 KB">
     430<!ENTITY linux-size "130,748 KB">
    431431<!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz">
    432 <!ENTITY linux-md5 "4e01a82c673ea0fb85f751672f99dc96">
     432<!ENTITY linux-md5 "690e3de421b693bf111ec74a97476ea7">
    433433<!ENTITY linux-home "https://www.kernel.org/">
    434434<!-- measured for 5.13.4 / gcc-11.1.0 on x86_64 : minimum is
     
    488488<!ENTITY markupsafe-fin-sbu "less than 0.1 SBU">
    489489
    490 <!ENTITY meson-version "0.63.3">
    491 <!ENTITY meson-size "2,020 KB">
     490<!ENTITY meson-version "0.64.0">
     491<!ENTITY meson-size "2,042 KB">
    492492<!ENTITY meson-url "&github;/mesonbuild/meson/releases/download/&meson-version;/meson-&meson-version;.tar.gz">
    493 <!ENTITY meson-md5 "b2f2757b5dd84cc754b9df53ce37a175">
     493<!ENTITY meson-md5 "63a3d83206e7e277fce4b90e8ad8003a">
    494494<!ENTITY meson-home "https://mesonbuild.com">
    495495<!ENTITY meson-fin-du "38 MB">
     
    612612<!ENTITY readline-fin-sbu "0.1 SBU">
    613613
    614 <!ENTITY sed-version "4.8">
    615 <!ENTITY sed-size "1,317 KB">
     614<!ENTITY sed-version "4.9">
     615<!ENTITY sed-size "1,365 KB">
    616616<!ENTITY sed-url "&gnu;sed/sed-&sed-version;.tar.xz">
    617 <!ENTITY sed-md5 "6d906edfdb3202304059233f51f9a71d">
     617<!ENTITY sed-md5 "6aac9b2dbafcd5b7a67a8a9bcb8036c3">
    618618<!ENTITY sed-home "&gnu-software;sed/">
    619619<!ENTITY sed-tmp-du "20 MB">
     
    622622<!ENTITY sed-fin-sbu "0.4 SBU">
    623623
    624 <!ENTITY shadow-version "4.12.3">
    625 <!ENTITY shadow-size "1,707 KB">
     624<!ENTITY shadow-version "4.13">
     625<!ENTITY shadow-size "1,722 KB">
    626626<!ENTITY shadow-url "&github;/shadow-maint/shadow/releases/download/&shadow-version;/shadow-&shadow-version;.tar.xz">
    627 <!ENTITY shadow-md5 "710bcc89c39683609aacfef9f08bd854">
     627<!ENTITY shadow-md5 "b1ab01b5462ddcf43588374d57bec123">
    628628<!ENTITY shadow-home "https://shadow-maint.github.io/shadow/">
    629629<!ENTITY shadow-fin-du "46 MB">
     
    638638<!ENTITY sysklogd-fin-sbu "less than 0.1 SBU">
    639639
    640 <!ENTITY systemd-version  "251">
     640<!ENTITY systemd-version  "252">
    641641<!--<!ENTITY systemd-stable   "6b4878d">-->
    642642<!-- The above entity is used whenever we move to a stable backport branch. In the event of a critical problem or kernel
    643643     change that is incompatible, we will switch to the backport branch until the next stable release. -->
    644 <!ENTITY systemd-size     "11,168 KB">
     644<!ENTITY systemd-size     "11,488 KB">
    645645<!ENTITY systemd-url      "&github;/systemd/systemd/archive/v&systemd-version;/systemd-&systemd-version;.tar.gz">
    646646<!--<!ENTITY systemd-url      "&anduin-sources;/systemd-&systemd-version;-&systemd-stable;.tar.xz">-->
    647 <!ENTITY systemd-md5      "8090fcccc3a2ec20995e89d56fed61b1">
     647<!ENTITY systemd-md5      "b9456750a212dd54d81caeb3c38134b6">
    648648<!ENTITY systemd-home     "https://www.freedesktop.org/wiki/Software/systemd/">
    649 <!ENTITY systemd-man-version "251">
    650 <!ENTITY systemd-man-size "596 KB">
     649<!ENTITY systemd-man-version "252">
     650<!ENTITY systemd-man-size "628 KB">
    651651<!--<!ENTITY systemd-man-url  "&anduin-sources;/systemd-man-pages-&systemd-version;-&systemd-stable;.tar.xz">-->
    652652<!ENTITY systemd-man-url  "&anduin-sources;/systemd-man-pages-&systemd-man-version;.tar.xz">
    653 <!ENTITY systemd-man-md5  "87053ffef1cfb74e4fe28f627e12a2a4">
    654 <!ENTITY systemd-fin-du   "251 MB">
    655 <!ENTITY systemd-fin-sbu  "2.3 SBU">
    656 
    657 <!ENTITY sysvinit-version "3.04">
    658 <!ENTITY sysvinit-size "216 KB">
    659 <!ENTITY sysvinit-url "&savannah;/releases/sysvinit/sysvinit-&sysvinit-version;.tar.xz">
    660 <!ENTITY sysvinit-md5 "9a00e5f15dd2f038f10feee50677ebff">
     653<!ENTITY systemd-man-md5  "856ffb33ac16962f0628dcb533d76e5c">
     654<!ENTITY systemd-fin-du   "258 MB">
     655<!ENTITY systemd-fin-sbu  "2.5 SBU">
     656
     657<!ENTITY sysvinit-version "3.05">
     658<!ENTITY sysvinit-size "229 KB">
     659<!ENTITY sysvinit-url "&github;/slicer69/sysvinit/releases/download/&sysvinit-version;/sysvinit-&sysvinit-version;.tar.xz">
     660<!ENTITY sysvinit-md5 "57577060e5f21fd9899fa601aa45b064">
    661661<!ENTITY sysvinit-home "&savannah-nongnu;/projects/sysvinit">
    662662<!ENTITY sysvinit-fin-du "2.7 MB">
     
    685685<!ENTITY tcl-tmp-sbu "3.2 SBU">
    686686
    687 <!ENTITY texinfo-version "6.8">
    688 <!ENTITY texinfo-size "4,848 KB">
     687<!ENTITY texinfo-version "7.0">
     688<!ENTITY texinfo-size "4,786 KB">
    689689<!ENTITY texinfo-url "&gnu;texinfo/texinfo-&texinfo-version;.tar.xz">
    690 <!ENTITY texinfo-md5 "a91b404e30561a5df803e6eb3a53be71">
     690<!ENTITY texinfo-md5 "c9bda68c809e3afe67f1fbcd7c3d9fd3">
    691691<!ENTITY texinfo-home "&gnu-software;texinfo/">
    692692<!ENTITY texinfo-tmp-du "113 MB">
     
    729729<!ENTITY vim-fin-sbu "2.5 SBU">
    730730
    731 <!-- From https://files.pythonhosted.org/packages/c0/6c/9f840c2e55b67b90745af06a540964b73589256cb10cc10057c87ac78fc2/wheel-0.37.1.tar.gz -->
    732 <!ENTITY wheel-version "0.37.1">
    733 <!ENTITY wheel-size "65 KB">
    734 <!ENTITY wheel-url "&anduin-sources;/wheel-&wheel-version;.tar.gz">
    735 <!ENTITY wheel-md5 "f490f1399e5903706cb1d4fbed9ecb28">
    736 <!ENTITY wheel-home "https://pypi.org/project/wheel/">
     731<!ENTITY wheel-version "0.38.4">
     732<!ENTITY wheel-size "66 KB">
     733<!ENTITY wheel-url "&pypi-src;/w/wheel/wheel-&wheel-version;.tar.gz">
     734<!ENTITY wheel-md5 "83bb4e7bd4d687d398733f341a64ab91">
     735<!ENTITY wheel-home "&pypi-home;/wheel/">
    737736<!ENTITY wheel-fin-du "956 KB">
    738737<!ENTITY wheel-fin-sbu "less than 0.1 SBU">
  • part3intro/toolchaintechnotes.xml

    r1a77314f rf8ffc3a5  
    202202    <envar>LFS_TGT</envar> variable so it says &quot;lfs&quot;. We also use the
    203203    <parameter>--with-sysroot</parameter> option when building the cross-linker and
    204     cross-compiler to tell them where to find the needed host files. This
     204    cross-compiler, to tell them where to find the needed host files. This
    205205    ensures that none of the other programs built in <xref
    206206    linkend="chapter-temporary-tools"/> can link to libraries on the build
     
    239239    lfs</quote> means the commands are run in a chrooted environment.</para>
    240240
    241     <para>Now, there is more about cross-compiling: the C language is not
    242     just a compiler, but also defines a standard library. In this book, the
     241    <para>This is not yet the end of the story. The C language is not
     242    merely a compiler; it also defines a standard library. In this book, the
    243243    GNU C library, named glibc, is used (there is an alternative, &quot;musl&quot;). This library must
    244244    be compiled for the LFS machine; that is, using the cross-compiler cc1.
     
    257257    build a fully functional libstdc++ with the degraded libgcc, but cc1
    258258    is the only compiler available for building the C/C++ libraries
    259     during stage 2. Of course, the compiler built by stage 2, cc-lfs,
    260     would be able to build those libraries, but:</para>
     259    during stage 2. There are two reasons we don't immediately use the
     260    compiler built in stage 2, cc-lfs, to build those libraries.</para>
    261261
    262262    <itemizedlist>
    263263      <listitem>
    264264        <para>
    265           Generally cc-lfs cannot run on pc (the host distro).  Despite the
    266           triplets of pc and lfs are compatible to each other, an executable
    267           for lfs will depend on glibc-&glibc-version; while the host distro
    268           may utilize a different libc implementation (for example, musl) or
     265          Generally speaking, cc-lfs cannot run on pc (the host system).  Even though the
     266          triplets for pc and lfs are compatible with each other, an executable
     267          for lfs must depend on glibc-&glibc-version;; the host distro
     268          may utilize either a different implementation of libc (for example, musl), or
    269269          a previous release of glibc (for example, glibc-2.13).
    270270        </para>
     
    272272      <listitem>
    273273        <para>
    274           Even if cc-lfs happens to run on pc, using it on pc would create
     274          Even if cc-lfs can run on pc, using it on pc would create
    275275          a risk of linking to the pc libraries, since cc-lfs is a native
    276276          compiler.
     
    280280
    281281    <para>So when we build gcc stage 2, we instruct the building system to
    282     rebuild libgcc and libstdc++ with cc1, but link libstdc++ to the newly
    283     rebuilt libgcc instead of the degraded build.  Then the rebuilt
    284     libstdc++ will be fully functional.</para>
     282    rebuild libgcc and libstdc++ with cc1, but we link libstdc++ to the newly
     283    rebuilt libgcc instead of the old, degraded build.  This makes the rebuilt
     284    libstdc++ fully functional.</para>
    285285
    286286    <para>In &ch-final; (or <quote>stage 3</quote>), all the packages needed for
    287287    the LFS system are built. Even if a package has already been installed into
    288288    the LFS system in a previous chapter, we still rebuild the package.  The main reason for
    289     rebuilding these packages is to make them stable: if we reinstall a LFS
    290     package on a complete LFS system, the installed content of the package
    291     should be the same as the content of the same package when installed in
     289    rebuilding these packages is to make them stable: if we reinstall an LFS
     290    package on a completed LFS system, the reinstalled content of the package
     291    should be the same as the content of the same package when first installed in
    292292    &ch-final;.  The temporary packages installed in &ch-tmp-cross; or
    293293    &ch-tmp-chroot; cannot satisfy this requirement, because some of them
  • patches.ent

    r1a77314f rf8ffc3a5  
    88<!ENTITY autoconf-fixes-patch-size "3.8 KB">
    99-->
    10 
     10<!--
    1111<!ENTITY bash-fixes-patch "bash-&bash-version;-upstream_fixes-1.patch">
    1212<!ENTITY bash-fixes-patch-md5 "5f20760139d6a97e55124988fcddae44">
    1313<!ENTITY bash-fixes-patch-size "2.0 KB">
    14 
     14-->
    1515<!--
    1616<!ENTITY binutils-lto-patch "binutils-&binutils-version;-lto_fix-1.patch">
     
    8989-->
    9090<!ENTITY sysvinit-consolidated-patch "sysvinit-&sysvinit-version;-consolidated-1.patch">
    91 <!ENTITY sysvinit-consolidated-patch-md5 "4900322141d493e74020c9cf437b2cdc">
     91<!ENTITY sysvinit-consolidated-patch-md5 "372d367918134f2f41daf54f2acf280a">
    9292<!ENTITY sysvinit-consolidated-patch-size "2.4 KB">
    9393
     94<!--
    9495<!ENTITY systemd-upstream-patch "systemd-&systemd-version;-glibc_2.36_fix-1.patch">
    9596<!ENTITY systemd-upstream-patch-md5 "fd8dc901e73ad00dc72a351a0d4ac48c">
    9697<!ENTITY systemd-upstream-patch-size "3.0 KB">
     98-->
    9799<!--
    98100<!ENTITY xz-upstream-fix-patch "xz-&xz-version;-upstream_fix-1.patch">
  • stylesheets/lfs-xsl/lfs-l10n.xml

    r1a77314f rf8ffc3a5  
    100100  </l:l10n>
    101101
     102  <!-- Simplified Chinese -->
     103  <l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"
     104          language="zh_cn" english-language-name="Simplified Chinese">
     105
     106    <l:gentext key="description" text="描述"/>
     107    <l:gentext key="Bootscripts" text="引导脚本"/>
     108    <l:gentext key="Configuration Files" text="配置文件"/>
     109    <l:gentext key="Kernel Configuration" text="内核配置"/>
     110    <l:gentext key="Libraries" text="库"/>
     111    <l:gentext key="Others" text="其他"/>
     112    <l:gentext key="Packages" text="软件包"/>
     113    <l:gentext key="Programs" text="程序"/>
     114    <l:gentext key="Scripts" text="脚本"/>
     115
     116    <l:context name="title-numbered">
     117      <l:template name="part" text="第 %n 部分 %t"/>
     118    </l:context>
     119
     120    <l:gentext key="Copyright" text="版权所有"/>
     121
     122  </l:l10n>
     123
    102124</l:i18n>
Note: See TracChangeset for help on using the changeset viewer.