Add valgrind-3.9.0-s390-dup3.patch
This commit is contained in:
parent
93919c15a0
commit
2b58ba7427
13
valgrind-3.9.0-s390-dup3.patch
Normal file
13
valgrind-3.9.0-s390-dup3.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/coregrind/m_syswrap/syswrap-s390x-linux.c b/coregrind/m_syswrap/syswrap-s390x-linux.c
|
||||||
|
index f9bc136..58ed0f8 100644
|
||||||
|
--- a/coregrind/m_syswrap/syswrap-s390x-linux.c
|
||||||
|
+++ b/coregrind/m_syswrap/syswrap-s390x-linux.c
|
||||||
|
@@ -1044,7 +1044,7 @@ static SyscallTableEntry syscall_table[] = {
|
||||||
|
LINXY(__NR_inotify_init1, sys_inotify_init1), // 324
|
||||||
|
|
||||||
|
LINXY(__NR_pipe2, sys_pipe2), // 325
|
||||||
|
- // (__NR_dup3, ),
|
||||||
|
+ LINXY(__NR_dup3, sys_dup3), // 326
|
||||||
|
LINXY(__NR_epoll_create1, sys_epoll_create1), // 327
|
||||||
|
LINXY(__NR_preadv, sys_preadv), // 328
|
||||||
|
LINX_(__NR_pwritev, sys_pwritev), // 329
|
@ -53,6 +53,9 @@ Patch12: valgrind-3.9.0-manpage-memcheck-options.patch
|
|||||||
# KDE#328455 - s390x SIGILL after emitting wrong register pair for ldxbr
|
# KDE#328455 - s390x SIGILL after emitting wrong register pair for ldxbr
|
||||||
Patch13: valgrind-3.9.0-s390-fpr-pair.patch
|
Patch13: valgrind-3.9.0-s390-fpr-pair.patch
|
||||||
|
|
||||||
|
# KDE#331337 - s390x WARNING: unhandled syscall: 326 (dup3)
|
||||||
|
Patch14: valgrind-3.9.0-s390-dup3.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
|
||||||
@ -158,6 +161,7 @@ Valgrind User Manual for details.
|
|||||||
%patch11 -p1
|
%patch11 -p1
|
||||||
%patch12 -p1
|
%patch12 -p1
|
||||||
%patch13 -p1
|
%patch13 -p1
|
||||||
|
%patch14 -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.
|
||||||
@ -311,6 +315,9 @@ echo ===============END TESTING===============
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 21 2014 Mark Wielaard <mjw@redhat.com>
|
||||||
|
- Add valgrind-3.9.0-s390-dup3.patch
|
||||||
|
|
||||||
* Thu Dec 12 2013 Mark Wielaard <mjw@redhat.com> - 3.9.0-5
|
* Thu Dec 12 2013 Mark Wielaard <mjw@redhat.com> - 3.9.0-5
|
||||||
- Add valgrind-3.9.0-manpage-memcheck-options.patch.
|
- Add valgrind-3.9.0-manpage-memcheck-options.patch.
|
||||||
- Add valgrind-3.9.0-s390-fpr-pair.patch.
|
- Add valgrind-3.9.0-s390-fpr-pair.patch.
|
||||||
|
Loading…
Reference in New Issue
Block a user