https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79341
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #9) Perhaps say: AC_TRY_COMPILE([#include <sys/syscall.h>],[ syscall (__NR_gettid); syscall (__NR_futex); syscall (__NR_exit_group); +#if (defined(__s390__) || defined(__s390x__)) && !__GLIBC_PREREQ (2, 19) +#error Too old glibc +#endif ], [sanitizer_supported=yes])