https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85699 --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- If you are using glibc < 2.24, then maybe this is: https://sourceware.org/bugzilla/show_bug.cgi?id=20205