Changeset 3ba50cf


Ignore:
Timestamp:
06/11/2023 08:40:44 PM (12 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1
Children:
dd34ffc
Parents:
f272b23
git-author:
Xi Ruoyao <xry111@…> (06/10/2023 09:36:52 PM)
git-committer:
Xi Ruoyao <xry111@…> (06/11/2023 08:40:44 PM)
Message:

loongarch: binutils: Don't enable gold

gold has no LoongArch support, so --enable-gold will cause a build
failure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/binutils.xml

    rf272b23 r3ba50cf  
    5252<screen><userinput remap="configure">../configure --prefix=/usr       \
    5353             --sysconfdir=/etc   \
    54              --enable-gold       \
    5554             --enable-ld=default \
    5655             --enable-plugins    \
     
    6160    <variablelist>
    6261      <title>The meaning of the configure parameters:</title>
    63 
    64       <varlistentry>
    65         <term><parameter>--enable-gold</parameter></term>
    66         <listitem>
    67           <para>Build the gold linker and install it as ld.gold (alongside the
    68           default linker).</para>
    69         </listitem>
    70       </varlistentry>
    7162
    7263      <varlistentry>
     
    142133<screen><userinput remap="test">grep '^FAIL:' $(find -name '*.log')</userinput></screen>
    143134
    144     <para>Twelve tests fail in the gold test suite when the
    145     <option>--enable-default-pie</option> and
    146     <option>--enable-default-ssp</option> options are passed to GCC.</para>
    147 
    148135    <para>Install the package:</para>
    149136
     
    166153
    167154      <seglistitem>
    168         <seg>addr2line, ar, as, c++filt, dwp, elfedit, gprof, gprofng, ld, ld.bfd, ld.gold, nm,
     155        <seg>addr2line, ar, as, c++filt, dwp, elfedit, gprof, gprofng, ld, ld.bfd, nm,
    169156        objcopy, objdump, ranlib, readelf, size, strings, and strip</seg>
    170157        <seg>libbfd.so, libctf.so, libctf-nobfd.so, libopcodes.so, and libsframe.so</seg>
     
    271258          <indexterm zone="ch-system-binutils ld">
    272259            <primary sortas="b-ld">ld</primary>
    273           </indexterm>
    274         </listitem>
    275       </varlistentry>
    276 
    277       <varlistentry id="ld.gold">
    278         <term><command>ld.gold</command></term>
    279         <listitem>
    280           <para>A cut down version of ld that only supports the
    281           elf object file format</para>
    282           <indexterm zone="ch-system-binutils ld.gold">
    283             <primary sortas="b-ld.gold">ld.gold</primary>
    284260          </indexterm>
    285261        </listitem>
Note: See TracChangeset for help on using the changeset viewer.