From 87e5e08d3490a74a6d123ba1a498fea44278e23b Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Wed, 15 May 2024 19:46:46 +0800 Subject: [PATCH] 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. --- appendices/dependencies.xml | 4 ++-- chapter06/gcc-pass2.xml | 10 ++++------ 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/appendices/dependencies.xml b/appendices/dependencies.xml index 46bdfac0a..c48238a8b 100644 --- a/appendices/dependencies.xml +++ b/appendices/dependencies.xml @@ -935,7 +935,7 @@ &dependencies; 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 @@ -1887,7 +1887,7 @@ &before; - GCC, Perl, Python, Shadow, and &systemd-udev; + Perl, Python, Shadow, and &systemd-udev; diff --git a/chapter06/gcc-pass2.xml b/chapter06/gcc-pass2.xml index 98b28150d..529f3ab65 100644 --- a/chapter06/gcc-pass2.xml +++ b/chapter06/gcc-pass2.xml @@ -149,12 +149,10 @@ cd build --disable-libsanitizer Disable GCC sanitizer runtime libraries. They are not - needed for the temporary installation. This switch is necessary - to build GCC without - libcrypt installed for - the target. In it was - implied by --disable-libstdcxx, but now we - have to explicitly pass it. + needed for the temporary installation. In + it was implied by + --disable-libstdcxx, and now we can + explicitly pass it.