gcc pass2: --disable-libsanitizer is no longer strictly needed

GCC 14 libsanitizer no longer depends on crypt.h.  But let's keep this
option for reducing build time, just update the explanation.

Also remove libxcrypt from GCC depedency list.
This commit is contained in:
Xi Ruoyao 2024-05-15 19:46:46 +08:00
parent 923fb48548
commit 87e5e08d34
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3
2 changed files with 6 additions and 8 deletions

View File

@ -935,7 +935,7 @@
<segtitle>&dependencies;</segtitle>
<seglistitem>
<seg>Bash, Binutils, Coreutils, Diffutils, Findutils, Gawk, GCC,
Gettext, Glibc, GMP, Grep, Libxcrypt, M4, Make, MPC, MPFR, Patch,
Gettext, Glibc, GMP, Grep, M4, Make, MPC, MPFR, Patch,
Perl, Sed, Tar, Texinfo, and Zstd</seg>
</seglistitem>
</segmentedlist>
@ -1887,7 +1887,7 @@
<segmentedlist id="libxcrypt-before">
<segtitle>&before;</segtitle>
<seglistitem>
<seg>GCC, Perl, Python, Shadow, and &systemd-udev;</seg>
<seg>Perl, Python, Shadow, and &systemd-udev;</seg>
</seglistitem>
</segmentedlist>

View File

@ -149,12 +149,10 @@ cd build</userinput></screen>
<term><parameter>--disable-libsanitizer</parameter></term>
<listitem>
<para>Disable GCC sanitizer runtime libraries. They are not
needed for the temporary installation. This switch is necessary
to build GCC without
<systemitem class='library'>libcrypt</systemitem> installed for
the target. In <xref linkend='ch-tools-gcc-pass1'/> it was
implied by <parameter>--disable-libstdcxx</parameter>, but now we
have to explicitly pass it.</para>
needed for the temporary installation. In
<xref linkend='ch-tools-gcc-pass1'/> it was implied by
<parameter>--disable-libstdcxx</parameter>, and now we can
explicitly pass it.</para>
</listitem>
</varlistentry>