https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109293
--- Comment #2 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- I'll make a patch to check if memmem is declared in configure.ac. memmem is not a POSIX function, so it may be undeclared on systems other than MinGW as well.