https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69890
--- Comment #7 from Ilya Enkovich <ienkovich at gcc dot gnu.org> --- Created attachment 38145 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38145&action=edit patch Attached patch seems to work OK on Linux and removes all string.h includes from chkp-str* tests. I believe this should resolve all related issues on Darwing and other targets. Could you please test it on Darwin?