3.17.0-11 - Add valgrind-3.17.0-ppc64-statfs64.patch
Resolves: #1990949 unhandled ppc64le-linux syscalls 252 and 253
This commit is contained in:
parent
a30c9d537c
commit
b1af6cb84b
27
valgrind-3.17.0-ppc64-statfs64.patch
Normal file
27
valgrind-3.17.0-ppc64-statfs64.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
commit 44da99781e5bb954a0cd3c897b859012a125fec6
|
||||||
|
Author: Mark Wielaard <mark@klomp.org>
|
||||||
|
Date: Fri Aug 6 19:08:17 2021 +0200
|
||||||
|
|
||||||
|
unhandled ppc64le-linux syscall: 252 (statfs64) and 253 (fstatfs64)
|
||||||
|
|
||||||
|
glibc 2.34 consolidated all statfs implementations. All other arches
|
||||||
|
that have statfs64/fstat64 (including ppc32) already had that syscall
|
||||||
|
hooked up, it was just ppc64 that was missing it.
|
||||||
|
|
||||||
|
https://bugs.kde.org/show_bug.cgi?id=440670
|
||||||
|
|
||||||
|
diff --git a/coregrind/m_syswrap/syswrap-ppc64-linux.c b/coregrind/m_syswrap/syswrap-ppc64-linux.c
|
||||||
|
index 76610e142..f1a88f7ce 100644
|
||||||
|
--- a/coregrind/m_syswrap/syswrap-ppc64-linux.c
|
||||||
|
+++ b/coregrind/m_syswrap/syswrap-ppc64-linux.c
|
||||||
|
@@ -900,8 +900,8 @@ static SyscallTableEntry syscall_table[] = {
|
||||||
|
|
||||||
|
LINXY(__NR_tgkill, sys_tgkill), // 250
|
||||||
|
// _____(__NR_utimes, sys_utimes), // 251
|
||||||
|
-// _____(__NR_statfs64, sys_statfs64), // 252
|
||||||
|
-// _____(__NR_fstatfs64, sys_fstatfs64), // 253
|
||||||
|
+ GENXY(__NR_statfs64, sys_statfs64), // 252
|
||||||
|
+ GENXY(__NR_fstatfs64, sys_fstatfs64), // 253
|
||||||
|
// /* #define __NR_fadvise64_64 254 32bit only */
|
||||||
|
|
||||||
|
// _____(__NR_rtas, sys_rtas), // 255
|
@ -3,7 +3,7 @@
|
|||||||
Summary: Tool for finding memory management bugs in programs
|
Summary: Tool for finding memory management bugs in programs
|
||||||
Name: %{?scl_prefix}valgrind
|
Name: %{?scl_prefix}valgrind
|
||||||
Version: 3.17.0
|
Version: 3.17.0
|
||||||
Release: 10%{?dist}
|
Release: 11%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://www.valgrind.org/
|
URL: http://www.valgrind.org/
|
||||||
@ -160,6 +160,9 @@ Patch16: valgrind-3.17.0-clone3.patch
|
|||||||
# m_debuginfo/debuginfo.c VG_(get_fnname_kind) _start is below main
|
# m_debuginfo/debuginfo.c VG_(get_fnname_kind) _start is below main
|
||||||
Patch17: valgrind-3.17.0_start.patch
|
Patch17: valgrind-3.17.0_start.patch
|
||||||
|
|
||||||
|
# KDE#440670 unhandled ppc64 syscalls 252 (statfs64 and 253 (fstatfs64)
|
||||||
|
Patch18: valgrind-3.17.0-ppc64-statfs64.patch
|
||||||
|
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
|
|
||||||
@ -316,6 +319,7 @@ touch memcheck/tests/s390x/vistr.stdout.exp
|
|||||||
%patch15 -p1
|
%patch15 -p1
|
||||||
%patch16 -p1
|
%patch16 -p1
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
|
%patch18 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# LTO triggers undefined symbols in valgrind. Valgrind has a --enable-lto
|
# LTO triggers undefined symbols in valgrind. Valgrind has a --enable-lto
|
||||||
@ -541,6 +545,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 6 2021 Mark Wielaard <mjw@redhat.com> - 3.17.0-11
|
||||||
|
- Add valgrind-3.17.0-ppc64-statfs64.patch
|
||||||
|
|
||||||
* Tue Aug 3 2021 Mark Wielaard <mjw@redhat.com> - 3.17.0-10
|
* Tue Aug 3 2021 Mark Wielaard <mjw@redhat.com> - 3.17.0-10
|
||||||
- Add valgrind-3.17.0_start.patch
|
- Add valgrind-3.17.0_start.patch
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user