3.9.0-8 Add valgrind-3.9.0-ppc64-priority.patch
This commit is contained in:
parent
4714e5a725
commit
52ab32867e
24
valgrind-3.9.0-ppc64-priority.patch
Normal file
24
valgrind-3.9.0-ppc64-priority.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
commit df77b4d9c15823519165f6e9a206b2c40ac68389
|
||||||
|
Author: mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9>
|
||||||
|
Date: Mon Mar 10 14:45:32 2014 +0000
|
||||||
|
|
||||||
|
Enable sys_getpriority and sys_setpriority for ppc64.
|
||||||
|
|
||||||
|
Bug 331830 - ppc64: WARNING: unhandled syscall: 96/97
|
||||||
|
(Miroslav Franc, mfranc@redhat.com)
|
||||||
|
|
||||||
|
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13861 a5019735-40e9-0310-863c-91ae7b9d1cf9
|
||||||
|
|
||||||
|
--- a/coregrind/m_syswrap/syswrap-ppc64-linux.c
|
||||||
|
+++ b/coregrind/m_syswrap/syswrap-ppc64-linux.c
|
||||||
|
@@ -792,8 +792,8 @@ static SyscallTableEntry syscall_table[] = {
|
||||||
|
GENX_(__NR_fchmod, sys_fchmod), // 94
|
||||||
|
|
||||||
|
GENX_(__NR_fchown, sys_fchown), // 95
|
||||||
|
-// _____(__NR_getpriority, sys_getpriority), // 96
|
||||||
|
-// _____(__NR_setpriority, sys_setpriority), // 97
|
||||||
|
+ GENX_(__NR_getpriority, sys_getpriority), // 96
|
||||||
|
+ GENX_(__NR_setpriority, sys_setpriority), // 97
|
||||||
|
// _____(__NR_profil, sys_profil), // 98
|
||||||
|
GENXY(__NR_statfs, sys_statfs), // 99
|
||||||
|
|
@ -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.9.0
|
Version: 3.9.0
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://www.valgrind.org/
|
URL: http://www.valgrind.org/
|
||||||
@ -62,6 +62,9 @@ Patch15: valgrind-3.9.0-timer_create.patch
|
|||||||
# Accept glibc 2.19 as valid (upstream valgrind svn r13829)
|
# Accept glibc 2.19 as valid (upstream valgrind svn r13829)
|
||||||
Patch16: valgrind-3.9.0-glibc-2.19.patch
|
Patch16: valgrind-3.9.0-glibc-2.19.patch
|
||||||
|
|
||||||
|
# KDE#331830 - ppc64: WARNING: unhandled syscall: 96/97
|
||||||
|
Patch17: valgrind-3.9.0-ppc64-priority.patch
|
||||||
|
|
||||||
%ifarch x86_64 ppc64
|
%ifarch x86_64 ppc64
|
||||||
# Ensure glibc{,-devel} is installed for both multilib arches
|
# Ensure glibc{,-devel} is installed for both multilib arches
|
||||||
BuildRequires: /lib/libc.so.6 /usr/lib/libc.so /lib64/libc.so.6 /usr/lib64/libc.so
|
BuildRequires: /lib/libc.so.6 /usr/lib/libc.so /lib64/libc.so.6 /usr/lib64/libc.so
|
||||||
@ -170,6 +173,7 @@ Valgrind User Manual for details.
|
|||||||
%patch14 -p1
|
%patch14 -p1
|
||||||
%patch15 -p1
|
%patch15 -p1
|
||||||
%patch16 -p1
|
%patch16 -p1
|
||||||
|
%patch17 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# We need to use the software collection compiler and binutils if available.
|
# We need to use the software collection compiler and binutils if available.
|
||||||
@ -323,6 +327,9 @@ echo ===============END TESTING===============
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 10 2014 Mark Wielaard <mjw@redhat.com> - 3.9.0-8
|
||||||
|
- Add valgrind-3.9.0-ppc64-priority.patch
|
||||||
|
|
||||||
* Mon Feb 24 2014 Mark Wielaard <mjw@redhat.com>
|
* Mon Feb 24 2014 Mark Wielaard <mjw@redhat.com>
|
||||||
- Add upstream fixes to valgrind-3.9.0-timer_create.patch
|
- Add upstream fixes to valgrind-3.9.0-timer_create.patch
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user