]> code.ossystems Code Review - openembedded-core.git/commit
valgrind: backport rseq work-around
authorRandy MacLeod <randy.macleod@windriver.com>
Thu, 30 Dec 2021 01:37:27 +0000 (17:37 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 4 Jan 2022 23:13:32 +0000 (23:13 +0000)
commit6ca008072df0371b6b1cfdd7030da6494ff012bd
tree4c8e10c0cac9e9347a78b7840bf23e5985872d8c
parentaa06250cc4e258ad807eef9940939fd68c0bda8b
valgrind: backport rseq work-around

Using glibc-2.35-alpha, valgrind ptests mostly all fail with the error:
   WARNING: unhandled amd64-linux syscall: 334
   You may be able to write your own handler.
With this patch applied qemux86-64 ptest results were:
   TOTAL: 728
   PASSED: 709
   FAILED: 0
   SKIPPED: 19

This patch implements the Linux rseq syscall as ENOSYS while
a proper fix is being worked on as desribed in the patch
commit log.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/valgrind/valgrind/0001-Implement-linux-rseq-syscall-as-ENOSYS.patch [new file with mode: 0644]
meta/recipes-devtools/valgrind/valgrind_3.18.1.bb