On 10/13/2016 06:36 AM, Eric Blake wrote:
That's a bug in s390's system headers. Gnulib should be
taught to work
around it.
Although this bug was reported fixed in glibc 2.20; see
https://sourceware.org/bugzilla/show_bug.cgi?id=16712
the Gnulib manual says the bug is still in glibc 2.24; see
gnulib/doc/posix-headers/stdint.texi. Is the Gnulib manual correct? If
so, why didn't the earlier glibc patch fix the bug?
Anyway, I installed into Gnulib the attached patch, which I hope works
around the bug. I can't easily test this, so please give it a try. And
if you can think of a way to test whether SIZE_MAX has the correct type
on pre-C11 compilers that lack __typeof__, please let me know.