Ignore:
Timestamp:
06/29/2023 10:32:31 PM (12 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.0, 12.0-rc1, 12.1, 12.1-rc1, multilib, renodr/libudev-from-systemd, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/update-glibc
Children:
1adc941
Parents:
c727d7e7
Message:

gcc-pass2: Disable libsanitizer

Building libsanitizer needs libcrypt. Disable it so we don't need to
add libxcrypt into Chapter 6.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/gcc-pass2.xml

    rc727d7e7 rf652d5bb  
    9797    --disable-libgomp                              \
    9898    --disable-libquadmath                          \
     99    --disable-libsanitizer                         \
    99100    --disable-libssp                               \
    100101    --disable-libvtv                               \
     
    144145      </varlistentry>
    145146
     147      <varlistentry>
     148        <term><parameter>--disable-libsanitizer</parameter></term>
     149        <listitem>
     150          <para>Disable GCC sanitizer runtime libraries.  They are not
     151          needed for the temporary installation.  This switch is necessary
     152          to build GCC without
     153          <systemitem class='library'>libcrypt</systemitem> installed for
     154          the target.  In <xref linkend='ch-tools-gcc-pass1'/> it was
     155          implied by <parameter>--disable-libstdcxx</parameter>, but now we
     156          have to explicitly pass it.</para>
     157        </listitem>
     158      </varlistentry>
     159
    146160    </variablelist>
    147161
Note: See TracChangeset for help on using the changeset viewer.