summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/valgrind
diff options
context:
space:
mode:
authorRandy MacLeod <Randy.MacLeod@windriver.com>2019-04-19 15:01:39 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-04-23 23:30:19 +0100
commitf3b96fa0bbf924ed3477fe96554943f535c794f1 (patch)
treedc9f9c9785dc3bd37c41e53ed4a0797342293b44 /meta/recipes-devtools/valgrind
parent0573bf6b872e7523ba32010bb76a9fb54d3647bc (diff)
downloadpoky-f3b96fa0bbf924ed3477fe96554943f535c794f1.tar.gz
valgrind: update from 3.14.0 to 3.15.0
The SRC_URI moved. Two local patches are now fixed upstream so remove them. The glibc ptest results are essentially the same. 3.14 3.15 TOTAL: 579 589 PASSED: 297 301 FAILED: 251 254 SKIPPED: 31 34 DURATION: 1312 1171 (From OE-Core rev: dfbc1e03c1f98a5a987a94ea815ba44f61abf289) Signed-off-by: Randy MacLeod <Randy.MacLeod@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-Fix-dependencies-between-libcoregrind-.a-and-m_main..patch45
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-tests-amd64-Do-not-clobber-rsp-register.patch37
-rw-r--r--meta/recipes-devtools/valgrind/valgrind_3.15.0.bb (renamed from meta/recipes-devtools/valgrind/valgrind_3.14.0.bb)8
3 files changed, 3 insertions, 87 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-Fix-dependencies-between-libcoregrind-.a-and-m_main..patch b/meta/recipes-devtools/valgrind/valgrind/0001-Fix-dependencies-between-libcoregrind-.a-and-m_main..patch
deleted file mode 100644
index bedf1c1274..0000000000
--- a/meta/recipes-devtools/valgrind/valgrind/0001-Fix-dependencies-between-libcoregrind-.a-and-m_main..patch
+++ /dev/null
@@ -1,45 +0,0 @@
1From 7820fc268fae4353118b6355f1d4b9e1b7eeebec Mon Sep 17 00:00:00 2001
2From: Philippe Waroquiers <philippe.waroquiers@skynet.be>
3Date: Sun, 28 Oct 2018 18:35:11 +0100
4Subject: [PATCH] Fix dependencies between libcoregrind*.a and
5 *m_main.o/*m_libcsetjmp.o
6
7The primary and secondary coregrind libraries must be updated
8when m_main.c or m_libcsetjmp.c are changed.
9
10A dependency was missing between libcoregrind*.a and libnolto_coregrind*.a,
11and so tools were not relinked when m_main.c or m_libcsetjmp.c were
12changed.
13
14Upstream-Status: Backport[git://sourceware.org/git/valgrind.git 7820fc268fae4353118b6355f1d4b9e1b7eeebec]
15
16Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
17---
18 coregrind/Makefile.am | 4 ++++
19 1 file changed, 4 insertions(+)
20
21diff --git a/coregrind/Makefile.am b/coregrind/Makefile.am
22index 914a270..8de1996 100644
23--- a/coregrind/Makefile.am
24+++ b/coregrind/Makefile.am
25@@ -511,6 +511,8 @@ libcoregrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_a_CFLAGS += \
26 endif
27 libcoregrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_a_LIBADD = \
28 $(libnolto_coregrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_a_OBJECTS)
29+libcoregrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_a_DEPENDENCIES = \
30+ libnolto_coregrind-@VGCONF_ARCH_PRI@-@VGCONF_OS@.a
31
32 if VGCONF_HAVE_PLATFORM_SEC
33 libcoregrind_@VGCONF_ARCH_SEC@_@VGCONF_OS@_a_SOURCES = \
34@@ -531,6 +533,8 @@ libcoregrind_@VGCONF_ARCH_SEC@_@VGCONF_OS@_a_CFLAGS += \
35 endif
36 libcoregrind_@VGCONF_ARCH_SEC@_@VGCONF_OS@_a_LIBADD = \
37 $(libnolto_coregrind_@VGCONF_ARCH_SEC@_@VGCONF_OS@_a_OBJECTS)
38+libcoregrind_@VGCONF_ARCH_SEC@_@VGCONF_OS@_a_DEPENDENCIES = \
39+ libnolto_coregrind-@VGCONF_ARCH_SEC@-@VGCONF_OS@.a
40 endif
41
42 #----------------------------------------------------------------------------
43--
442.10.2
45
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-tests-amd64-Do-not-clobber-rsp-register.patch b/meta/recipes-devtools/valgrind/valgrind/0001-tests-amd64-Do-not-clobber-rsp-register.patch
deleted file mode 100644
index 657f80335d..0000000000
--- a/meta/recipes-devtools/valgrind/valgrind/0001-tests-amd64-Do-not-clobber-rsp-register.patch
+++ /dev/null
@@ -1,37 +0,0 @@
1From 8c1ebb564f5eca2baeedc27a703200786d1abb0b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 22 Dec 2018 15:28:40 -0800
4Subject: [PATCH] tests/amd64: Do not clobber %rsp register
5
6This is seen with gcc-9.0 compiler now which is fix that gcc community
7did recently
8https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52813
9
10Upstream-Status: Submitted [https://bugs.kde.org/show_bug.cgi?id=402480]
11
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14 none/tests/amd64-linux/bug345887.c | 5 +++--
15 1 file changed, 3 insertions(+), 2 deletions(-)
16
17diff --git a/none/tests/amd64-linux/bug345887.c b/none/tests/amd64-linux/bug345887.c
18index 0f9237d..4b07fe1 100644
19--- a/none/tests/amd64-linux/bug345887.c
20+++ b/none/tests/amd64-linux/bug345887.c
21@@ -20,13 +20,14 @@ static void inner(void)
22 "movq $0x10d, %%r14\n"
23 "movq $0x10e, %%r15\n"
24 // not %rbp as mdb is then not able to reconstruct stack trace
25- "movq $0x10f, %%rsp\n"
26+ // not %rsp since gcc ignores it and since gcc >= 9.0 errors about it
27+ // see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52813
28 "movq $0x1234, (%%rax)\n" // should cause SEGV here
29 "ud2" // should never get here
30 : // no output registers
31 : // no input registers
32 : "memory", "%rax", "%rbx", "%rcx", "%rdx", "%rsi", "%rdi",
33- "%r8", "%r9", "%r10", "%r11", "%r12", "%r13", "%r14", "%r15", "%rsp");
34+ "%r8", "%r9", "%r10", "%r11", "%r12", "%r13", "%r14", "%r15");
35 }
36
37 __attribute__((noinline))
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.14.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.15.0.bb
index db1bd9fc5b..3159f32230 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.14.0.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.15.0.bb
@@ -12,7 +12,7 @@ DEPENDS = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d
12 ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'boost', '', d)} \ 12 ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'boost', '', d)} \
13 " 13 "
14 14
15SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \ 15SRC_URI = "https://sourceware.org/pub/valgrind/valgrind-${PV}.tar.bz2 \
16 file://fixed-perl-path.patch \ 16 file://fixed-perl-path.patch \
17 file://Added-support-for-PPC-instructions-mfatbu-mfatbl.patch \ 17 file://Added-support-for-PPC-instructions-mfatbu-mfatbl.patch \
18 file://run-ptest \ 18 file://run-ptest \
@@ -36,11 +36,9 @@ SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \
36 file://0001-fix-opcode-not-supported-on-mips32-linux.patch \ 36 file://0001-fix-opcode-not-supported-on-mips32-linux.patch \
37 file://0001-Guard-against-__GLIBC_PREREQ-for-musl-libc.patch \ 37 file://0001-Guard-against-__GLIBC_PREREQ-for-musl-libc.patch \
38 file://0001-Make-local-functions-static-to-avoid-assembler-error.patch \ 38 file://0001-Make-local-functions-static-to-avoid-assembler-error.patch \
39 file://0001-tests-amd64-Do-not-clobber-rsp-register.patch \
40 file://0001-Fix-dependencies-between-libcoregrind-.a-and-m_main..patch \
41 " 39 "
42SRC_URI[md5sum] = "74175426afa280184b62591b58c671b3" 40SRC_URI[md5sum] = "46e5fbdcbc3502a5976a317a0860a975"
43SRC_URI[sha256sum] = "037c11bfefd477cc6e9ebe8f193bb237fe397f7ce791b4a4ce3fa1c6a520baa5" 41SRC_URI[sha256sum] = "417c7a9da8f60dd05698b3a7bc6002e4ef996f14c13f0ff96679a16873e78ab1"
44UPSTREAM_CHECK_REGEX = "valgrind-(?P<pver>\d+(\.\d+)+)\.tar" 42UPSTREAM_CHECK_REGEX = "valgrind-(?P<pver>\d+(\.\d+)+)\.tar"
45 43
46COMPATIBLE_HOST = '(i.86|x86_64|arm|aarch64|mips|powerpc|powerpc64).*-linux' 44COMPATIBLE_HOST = '(i.86|x86_64|arm|aarch64|mips|powerpc|powerpc64).*-linux'