Changeset 73d91ac for chapter06


Ignore:
Timestamp:
12/05/2023 05:12:55 AM (9 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/arm64
Children:
00de269
Parents:
6b6a1b9 (diff), dc8572f (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

Location:
chapter06
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter06/binutils-pass2.xml

    r6b6a1b9 r73d91ac  
    4444    <title>Installation of Binutils</title>
    4545
    46     <!-- Don't remove this until Binutils upstream updates the libtool
    47          copy.  On some host distros the issue doesn't show up.  -->
    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>
     46    <!-- Don't remove this until Binutils upstream resolves this issue.
     47         We can test by building Binutils on a complete system with
     48         zlib (libz.so) installed, passing enable-shared and
     49         without-system-zlib.  If the resulted libctf.so still links against
     50         libz.so (check with readelf -d) despite we are saying
     51         without-system-zlib, then the issue is still unresolved.  -->
     52    <para>Binutils building system relies on an shipped libtool copy to link against
     53    internal static libraries, but the libiberty and zlib copies shipped
     54    in the package do not use libtool.  This inconsistency may cause
     55    produced binaries mistakenly linked against libraries from the host
     56    distro.  Work around this issue:</para>
    5157
    5258<screen><userinput remap="pre">sed '6009s/$add_dir//' -i ltmain.sh</userinput></screen>
  • chapter06/coreutils.xml

    r6b6a1b9 r73d91ac  
    4444    <title>Installation of Coreutils</title>
    4545
    46 <!--
    47 <screen><userinput remap="configure">export gl_cv_macro_MB_CUR_MAX_good=y</userinput></screen>
    48 -->
    4946    <para>Prepare Coreutils for compilation:</para>
    5047
     
    5350            --build=$(build-aux/config.guess) \
    5451            --enable-install-program=hostname \
    55             --enable-no-install-program=kill,uptime \
    56             gl_cv_macro_MB_CUR_MAX_good=y</userinput></screen>
     52            --enable-no-install-program=kill,uptime</userinput></screen>
    5753
    5854    <variablelist>
     
    6864      </varlistentry>
    6965
    70       <varlistentry>
    71         <term><envar>gl_cv_macro_MB_CUR_MAX_good=y</envar></term>
    72         <listitem>
    73           <para>This is needed to work around an issue in the gnulib copy
    74           shipped by the package which would break cross compilation.</para>
    75         </listitem>
    76       </varlistentry>
    7766    </variablelist>
    7867
  • chapter06/ncurses.xml

    r6b6a1b9 r73d91ac  
    7979        <term><parameter>--with-manpage-format=normal</parameter></term>
    8080        <listitem>
    81           <para>This prevents Ncurses installing compressed manual
     81          <para>This prevents Ncurses from installing compressed manual
    8282          pages, which may happen if the host distribution itself
    8383          has compressed manual pages.</para>
     
    9595        <term><parameter>--without-normal</parameter></term>
    9696        <listitem>
    97           <para>This prevents Ncurses building and installing static C
     97          <para>This prevents Ncurses from building and installing static C
    9898          libraries.</para>
    9999        </listitem>
     
    103103        <term><parameter>--without-debug</parameter></term>
    104104        <listitem>
    105           <para>This prevents Ncurses building and installing debug
     105          <para>This prevents Ncurses from building and installing debug
    106106          libraries.</para>
    107107        </listitem>
Note: See TracChangeset for help on using the changeset viewer.