diff options
author | Li Zhou <li.zhou@windriver.com> | 2015-08-25 14:49:34 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-02 23:46:08 +0100 |
commit | 5d8f865d34aef6fb821e025da56a0a3c0656c49d (patch) | |
tree | 8a8cad904a00f6923808d037d044e116e79bc6ec /meta/recipes-devtools/valgrind | |
parent | bd8b9bc716774a8f8b4b97ece5c7b2eb58aa2330 (diff) | |
download | openembedded-core-5d8f865d34aef6fb821e025da56a0a3c0656c49d.tar.gz openembedded-core-5d8f865d34aef6fb821e025da56a0a3c0656c49d.tar.bz2 openembedded-core-5d8f865d34aef6fb821e025da56a0a3c0656c49d.zip |
valgrind: enable rt_sigpending syscall on ppc64 linux
When running one application under Valgrind on ppc64 arch, we got a
missing syscall error. Get upstream patch from valgrind website to
enable rt_sigpending syscall on ppc64 linux.
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/valgrind')
-rw-r--r-- | meta/recipes-devtools/valgrind/valgrind/0001-valgrind-Enable-rt_sigpending-syscall-on-ppc64-linux.patch | 35 | ||||
-rw-r--r-- | meta/recipes-devtools/valgrind/valgrind_3.10.1.bb | 1 |
2 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-valgrind-Enable-rt_sigpending-syscall-on-ppc64-linux.patch b/meta/recipes-devtools/valgrind/valgrind/0001-valgrind-Enable-rt_sigpending-syscall-on-ppc64-linux.patch new file mode 100644 index 0000000000..56bb5f55fe --- /dev/null +++ b/meta/recipes-devtools/valgrind/valgrind/0001-valgrind-Enable-rt_sigpending-syscall-on-ppc64-linux.patch @@ -0,0 +1,35 @@ +From 1a8006f56342dae9f7100a3c33d80873676e0404 Mon Sep 17 00:00:00 2001 +From: Li Zhou <li.zhou@windriver.com> +Date: Mon, 24 Aug 2015 03:55:18 -0400 +Subject: [PATCH] valgrind: Enable rt_sigpending syscall on ppc64 linux + +New Revision: 15133 +Enable rt_sigpending syscall on ppc64 linux. +Patch from Thomas Huth <thuth@redhat.com> + +Get the patch from valgrind upstream: +http://valgrind.10908.n7.nabble.com/Valgrind-r15133-in-trunk-NEWS-coregrind-m-syswrap-syswrap-ppc64-linux-c-td54589.html + +Upstream-Status: backport + +Signed-off-by: Li Zhou <li.zhou@windriver.com> +--- + coregrind/m_syswrap/syswrap-ppc64-linux.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/coregrind/m_syswrap/syswrap-ppc64-linux.c b/coregrind/m_syswrap/syswrap-ppc64-linux.c +index 5946ee1..8aaa1d7 100644 +--- a/coregrind/m_syswrap/syswrap-ppc64-linux.c ++++ b/coregrind/m_syswrap/syswrap-ppc64-linux.c +@@ -887,7 +887,7 @@ static SyscallTableEntry syscall_table[] = { + LINXY(__NR_rt_sigaction, sys_rt_sigaction), // 173 + LINXY(__NR_rt_sigprocmask, sys_rt_sigprocmask), // 174 + +-// _____(__NR_rt_sigpending, sys_rt_sigpending), // 175 ++ LINXY(__NR_rt_sigpending, sys_rt_sigpending), // 175 + LINXY(__NR_rt_sigtimedwait, sys_rt_sigtimedwait), // 176 + LINXY(__NR_rt_sigqueueinfo, sys_rt_sigqueueinfo), // 177 + LINX_(__NR_rt_sigsuspend, sys_rt_sigsuspend), // 178 +-- +1.9.1 + diff --git a/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb b/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb index 537d7c8b93..86ba979ea8 100644 --- a/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb +++ b/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb @@ -25,6 +25,7 @@ SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \ file://add-ptest.patch \ file://pass-maltivec-only-if-it-supported.patch \ file://run-ptest \ + file://0001-valgrind-Enable-rt_sigpending-syscall-on-ppc64-linux.patch \ " SRC_URI[md5sum] = "60ddae962bc79e7c95cfc4667245707f" |