https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111057
Bug ID: 111057 Summary: build error: libsanitizer/sanitizer_common/sanitizer_platform_limit s_posix.cpp:180:10: fatal error: crypt.h: No such file or directory Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: judge.packham at gmail dot com CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- Hi from crosstool-ng, I've had a user report a build error for GCC 13.2.0 with and aarch64 config with libsanitizer enabled (https://github.com/crosstool-ng/crosstool-ng/issues/2010). [ERROR] /home/ctng/crosstool-ng/.build/aarch64-unknown-linux-gnu/src/gcc/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:180:10: fatal error: crypt.h: No such file or directory [ALL ] 180 | #include <crypt.h> [ALL ] | ^~~~~~~~~ [ALL ] compilation terminated. [ERROR] make[5]: *** [Makefile:614: sanitizer_platform_limits_posix.lo] Error 1 [ERROR] make[5]: *** Waiting for unfinished jobs.... It looks like this may have already been fixed in master by commit d96e14ceb947 ("libsanitizer: merge from upstream (87e6e490e79384a5)"). Is that the kind of thing that might end up in the 13.x branch? Alternatively is there a lower impact change that might be back-ported? Thanks, Chris