https://bugs.kde.org/show_bug.cgi?id=410757

Mark Wielaard <m...@klomp.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m...@klomp.org

--- Comment #1 from Mark Wielaard <m...@klomp.org> ---
So the issue is that sometimes glibc will try to emulate preadv2 with preadv if
the kernel doesn't support preadv2?

Maybe the simplest solution to that might be to change the check for when to
run the testcase?

Currently in configure.ac we test whether glibc provides preadv2:

AM_CONDITIONAL([HAVE_PREADV2_PWRITEV2],
               [test x$ac_cv_func_preadv2 = xyes && test x$ac_cv_func_pwritev2
= xyes])

Maybe we should change that test to one for __NR_pvreadv2 and __NR_pvwritev2
being defined (like HAVE_NR_MEMBARRIER) before that.

Then the test would only be build if the kernel actually has those system calls
instead of just having glibc having fallback functions for them?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to