Changeset 45d1335 for chapter08


Ignore:
Timestamp:
05/14/2023 11:38:32 AM (14 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/arm64, xry111/arm64-12.0
Children:
6feda35
Parents:
c2596a4 (diff), 384d643f (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:
chapter08
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • chapter08/coreutils.xml

    rc2596a4 r45d1335  
    5555
    5656    <!-- https://bugs.gnu.org/62403 -->
     57<!--
    5758    <para>Fix a bug in checksum utilities causing failed checks not
    5859    reported correctly:</para>
    5960
    6061<screen><userinput remap="pre">sed '/if ( ! match/s/ed_checksums//' -i src/digest.c</userinput></screen>
    61 
     62-->
    6263    <para>Now prepare Coreutils for compilation:</para>
    6364
  • chapter08/findutils.xml

    rc2596a4 r45d1335  
    4848    <para>Prepare Findutils for compilation:</para>
    4949
    50 <screen><userinput remap="configure">./configure --prefix=/usr --localstatedir=/var/lib/locate</userinput></screen>
     50<!-- no longer needed with gcc13
     51<screen><userinput remap="configure">case $(uname -m) in
     52    i?86)   TIME_T_32_BIT_OK=yes ./configure - -prefix=/usr - -localstatedir=/var/lib/locate ;;
     53    x86_64) ./configure - -prefix=/usr - -localstatedir=/var/lib/locate ;;
     54esac</userinput></screen>
     55-->
     56    <screen><userinput remap="configure">./configure --prefix=/usr --localstatedir=/var/lib/locate</userinput></screen>
    5157
    5258    <variablelist>
    5359      <title>The meaning of the configure options:</title>
    54 
     60<!--
     61      <varlistentry>
     62        <term><command>TIME_32_BIT_OK=yes</command></term>
     63        <listitem>
     64          <para>This setting is needed for building on a 32 bit system.</para>
     65        </listitem>
     66      </varlistentry>
     67-->
    5568      <varlistentry>
    5669        <term><parameter>--localstatedir</parameter></term>
  • chapter08/gcc.xml

    rc2596a4 r45d1335  
    7575             --disable-multilib       \
    7676             --disable-bootstrap      \
     77             --disable-fixincludes    \
    7778             --with-system-zlib</userinput></screen>
    7879
     
    9192          by the Binutils package built earlier in this chapter, rather than
    9293          the cross-built version which would otherwise be used.</para>
     94        </listitem>
     95      </varlistentry>
     96
     97      <varlistentry>
     98        <term><parameter>--disable-fixincludes</parameter></term>
     99        <listitem>
     100          <para>By default, during the installation of GCC some system
     101          headers would be <quote>fixed</quote> to be used with GCC.  This
     102          is not necessary for a modern Linux system, and potentionally
     103          harmful if a package is reinstalled after installing GCC.  This
     104          switch prevents GCC from <quote>fixing</quote> the headers.</para>
    93105        </listitem>
    94106      </varlistentry>
     
    157169    <ulink url="https://gcc.gnu.org/ml/gcc-testresults/"/>.</para>
    158170
     171    <para>
     172    <!-- https://gcc.gnu.org/PR106375 and https://gcc.gnu.org/PR109353 -->
     173    Two tests named <filename>copy.cc</filename> and
     174    <filename>pr56837.c</filename> are known to fail.
     175    </para>
     176
    159177    <para>In gcc tests, the tests related to
    160178    <filename>fuse_adrp_add_1.c</filename>,
     
    183201    the <parameter>--enable-default-ssp</parameter> option.</para>
    184202
    185     <para>In g++, four tests related to PR100400 are known to be reported
    186     as both XPASS and FAIL.  It's because the test file for this known issue
    187     is not well written.</para>
    188 
    189203    <!-- Already known via gcc-testresults@gcc.gnu.org -->
    190204    <para>On ARM64,
     
    368382
    369383        <seg>libasan.{a,so}, libatomic.{a,so}, libcc1.so, libgcc.a, libgcc_eh.a,
    370         libgcc_s.so, libgcov.a, libgomp.{a,so}, libitm.{a,so},
     384        libgcc_s.so, libgcov.a, libgomp.{a,so}, libhwasan.{a,so}, libitm.{a,so},
    371385        liblsan.{a,so}, liblto_plugin.so,
    372386        libquadmath.{a,so}, libssp.{a,so}, libssp_nonshared.a,
    373         libstdc++.{a,so}, libstdc++fs.a, libsupc++.a, libtsan.{a,so},
     387        libstdc++.{a,so}, libstdc++exp.a, libstdc++fs.a, libsupc++.a, libtsan.{a,so},
    374388        and libubsan.{a,so}</seg>
    375389
     
    578592      </varlistentry>
    579593
     594      <varlistentry id="libhwasan">
     595        <term><filename class="libraryfile">libhwasan</filename></term>
     596        <listitem>
     597          <para>The Hardware-assisted Address Sanitizer runtime library</para>
     598          <indexterm zone="ch-system-gcc libhwasan">
     599            <primary sortas="c-libhwasan">libhwasan</primary>
     600          </indexterm>
     601        </listitem>
     602      </varlistentry>
     603
    580604      <varlistentry id="libitm">
    581605        <term><filename class="libraryfile">libitm</filename></term>
     
    641665      </varlistentry>
    642666
     667      <varlistentry id="libstdcexp">
     668        <term><filename class="libraryfile">libstdc++exp</filename></term>
     669        <listitem>
     670          <para>Experimental C++ Contracts library</para>
     671          <indexterm zone="ch-system-gcc libstdcexp">
     672            <primary sortas="c-libstdc++exp">libstdc++exp</primary>
     673          </indexterm>
     674        </listitem>
     675      </varlistentry>
     676
    643677      <varlistentry id="libstdcfs">
    644678        <term><filename class="libraryfile">libstdc++fs</filename></term>
  • chapter08/psmisc.xml

    rc2596a4 r45d1335  
    5050<screen><userinput remap="make">make</userinput></screen>
    5151
    52     <para>This package does not come with a test suite.</para>
     52    <para>To run the test suite, run:</para>
     53
     54<screen><userinput remap="test">make check</userinput></screen>
    5355
    5456    <para>Install the package:</para>
  • chapter08/systemd.xml

    rc2596a4 r45d1335  
    4141    <title>Installation of systemd</title>
    4242
     43    <para>
     44      Remove several inappropriate uses of the <literal>pure</literal>
     45      attribute or they'd cause runtime issues when the package is built
     46      with GCC 13 or later:
     47    </para>
     48
     49<screen><userinput remap='pre'>sed '/bus_message_type_from_string/s/_pure_//' \
     50    -i src/libsystemd/sd-bus/bus-internal.h    &amp;&amp;
     51sed '/devt_hash_func/s/_pure_//'               \
     52    -i src/basic/hash-funcs.h                  &amp;&amp;
     53sed '/job_get_timeout/s/_pure_//'              \
     54    -i src/core/job.h</userinput></screen>
     55
    4356    <para>Remove two unneeded groups,
    4457    <systemitem class="groupname">render</systemitem> and
     
    5467cd       build
    5568
    56 meson --prefix=/usr                 \
     69meson setup \
     70      --prefix=/usr                 \
    5771      --buildtype=release           \
    5872      -Ddefault-dnssec=no           \
Note: See TracChangeset for help on using the changeset viewer.