summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/valgrind/valgrind_3.16.1.bb
diff options
context:
space:
mode:
authorStacy Gaikovaia <Stacy.Gaikovaia@windriver.com>2020-11-20 11:51:55 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-12-03 23:02:08 +0000
commit307146220b51f2c3d8c1fe517af711d14219488d (patch)
treeead68e3dddf61326f3e8b06848572b15f4558499 /meta/recipes-devtools/valgrind/valgrind_3.16.1.bb
parentd754cd3a49568da0bc9674da7f3dcd0dbf84287d (diff)
downloadpoky-307146220b51f2c3d8c1fe517af711d14219488d.tar.gz
valgrind: helgrind: Intercept libc functions
PTH_FUNC definition needs to be modified in order to intercept posix thread functions in both libc and libpthread. In order to handle this in helgrind, weak alias the pthread functions in glibc. Include a special case for musl. See https://bugs.kde.org/show_bug.cgi?id=428909 for additional discussion. Upstream-Status: Submitted (From OE-Core rev: 4c33ce1b1eca9aff0009bf71ce50f6398f7cd281) Signed-off-by: Paul Floyd <paulf@free.fr> Signed-off-by: Stacy Gaikovaia <Stacy.Gaikovaia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5da46a552d54de34a5243e1d90dcc6f52b7af746) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/valgrind/valgrind_3.16.1.bb')
-rw-r--r--meta/recipes-devtools/valgrind/valgrind_3.16.1.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.16.1.bb b/meta/recipes-devtools/valgrind/valgrind_3.16.1.bb
index bcba55f327..5db181ac14 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.16.1.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.16.1.bb
@@ -42,6 +42,7 @@ SRC_URI = "https://sourceware.org/pub/valgrind/valgrind-${PV}.tar.bz2 \
42 file://0001-memcheck-tests-Fix-timerfd-syscall-test.patch \ 42 file://0001-memcheck-tests-Fix-timerfd-syscall-test.patch \
43 file://0001-drd-Port-to-Fedora-33.patch \ 43 file://0001-drd-Port-to-Fedora-33.patch \
44 file://0001-drd-musl-fix.patch \ 44 file://0001-drd-musl-fix.patch \
45 file://0001-helgrind-Intercept-libc-functions.patch \
45 " 46 "
46SRC_URI[md5sum] = "d1b153f1ab17cf1f311705e7a83ef589" 47SRC_URI[md5sum] = "d1b153f1ab17cf1f311705e7a83ef589"
47SRC_URI[sha256sum] = "c91f3a2f7b02db0f3bc99479861656154d241d2fdb265614ba918cc6720a33ca" 48SRC_URI[sha256sum] = "c91f3a2f7b02db0f3bc99479861656154d241d2fdb265614ba918cc6720a33ca"