Bug 449199

Summary: unhandled syscall 387 on ppc64le-linux
Product: [Developer tools] valgrind Reporter: Matheus Castanho <msc>
Component: generalAssignee: Julian Seward <jseward>
Status: RESOLVED DUPLICATE    
Severity: normal CC: tom
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Matheus Castanho 2022-01-26 13:46:03 UTC
SUMMARY
valgrind issues a warning noting syscall number 387 is not implemented by valgrind on ppc64le when using upstream glibc. This seems to be map to the rseq syscall.

STEPS TO REPRODUCE
1. git clone git://sourceware.org/git/glibc.git
2. mkdir build && cd build
3. ../glibc/configure --prefix=/usr && make -j10 && make test t=elf/tst-valgrind-smoke

OBSERVED RESULT

--2953886-- WARNING: unhandled ppc64le-linux syscall: 387
--2953886-- You may be able to write your own handler.
--2953886-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--2953886-- Nevertheless we consider this a bug.  Please report
--2953886-- it at http://valgrind.org/support/bug_reports.html.

EXPECTED RESULT

No warning.

SOFTWARE/OS VERSIONS
Fedora 34
valgrind 3.18.1 (provided by distro)
Comment 1 Tom Hughes 2022-01-26 14:00:50 UTC
*** This bug has been marked as a duplicate of bug 405377 ***