This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v3 2/2] posix: Implement preadv2 and pwritev2
- From: Florian Weimer <fweimer at redhat dot com>
- To: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>, Zack Weinberg <zackw at panix dot com>
- Cc: "H.J. Lu" <hjl dot tools at gmail dot com>, Siddhesh Poyarekar <siddhesh at gotplt dot org>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Fri, 2 Jun 2017 21:02:04 +0200
- Subject: Re: [PATCH v3 2/2] posix: Implement preadv2 and pwritev2
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=fweimer at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com E967F142A62
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com E967F142A62
- References: <1493901791-13438-1-git-send-email-adhemerval.zanella@linaro.org> <1493901791-13438-2-git-send-email-adhemerval.zanella@linaro.org> <8ceeaabf-110f-31fe-516b-18f2fe6710f8@gotplt.org> <7412360d-c776-532b-e22c-dd3f0048cfba@linaro.org> <CAMe9rOpu=yRUr=bHE=h2CJA7e0=U8qz5g5M_PL3GKAtLoUmmJA@mail.gmail.com> <CAKCAbMi95KU=kO1vyj7O4GpHFngOpjDGxCog83nnaYjrRwOF4Q@mail.gmail.com> <7f07b067-a074-d670-88b1-3da917451c71@redhat.com> <b2e4c8cc-0fe7-aa9b-08c8-389e7bb0fa76@linaro.org> <CAKCAbMgAuA0-Zc1n_BwjGW767semHr-ApjUWecCo4h9gJk=unQ@mail.gmail.com> <f9508771-891d-090e-49e8-b4e85a0f6f77@linaro.org>
On 06/02/2017 08:19 PM, Adhemerval Zanella wrote:
> I am even more confident this is indeed a miscompilation from GCC7 branch.
> Using a previous built x86_64-linux-gnu with GCC6 branch I saw no issue, however
> using GCC7 there is indeed the test failure. And it seems to show only for kernels
> with support for p{read,write}v2 syscall, which means it stress the default
> SYSCALL_CANCEL path.
>
> However, running a GCC6 built testcase with a GCC7 build glibc (with testrun.sh)
> I saw no issue. The GCC7 built test also fails with a GCC6 built glibc. I will
> check with GCC master to see if this is something only on GCC7 branch or if it
> is still on master.
>
> Also, I seems that for GCC7 only x86_64-linux-gnu is affect on x86.
I see it with GCC 6.3 on Fedora 24, x86-64 as well. It could be a
broken GCC 7 patch that was backported, or perhaps our constraints for
the syscall instruction are off.
Florian