|
From: Mark W. <ma...@kl...> - 2019-08-23 19:01:06
|
Hi, On Fri, 2019-08-16 at 15:59 +0000, Petar Jovanovic wrote: > https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=c6a6cf929f3e2a9bf5d7f09f334ed4d67f2d6e18 > > commit c6a6cf929f3e2a9bf5d7f09f334ed4d67f2d6e18 > Author: Petar Jovanovic <mip...@gm...> > Date: Fri Aug 16 15:57:50 2019 +0000 > > Use statx rather than other stat system calls > > *STAT* system calls other than statx are becoming deprecated. > Coregrind should use statx as the first candidate in order to achieve > "stat" functionality. > > There are also systems that do not even support older "stats". > > This fixes KDE #400593. > > Patch by Aleksandar Rikalo. This seems to have broken valgrind on arm64 on some older kernel. See the nightly build results for the gcc-114 machine. statx returns ENOSYS but it seems the fallback path isn't taken anyway for some reason. Resulting in valgrind not being able to execute anything. $ ./vg-in-place /bin/true valgrind: /bin/true: Permission denied Reverting the above commit makes things work again. Still investigating. But if this rings a bell for anybody please speak up. Cheers, Mark |