[PATCH v3 2/2] posix: Implement preadv2 and pwritev2

Zack Weinberg zackw@panix.com
Fri Jun 2 13:04:00 GMT 2017


On Fri, Jun 2, 2017 at 9:00 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
>
> I got
>
> [hjl@gnu-tools-1 build-x86_64-linux]$ ./misc/tst-preadvwritev2
> error: tst-preadvwritev-common.c:74: first pwritev returned -1
> error: 1 test failures
> [hjl@gnu-tools-1 build-x86_64-linux]$
>
> on one of my x86-64 machines.  But when I ran it under gdb, it passed.

I see this as well, for both tst-preadvwritev2 and
tst-preadvwritev64v2 on my x86-64 machine (kernel 4.9).  Like HJ, if I
run the test manually, it succeeds.

(And apart for everything else, that error message needs to be fixed
to print strerror(errno).)

zw



More information about the Libc-alpha mailing list