Ignore:
Timestamp:
10/31/2022 06:58:31 AM (23 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/arm64, xry111/arm64-12.0
Children:
6586901
Parents:
ad85e5b (diff), 61f8251 (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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/glibc.xml

    rad85e5b r9974e9b  
    4444    <title>Installation of Glibc</title>
    4545
    46     <para>Some of the Glibc programs use the non-FHS compliant
     46    <para>Some of the Glibc programs use the non-FHS-compliant
    4747    <filename class="directory">/var/db</filename> directory to store their
    4848    runtime data. Apply the following patch to make such programs store their
     
    108108        <listitem>
    109109          <para>This ensures that the library is installed in /usr/lib instead
    110           of the default /lib64 on 64 bit machines.</para>
     110          of the default /lib64 on 64-bit machines.</para>
    111111        </listitem>
    112112      </varlistentry>
     
    126126    <para>The missing or incompatible <command>msgfmt</command> program is
    127127    generally harmless. This <command>msgfmt</command> program is part of the
    128     Gettext package which the host distribution should provide.</para>
     128    Gettext package, which the host distribution should provide.</para>
    129129
    130130    <note><para>There have been reports that this package may fail when
    131     building as a "parallel make".  If this occurs, rerun the make command
    132     with a "-j1" option.</para></note>
     131    building as a "parallel make".  If that occurs, rerun the make command
     132    with the "-j1" option.</para></note>
    133133
    134134    <para>Compile the package:</para>
     
    141141    recommendations, you are building as
    142142    <systemitem class="username">root</systemitem>, the next command will
    143     install the newly built glibc to your host system, which most likely
    144     will render it unusable. So double check that the environment is
    145     correctly set, before running the following command.</para></warning>
     143    install the newly built Glibc to your host system, which will almost
     144    certainly render it unusable. So double-check that the environment is
     145    correctly set, and that you are not &root;, before running the following command.</para></warning>
    146146
    147147<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
     
    157157          installed. If it is not set, it defaults to the root (<filename
    158158          class="directory">/</filename>) directory. Here we specify that
    159           the package be installed in <filename class="directory">$LFS
    160           </filename>, which will become the root after <xref linkend=
     159          the package is installed in <filename class="directory">$LFS
     160          </filename>, which will become the root directory in <xref linkend=
    161161          "ch-tools-chroot"/>.</para>
    162162        </listitem>
     
    165165    </variablelist>
    166166
    167     <para>Fix hardcoded path to the executable loader in
     167    <para>Fix a hard coded path to the executable loader in the
    168168    <command>ldd</command> script:</para>
    169169
     
    186186          <filename>/lib/ld-linux-aarch64_be.so.1</filename>.</para>
    187187
    188       <para>If the output is not shown as above or there was no output at all,
     188      <para>If the output is not as shown above, or there is no output at all,
    189189      then something is wrong. Investigate and retrace the steps to find out
    190190      where the problem is and correct it. This issue must be resolved before
    191       continuing on.</para>
     191      continuing.</para>
    192192
    193193      <para>Once all is well, clean up the test file:</para>
     
    197197    </caution>
    198198
    199     <note><para>Building packages in the next chapter will serve as an
     199    <note><para>Building the packages in the next chapter will serve as an
    200200    additional check that the toolchain has been built properly. If some
    201     package, especially binutils-pass2 or gcc-pass2, fails to build, it is
     201    package, especially Binutils-pass2 or GCC-pass2, fails to build, it is
    202202    an indication that something has gone wrong with the
    203     previous Binutils, GCC, or Glibc installations.</para></note>
     203    preceding Binutils, GCC, or Glibc installations.</para></note>
    204204
    205205    <para>Now that our cross-toolchain is complete, finalize the installation
    206     of the limits.h header. For doing so, run a utility provided by the GCC
     206    of the limits.h header. To do this, run a utility provided by the GCC
    207207    developers:</para>
    208208
Note: See TracChangeset for help on using the changeset viewer.