diff options
| author | Alexander Kanavin <alex@linutronix.de> | 2025-02-03 20:39:23 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-02-05 12:49:56 +0000 |
| commit | 619c5c1185da5f64fce786f6356060eb24c3c889 (patch) | |
| tree | 37325916a90318f9623a06c74359a6dd1780ec2a | |
| parent | 882eb41e177758999407a50831f97e3e6fafee20 (diff) | |
| download | poky-619c5c1185da5f64fce786f6356060eb24c3c889.tar.gz | |
valgrind: update 3.23.0 -> 3.24.0 (ptest fails, vg_regtest needs rebase)
(From OE-Core rev: 6bf1cd3353c36e12000159e67f3d9212b0cbaf1f)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 files changed, 81 insertions, 360 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-Return-a-valid-exit_code-from-vg_regtest.patch b/meta/recipes-devtools/valgrind/valgrind/0001-Return-a-valid-exit_code-from-vg_regtest.patch deleted file mode 100644 index 832a1c3d6e..0000000000 --- a/meta/recipes-devtools/valgrind/valgrind/0001-Return-a-valid-exit_code-from-vg_regtest.patch +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | From 5eebdefd2251803e7d21081745018fcb16b2ba71 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Randy MacLeod <Randy.MacLeod@windriver.com> | ||
| 3 | Date: Wed, 8 May 2019 20:16:52 -0400 | ||
| 4 | Subject: [PATCH] Return a valid exit_code from vg_regtest | ||
| 5 | |||
| 6 | Upstream-Status: Pending | ||
| 7 | |||
| 8 | Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> | ||
| 9 | --- | ||
| 10 | tests/vg_regtest.in | 1 + | ||
| 11 | 1 file changed, 1 insertion(+) | ||
| 12 | |||
| 13 | --- a/tests/vg_regtest.in | ||
| 14 | +++ b/tests/vg_regtest.in | ||
| 15 | @@ -401,6 +401,7 @@ sub mysystem($) | ||
| 16 | exit 1; | ||
| 17 | } | ||
| 18 | } | ||
| 19 | + return $exit_code; | ||
| 20 | } | ||
| 21 | # if $keepunfiltered, copies $1 to $1.unfiltered.out | ||
| 22 | # renames $0 tp $1 | ||
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-configure-Drop-setting-mcpu-cortex-a8-on-arm.patch b/meta/recipes-devtools/valgrind/valgrind/0001-configure-Drop-setting-mcpu-cortex-a8-on-arm.patch index 63a1a58c04..4ee5288336 100644 --- a/meta/recipes-devtools/valgrind/valgrind/0001-configure-Drop-setting-mcpu-cortex-a8-on-arm.patch +++ b/meta/recipes-devtools/valgrind/valgrind/0001-configure-Drop-setting-mcpu-cortex-a8-on-arm.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From b17b6d7d3a65c14f91f090f3f4f9898d6fa3a9e4 Mon Sep 17 00:00:00 2001 | 1 | From 26a3367fbbab2a664a288f4ff8ef3273ebe57124 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Fri, 10 May 2024 16:27:34 -0700 | 3 | Date: Fri, 10 May 2024 16:27:34 -0700 |
| 4 | Subject: [PATCH] configure: Drop setting mcpu=cortex-a8 on arm | 4 | Subject: [PATCH] configure: Drop setting mcpu=cortex-a8 on arm |
| @@ -16,7 +16,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
| 16 | 1 file changed, 2 insertions(+), 2 deletions(-) | 16 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 17 | 17 | ||
| 18 | diff --git a/configure.ac b/configure.ac | 18 | diff --git a/configure.ac b/configure.ac |
| 19 | index 39d8b6d..d61b3a6 100755 | 19 | index 095659a..75d42c9 100755 |
| 20 | --- a/configure.ac | 20 | --- a/configure.ac |
| 21 | +++ b/configure.ac | 21 | +++ b/configure.ac |
| 22 | @@ -275,13 +275,13 @@ case "${host_cpu}" in | 22 | @@ -275,13 +275,13 @@ case "${host_cpu}" in |
| @@ -35,6 +35,3 @@ index 39d8b6d..d61b3a6 100755 | |||
| 35 | ARCH_MAX="arm" | 35 | ARCH_MAX="arm" |
| 36 | ;; | 36 | ;; |
| 37 | 37 | ||
| 38 | -- | ||
| 39 | 2.45.0 | ||
| 40 | |||
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-docs-Disable-manual-validation.patch b/meta/recipes-devtools/valgrind/valgrind/0001-docs-Disable-manual-validation.patch index eba569c884..df6f77cba4 100644 --- a/meta/recipes-devtools/valgrind/valgrind/0001-docs-Disable-manual-validation.patch +++ b/meta/recipes-devtools/valgrind/valgrind/0001-docs-Disable-manual-validation.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 99fc6fe9b66becac3c94068129e84217330a71a6 Mon Sep 17 00:00:00 2001 | 1 | From 7fa34af750f113fd600cabcecb79e65b9d04fa15 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Thu, 13 Jan 2022 18:26:02 -0800 | 3 | Date: Thu, 13 Jan 2022 18:26:02 -0800 |
| 4 | Subject: [PATCH] docs: Disable manual validation | 4 | Subject: [PATCH] docs: Disable manual validation |
| @@ -18,9 +18,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
| 18 | docs/Makefile.am | 2 +- | 18 | docs/Makefile.am | 2 +- |
| 19 | 1 file changed, 1 insertion(+), 1 deletion(-) | 19 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 20 | 20 | ||
| 21 | diff --git a/docs/Makefile.am b/docs/Makefile.am | ||
| 22 | index 6859ee8..d5e4e2f 100644 | ||
| 21 | --- a/docs/Makefile.am | 23 | --- a/docs/Makefile.am |
| 22 | +++ b/docs/Makefile.am | 24 | +++ b/docs/Makefile.am |
| 23 | @@ -194,7 +194,7 @@ valid-manpages: $(MANPAGES_XML_FILES) | 25 | @@ -195,7 +195,7 @@ valid-manpages: $(MANPAGES_XML_FILES) |
| 24 | touch $@; \ | 26 | touch $@; \ |
| 25 | fi | 27 | fi |
| 26 | 28 | ||
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-makefiles-Drop-setting-mcpu-to-cortex-a8-on-arm-arch.patch b/meta/recipes-devtools/valgrind/valgrind/0001-makefiles-Drop-setting-mcpu-to-cortex-a8-on-arm-arch.patch index 7996fa6e8f..ef65edfb76 100644 --- a/meta/recipes-devtools/valgrind/valgrind/0001-makefiles-Drop-setting-mcpu-to-cortex-a8-on-arm-arch.patch +++ b/meta/recipes-devtools/valgrind/valgrind/0001-makefiles-Drop-setting-mcpu-to-cortex-a8-on-arm-arch.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 715cf122388f3527afa5649cebf9f1522c240693 Mon Sep 17 00:00:00 2001 | 1 | From a9292f711375c12c5135b207698e623e297b049b Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Thu, 20 Apr 2017 10:11:16 -0700 | 3 | Date: Thu, 20 Apr 2017 10:11:16 -0700 |
| 4 | Subject: [PATCH] makefiles: Drop setting -mcpu to cortex-a8 on arm | 4 | Subject: [PATCH] makefiles: Drop setting -mcpu to cortex-a8 on arm |
| @@ -14,14 +14,15 @@ Upstream-Status: Submitted [https://bugs.kde.org/show_bug.cgi?id=454346] | |||
| 14 | 14 | ||
| 15 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 15 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 16 | --- | 16 | --- |
| 17 | Makefile.all.am | 6 +++--- | ||
| 18 | helgrind/tests/Makefile.am | 6 +++--- | 17 | helgrind/tests/Makefile.am | 6 +++--- |
| 19 | none/tests/arm/Makefile.am | 18 +++++++++--------- | 18 | none/tests/arm/Makefile.am | 18 +++++++++--------- |
| 20 | 3 files changed, 15 insertions(+), 15 deletions(-) | 19 | 2 files changed, 12 insertions(+), 12 deletions(-) |
| 21 | 20 | ||
| 21 | diff --git a/helgrind/tests/Makefile.am b/helgrind/tests/Makefile.am | ||
| 22 | index d7101ed..670c29f 100755 | ||
| 22 | --- a/helgrind/tests/Makefile.am | 23 | --- a/helgrind/tests/Makefile.am |
| 23 | +++ b/helgrind/tests/Makefile.am | 24 | +++ b/helgrind/tests/Makefile.am |
| 24 | @@ -223,9 +223,9 @@ if ! VGCONF_PLATFORMS_INCLUDE_X86_DARWIN | 25 | @@ -226,9 +226,9 @@ if ! VGCONF_PLATFORMS_INCLUDE_X86_DARWIN |
| 25 | endif | 26 | endif |
| 26 | 27 | ||
| 27 | if VGCONF_PLATFORMS_INCLUDE_ARM_LINUX | 28 | if VGCONF_PLATFORMS_INCLUDE_ARM_LINUX |
| @@ -34,9 +35,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
| 34 | else | 35 | else |
| 35 | annotate_hbefore_CFLAGS = $(AM_CFLAGS) | 36 | annotate_hbefore_CFLAGS = $(AM_CFLAGS) |
| 36 | tc07_hbl1_CFLAGS = $(AM_CFLAGS) | 37 | tc07_hbl1_CFLAGS = $(AM_CFLAGS) |
| 38 | diff --git a/none/tests/arm/Makefile.am b/none/tests/arm/Makefile.am | ||
| 39 | index 41a5a03..a76981e 100644 | ||
| 37 | --- a/none/tests/arm/Makefile.am | 40 | --- a/none/tests/arm/Makefile.am |
| 38 | +++ b/none/tests/arm/Makefile.am | 41 | +++ b/none/tests/arm/Makefile.am |
| 39 | @@ -56,10 +56,10 @@ allexec_CFLAGS = $(AM_CFLAGS) @FLAG_W_N | 42 | @@ -56,10 +56,10 @@ allexec_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_NONNULL@ |
| 40 | # need special helping w.r.t -mfpu and -mfloat-abi, though. | 43 | # need special helping w.r.t -mfpu and -mfloat-abi, though. |
| 41 | # Also force -O0 since -O takes hundreds of MB of memory | 44 | # Also force -O0 since -O takes hundreds of MB of memory |
| 42 | # for v6intThumb.c. | 45 | # for v6intThumb.c. |
| @@ -50,7 +53,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
| 50 | 53 | ||
| 51 | v8crypto_a_CFLAGS = $(AM_CFLAGS) -g -O0 -mfpu=crypto-neon-fp-armv8 -marm -march=armv8-a | 54 | v8crypto_a_CFLAGS = $(AM_CFLAGS) -g -O0 -mfpu=crypto-neon-fp-armv8 -marm -march=armv8-a |
| 52 | v8crypto_t_CFLAGS = $(AM_CFLAGS) -g -O0 -mfpu=crypto-neon-fp-armv8 -mthumb -march=armv8-a | 55 | v8crypto_t_CFLAGS = $(AM_CFLAGS) -g -O0 -mfpu=crypto-neon-fp-armv8 -mthumb -march=armv8-a |
| 53 | @@ -74,23 +74,23 @@ v8memory_t_CFLAGS = $(AM_CFLAGS) -g -O0 | 56 | @@ -74,23 +74,23 @@ v8memory_t_CFLAGS = $(AM_CFLAGS) -g -O0 \ |
| 54 | 57 | ||
| 55 | vcvt_fixed_float_VFP_CFLAGS = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 -mfpu=neon | 58 | vcvt_fixed_float_VFP_CFLAGS = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 -mfpu=neon |
| 56 | 59 | ||
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-memcheck-tests-Fix-timerfd-syscall-test.patch b/meta/recipes-devtools/valgrind/valgrind/0001-memcheck-tests-Fix-timerfd-syscall-test.patch index 29a9e95a90..fe652ccdb4 100644 --- a/meta/recipes-devtools/valgrind/valgrind/0001-memcheck-tests-Fix-timerfd-syscall-test.patch +++ b/meta/recipes-devtools/valgrind/valgrind/0001-memcheck-tests-Fix-timerfd-syscall-test.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 5d411fd147d652e9d7bb259f4048693c6e4742aa Mon Sep 17 00:00:00 2001 | 1 | From ddf3ac832d85bd9a1266c52ff3ae5ec88c4114db Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Mon, 9 Mar 2020 16:30:19 -0700 | 3 | Date: Mon, 9 Mar 2020 16:30:19 -0700 |
| 4 | Subject: [PATCH] memcheck/tests: Fix timerfd syscall test | 4 | Subject: [PATCH] memcheck/tests: Fix timerfd syscall test |
| @@ -10,14 +10,16 @@ have the implementation or syscall is not defined | |||
| 10 | Upstream-Status: Submitted [https://sourceforge.net/p/valgrind/mailman/message/36943897/] | 10 | Upstream-Status: Submitted [https://sourceforge.net/p/valgrind/mailman/message/36943897/] |
| 11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 12 | --- | 12 | --- |
| 13 | config.h.in | 9 +++++++++ | 13 | config.h.in | 3 +++ |
| 14 | configure.ac | 3 +++ | 14 | configure.ac | 1 + |
| 15 | memcheck/tests/linux/timerfd-syscall.c | 10 ++++++++-- | 15 | memcheck/tests/linux/timerfd-syscall.c | 14 +++++++++++--- |
| 16 | 5 files changed, 32 insertions(+), 2 deletions(-) | 16 | 3 files changed, 15 insertions(+), 3 deletions(-) |
| 17 | 17 | ||
| 18 | diff --git a/config.h.in b/config.h.in | ||
| 19 | index d2e8b26..f235dec 100644 | ||
| 18 | --- a/config.h.in | 20 | --- a/config.h.in |
| 19 | +++ b/config.h.in | 21 | +++ b/config.h.in |
| 20 | @@ -424,6 +424,9 @@ | 22 | @@ -406,6 +406,9 @@ |
| 21 | /* Define to 1 if you have the <sys/sysnvl.h> header file. */ | 23 | /* Define to 1 if you have the <sys/sysnvl.h> header file. */ |
| 22 | #undef HAVE_SYS_SYSNVL_H | 24 | #undef HAVE_SYS_SYSNVL_H |
| 23 | 25 | ||
| @@ -27,9 +29,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
| 27 | /* Define to 1 if you have the <sys/time.h> header file. */ | 29 | /* Define to 1 if you have the <sys/time.h> header file. */ |
| 28 | #undef HAVE_SYS_TIME_H | 30 | #undef HAVE_SYS_TIME_H |
| 29 | 31 | ||
| 32 | diff --git a/configure.ac b/configure.ac | ||
| 33 | index 75d42c9..b6ec119 100755 | ||
| 30 | --- a/configure.ac | 34 | --- a/configure.ac |
| 31 | +++ b/configure.ac | 35 | +++ b/configure.ac |
| 32 | @@ -4881,6 +4881,7 @@ AC_CHECK_HEADERS([ \ | 36 | @@ -4844,6 +4844,7 @@ AC_CHECK_HEADERS([ \ |
| 33 | sys/syscall.h \ | 37 | sys/syscall.h \ |
| 34 | sys/sysnvl.h \ | 38 | sys/sysnvl.h \ |
| 35 | sys/time.h \ | 39 | sys/time.h \ |
| @@ -37,6 +41,8 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
| 37 | sys/types.h \ | 41 | sys/types.h \ |
| 38 | ]) | 42 | ]) |
| 39 | 43 | ||
| 44 | diff --git a/memcheck/tests/linux/timerfd-syscall.c b/memcheck/tests/linux/timerfd-syscall.c | ||
| 45 | index 61d75b5..1ba888a 100644 | ||
| 40 | --- a/memcheck/tests/linux/timerfd-syscall.c | 46 | --- a/memcheck/tests/linux/timerfd-syscall.c |
| 41 | +++ b/memcheck/tests/linux/timerfd-syscall.c | 47 | +++ b/memcheck/tests/linux/timerfd-syscall.c |
| 42 | @@ -42,6 +42,9 @@ | 48 | @@ -42,6 +42,9 @@ |
| @@ -80,7 +86,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
| 80 | 86 | ||
| 81 | 87 | ||
| 82 | /* Definitions from include/linux/timerfd.h */ | 88 | /* Definitions from include/linux/timerfd.h */ |
| 83 | @@ -124,6 +130,7 @@ void set_timespec(struct timespec *tmr, | 89 | @@ -124,6 +130,7 @@ void set_timespec(struct timespec *tmr, unsigned long long ustime) |
| 84 | tmr->tv_nsec = (long) (1000ULL * (ustime % 1000000ULL)); | 90 | tmr->tv_nsec = (long) (1000ULL * (ustime % 1000000ULL)); |
| 85 | } | 91 | } |
| 86 | 92 | ||
| @@ -88,7 +94,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
| 88 | int timerfd_create(int clockid, int flags) | 94 | int timerfd_create(int clockid, int flags) |
| 89 | { | 95 | { |
| 90 | return syscall(__NR_timerfd_create, clockid, flags); | 96 | return syscall(__NR_timerfd_create, clockid, flags); |
| 91 | @@ -139,6 +146,7 @@ int timerfd_gettime(int ufc, struct itim | 97 | @@ -139,6 +146,7 @@ int timerfd_gettime(int ufc, struct itimerspec *otmr) |
| 92 | { | 98 | { |
| 93 | return syscall(__NR_timerfd_gettime, ufc, otmr); | 99 | return syscall(__NR_timerfd_gettime, ufc, otmr); |
| 94 | } | 100 | } |
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-memcheck-vgtests-remove-fullpath-after-flags.patch b/meta/recipes-devtools/valgrind/valgrind/0001-memcheck-vgtests-remove-fullpath-after-flags.patch index dce8b52ba3..bb32fa0bda 100644 --- a/meta/recipes-devtools/valgrind/valgrind/0001-memcheck-vgtests-remove-fullpath-after-flags.patch +++ b/meta/recipes-devtools/valgrind/valgrind/0001-memcheck-vgtests-remove-fullpath-after-flags.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 3ff82dcb844f98dbf67c69f11f6516bc234725a9 Mon Sep 17 00:00:00 2001 | 1 | From f5c0021a016116c53d21d8d5902ea92e682658b6 Mon Sep 17 00:00:00 2001 |
| 2 | From: Stacy Gaikovaia <Stacy.Gaikovaia@windriver.com> | 2 | From: Stacy Gaikovaia <Stacy.Gaikovaia@windriver.com> |
| 3 | Date: Wed, 16 Sep 2020 13:45:07 -0400 | 3 | Date: Wed, 16 Sep 2020 13:45:07 -0400 |
| 4 | Subject: [PATCH] memcheck vgtests remove fullpath-after flags | 4 | Subject: [PATCH] memcheck vgtests remove fullpath-after flags |
| @@ -20,7 +20,7 @@ Signed-off-by: Stacy Gaikovaia <Stacy.Gaikovaia@windriver.com> | |||
| 20 | 2 files changed, 2 insertions(+), 2 deletions(-) | 20 | 2 files changed, 2 insertions(+), 2 deletions(-) |
| 21 | 21 | ||
| 22 | diff --git a/memcheck/tests/badfree3.vgtest b/memcheck/tests/badfree3.vgtest | 22 | diff --git a/memcheck/tests/badfree3.vgtest b/memcheck/tests/badfree3.vgtest |
| 23 | index 3dfc5fd8a..4ee03f00a 100644 | 23 | index 3dfc5fd..4ee03f0 100644 |
| 24 | --- a/memcheck/tests/badfree3.vgtest | 24 | --- a/memcheck/tests/badfree3.vgtest |
| 25 | +++ b/memcheck/tests/badfree3.vgtest | 25 | +++ b/memcheck/tests/badfree3.vgtest |
| 26 | @@ -1,3 +1,3 @@ | 26 | @@ -1,3 +1,3 @@ |
| @@ -29,7 +29,7 @@ index 3dfc5fd8a..4ee03f00a 100644 | |||
| 29 | +vgopts: -q | 29 | +vgopts: -q |
| 30 | stderr_filter_args: badfree.c | 30 | stderr_filter_args: badfree.c |
| 31 | diff --git a/memcheck/tests/varinfo5.vgtest b/memcheck/tests/varinfo5.vgtest | 31 | diff --git a/memcheck/tests/varinfo5.vgtest b/memcheck/tests/varinfo5.vgtest |
| 32 | index 063d00dce..79c4a72a4 100644 | 32 | index 063d00d..79c4a72 100644 |
| 33 | --- a/memcheck/tests/varinfo5.vgtest | 33 | --- a/memcheck/tests/varinfo5.vgtest |
| 34 | +++ b/memcheck/tests/varinfo5.vgtest | 34 | +++ b/memcheck/tests/varinfo5.vgtest |
| 35 | @@ -1,3 +1,3 @@ | 35 | @@ -1,3 +1,3 @@ |
| @@ -37,6 +37,3 @@ index 063d00dce..79c4a72a4 100644 | |||
| 37 | -vgopts: --fullpath-after=memcheck/ --fullpath-after=coregrind/ --read-var-info=yes --read-inline-info=yes -q | 37 | -vgopts: --fullpath-after=memcheck/ --fullpath-after=coregrind/ --read-var-info=yes --read-inline-info=yes -q |
| 38 | +vgopts: --read-var-info=yes --read-inline-info=yes -q | 38 | +vgopts: --read-var-info=yes --read-inline-info=yes -q |
| 39 | stderr_filter: filter_varinfo3 | 39 | stderr_filter: filter_varinfo3 |
| 40 | -- | ||
| 41 | 2.25.1 | ||
| 42 | |||
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-none-tests-fdleak_cmsg.stderr.exp-adjust-tmp-paths.patch b/meta/recipes-devtools/valgrind/valgrind/0001-none-tests-fdleak_cmsg.stderr.exp-adjust-tmp-paths.patch index e421ac6c80..10e7d71622 100644 --- a/meta/recipes-devtools/valgrind/valgrind/0001-none-tests-fdleak_cmsg.stderr.exp-adjust-tmp-paths.patch +++ b/meta/recipes-devtools/valgrind/valgrind/0001-none-tests-fdleak_cmsg.stderr.exp-adjust-tmp-paths.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From f405297d3382cd98391d02f397e2387da1f42879 Mon Sep 17 00:00:00 2001 | 1 | From 4c27b9259f4aa1b4dc0741c56ab90b6c57905564 Mon Sep 17 00:00:00 2001 |
| 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
| 3 | Date: Fri, 24 Jan 2020 17:55:39 +0100 | 3 | Date: Fri, 24 Jan 2020 17:55:39 +0100 |
| 4 | Subject: [PATCH] none/tests/fdleak_cmsg.stderr.exp: adjust /tmp paths | 4 | Subject: [PATCH] none/tests/fdleak_cmsg.stderr.exp: adjust /tmp paths |
| @@ -13,7 +13,7 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | |||
| 13 | 1 file changed, 2 insertions(+), 2 deletions(-) | 13 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 14 | 14 | ||
| 15 | diff --git a/none/tests/fdleak_cmsg.stderr.exp b/none/tests/fdleak_cmsg.stderr.exp | 15 | diff --git a/none/tests/fdleak_cmsg.stderr.exp b/none/tests/fdleak_cmsg.stderr.exp |
| 16 | index 6e5a797b9..0ede1ab18 100644 | 16 | index 0fe56ea..5a0605e 100644 |
| 17 | --- a/none/tests/fdleak_cmsg.stderr.exp | 17 | --- a/none/tests/fdleak_cmsg.stderr.exp |
| 18 | +++ b/none/tests/fdleak_cmsg.stderr.exp | 18 | +++ b/none/tests/fdleak_cmsg.stderr.exp |
| 19 | @@ -25,10 +25,10 @@ Open file descriptor ...: /dev/null | 19 | @@ -25,10 +25,10 @@ Open file descriptor ...: /dev/null |
| @@ -29,6 +29,3 @@ index 6e5a797b9..0ede1ab18 100644 | |||
| 29 | ... | 29 | ... |
| 30 | 30 | ||
| 31 | Open AF_UNIX socket ...: <unknown> | 31 | Open AF_UNIX socket ...: <unknown> |
| 32 | -- | ||
| 33 | 2.17.1 | ||
| 34 | |||
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-sigqueue-Rename-_sifields-to-__si_fields-on-musl.patch b/meta/recipes-devtools/valgrind/valgrind/0001-sigqueue-Rename-_sifields-to-__si_fields-on-musl.patch index 27366153f7..1f2cce1a55 100644 --- a/meta/recipes-devtools/valgrind/valgrind/0001-sigqueue-Rename-_sifields-to-__si_fields-on-musl.patch +++ b/meta/recipes-devtools/valgrind/valgrind/0001-sigqueue-Rename-_sifields-to-__si_fields-on-musl.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From 64ad2744acfb4fa40b1c114633a053f87125a203 Mon Sep 17 00:00:00 2001 | 1 | From 4dddd9e533847f07327cde9a062fc7cbba9d5584 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Sat, 10 Jun 2017 00:46:39 -0700 | 3 | Date: Sat, 10 Jun 2017 00:46:39 -0700 |
| 4 | Subject: [PATCH 1/6] sigqueue: Rename _sifields to __si_fields on musl | 4 | Subject: [PATCH] sigqueue: Rename _sifields to __si_fields on musl |
| 5 | 5 | ||
| 6 | Upstream-Status: Pending | 6 | Upstream-Status: Pending |
| 7 | 7 | ||
| @@ -11,7 +11,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
| 11 | 1 file changed, 5 insertions(+) | 11 | 1 file changed, 5 insertions(+) |
| 12 | 12 | ||
| 13 | diff --git a/memcheck/tests/linux/sigqueue.c b/memcheck/tests/linux/sigqueue.c | 13 | diff --git a/memcheck/tests/linux/sigqueue.c b/memcheck/tests/linux/sigqueue.c |
| 14 | index d18bd72..acb7cba 100644 | 14 | index 4b6fb0f..d37fe93 100644 |
| 15 | --- a/memcheck/tests/linux/sigqueue.c | 15 | --- a/memcheck/tests/linux/sigqueue.c |
| 16 | +++ b/memcheck/tests/linux/sigqueue.c | 16 | +++ b/memcheck/tests/linux/sigqueue.c |
| 17 | @@ -8,6 +8,11 @@ | 17 | @@ -8,6 +8,11 @@ |
| @@ -26,6 +26,3 @@ index d18bd72..acb7cba 100644 | |||
| 26 | int main(int argc, char **argv) | 26 | int main(int argc, char **argv) |
| 27 | { | 27 | { |
| 28 | siginfo_t *si; | 28 | siginfo_t *si; |
| 29 | -- | ||
| 30 | 2.13.1 | ||
| 31 | |||
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-tests-arm-Use-O-instead-of-O0.patch b/meta/recipes-devtools/valgrind/valgrind/0001-tests-arm-Use-O-instead-of-O0.patch index 2d28bcb6c4..a5afc78b07 100644 --- a/meta/recipes-devtools/valgrind/valgrind/0001-tests-arm-Use-O-instead-of-O0.patch +++ b/meta/recipes-devtools/valgrind/valgrind/0001-tests-arm-Use-O-instead-of-O0.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 8e907753625faba3284925983ef8e83f8491aa76 Mon Sep 17 00:00:00 2001 | 1 | From 0fba6bce02108b355a291f7dcb9497d0c7291e6b Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Fri, 10 May 2024 17:44:47 -0700 | 3 | Date: Fri, 10 May 2024 17:44:47 -0700 |
| 4 | Subject: [PATCH] tests/arm: Use -O instead of -O0 | 4 | Subject: [PATCH] tests/arm: Use -O instead of -O0 |
| @@ -15,12 +15,14 @@ we have enough of it on build host. | |||
| 15 | Upstream-Status: Inappropriate [WORKAROUND] | 15 | Upstream-Status: Inappropriate [WORKAROUND] |
| 16 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 16 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 17 | --- | 17 | --- |
| 18 | none/tests/arm/Makefile.am | 2 +- | 18 | none/tests/arm/Makefile.am | 4 ++-- |
| 19 | 1 file changed, 1 insertion(+), 1 deletion(-) | 19 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 20 | 20 | ||
| 21 | diff --git a/none/tests/arm/Makefile.am b/none/tests/arm/Makefile.am | ||
| 22 | index a76981e..a198f73 100644 | ||
| 21 | --- a/none/tests/arm/Makefile.am | 23 | --- a/none/tests/arm/Makefile.am |
| 22 | +++ b/none/tests/arm/Makefile.am | 24 | +++ b/none/tests/arm/Makefile.am |
| 23 | @@ -57,9 +57,9 @@ allexec_CFLAGS = $(AM_CFLAGS) @FLAG_W_N | 25 | @@ -57,9 +57,9 @@ allexec_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_NONNULL@ |
| 24 | # Also force -O0 since -O takes hundreds of MB of memory | 26 | # Also force -O0 since -O takes hundreds of MB of memory |
| 25 | # for v6intThumb.c. | 27 | # for v6intThumb.c. |
| 26 | v6intARM_CFLAGS = $(AM_CFLAGS) -g -O0 -marm | 28 | v6intARM_CFLAGS = $(AM_CFLAGS) -g -O0 -marm |
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-valgrind-filter_xml_frames-do-not-filter-usr.patch b/meta/recipes-devtools/valgrind/valgrind/0001-valgrind-filter_xml_frames-do-not-filter-usr.patch index bf0f0ded21..974c1a2362 100644 --- a/meta/recipes-devtools/valgrind/valgrind/0001-valgrind-filter_xml_frames-do-not-filter-usr.patch +++ b/meta/recipes-devtools/valgrind/valgrind/0001-valgrind-filter_xml_frames-do-not-filter-usr.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From d1dea3c2bcf1e22baab39e2c0b8ca59db8a5bc37 Mon Sep 17 00:00:00 2001 | 1 | From a7437450577c324d6f85a6e9d7b61be76555d49a Mon Sep 17 00:00:00 2001 |
| 2 | From: Randy MacLeod <Randy.MacLeod@windriver.com> | 2 | From: Randy MacLeod <Randy.MacLeod@windriver.com> |
| 3 | Date: Mon, 13 May 2019 17:12:21 -0400 | 3 | Date: Mon, 13 May 2019 17:12:21 -0400 |
| 4 | Subject: [PATCH 1/2] valgrind: filter_xml_frames: do not filter /usr | 4 | Subject: [PATCH] valgrind: filter_xml_frames: do not filter /usr |
| 5 | 5 | ||
| 6 | filter_xml_frames is intended to filter system paths under | 6 | filter_xml_frames is intended to filter system paths under |
| 7 | '/usr' that vary from platform to platform. In the ptest case | 7 | '/usr' that vary from platform to platform. In the ptest case |
| @@ -21,7 +21,7 @@ Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> | |||
| 21 | 1 file changed, 2 insertions(+), 1 deletion(-) | 21 | 1 file changed, 2 insertions(+), 1 deletion(-) |
| 22 | 22 | ||
| 23 | diff --git a/tests/filter_xml_frames b/tests/filter_xml_frames | 23 | diff --git a/tests/filter_xml_frames b/tests/filter_xml_frames |
| 24 | index f1fa3f070..04fbc82de 100755 | 24 | index f1fa3f0..04fbc82 100755 |
| 25 | --- a/tests/filter_xml_frames | 25 | --- a/tests/filter_xml_frames |
| 26 | +++ b/tests/filter_xml_frames | 26 | +++ b/tests/filter_xml_frames |
| 27 | @@ -47,7 +47,8 @@ while (my $line = <>) | 27 | @@ -47,7 +47,8 @@ while (my $line = <>) |
| @@ -34,6 +34,3 @@ index f1fa3f070..04fbc82de 100755 | |||
| 34 | } | 34 | } |
| 35 | } | 35 | } |
| 36 | 36 | ||
| 37 | -- | ||
| 38 | 2.17.0 | ||
| 39 | |||
diff --git a/meta/recipes-devtools/valgrind/valgrind/0003-correct-include-directive-path-for-config.h.patch b/meta/recipes-devtools/valgrind/valgrind/0003-correct-include-directive-path-for-config.h.patch index c2965c40df..21725f3d3c 100644 --- a/meta/recipes-devtools/valgrind/valgrind/0003-correct-include-directive-path-for-config.h.patch +++ b/meta/recipes-devtools/valgrind/valgrind/0003-correct-include-directive-path-for-config.h.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From ecbdea7bd8b08205f1bc3f6b72d4b4a80f313fcb Mon Sep 17 00:00:00 2001 | 1 | From fbddd889e2fbc1195009d8947211b8900c03c641 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Sat, 10 Jun 2017 01:03:17 -0700 | 3 | Date: Sat, 10 Jun 2017 01:03:17 -0700 |
| 4 | Subject: [PATCH 3/6] correct include directive path for config.h | 4 | Subject: [PATCH] correct include directive path for config.h |
| 5 | 5 | ||
| 6 | when building out of source tree, it can not find | 6 | when building out of source tree, it can not find |
| 7 | the generated config.h otherwise | 7 | the generated config.h otherwise |
| @@ -15,7 +15,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
| 15 | 2 files changed, 2 insertions(+), 2 deletions(-) | 15 | 2 files changed, 2 insertions(+), 2 deletions(-) |
| 16 | 16 | ||
| 17 | diff --git a/memcheck/tests/linux/syscalls-2007.c b/memcheck/tests/linux/syscalls-2007.c | 17 | diff --git a/memcheck/tests/linux/syscalls-2007.c b/memcheck/tests/linux/syscalls-2007.c |
| 18 | index b61c6d5..cc3fd62 100644 | 18 | index b91df82..c15c3eb 100644 |
| 19 | --- a/memcheck/tests/linux/syscalls-2007.c | 19 | --- a/memcheck/tests/linux/syscalls-2007.c |
| 20 | +++ b/memcheck/tests/linux/syscalls-2007.c | 20 | +++ b/memcheck/tests/linux/syscalls-2007.c |
| 21 | @@ -10,7 +10,7 @@ | 21 | @@ -10,7 +10,7 @@ |
| @@ -40,6 +40,3 @@ index 1143722..21e758b 100644 | |||
| 40 | #include <stdio.h> | 40 | #include <stdio.h> |
| 41 | #if defined(HAVE_SYS_KLOG_H) | 41 | #if defined(HAVE_SYS_KLOG_H) |
| 42 | #include <sys/klog.h> | 42 | #include <sys/klog.h> |
| 43 | -- | ||
| 44 | 2.13.1 | ||
| 45 | |||
diff --git a/meta/recipes-devtools/valgrind/valgrind/0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch b/meta/recipes-devtools/valgrind/valgrind/0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch deleted file mode 100644 index fea3b00f62..0000000000 --- a/meta/recipes-devtools/valgrind/valgrind/0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch +++ /dev/null | |||
| @@ -1,257 +0,0 @@ | |||
| 1 | From e244a72c6f8803550f37e81f72bbae039651013b Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
| 3 | Date: Tue, 15 Dec 2015 15:50:44 +0200 | ||
| 4 | Subject: [PATCH] Modify vg_test wrapper to support PTEST formats | ||
| 5 | |||
| 6 | Change the valgrind regression test script vg_regtest to | ||
| 7 | support the yocto ptest stdout reporting format. The commit adds | ||
| 8 | '--yocto-ptest' as an optional argument to vg_regtest, which alters | ||
| 9 | the output to use the ptest infrastructure reporting format: | ||
| 10 | "[PASS|SKIP|FAIL]: testname" | ||
| 11 | instead of valgrind's internal test reporting format. Without the added | ||
| 12 | option, --yocto-ptest, the valgrind regression test output is unchanged. | ||
| 13 | |||
| 14 | Enforce 30 seconds limit for the test. | ||
| 15 | This resume execution of the remaining tests when valgrind hangs. | ||
| 16 | |||
| 17 | Upstream-Status: Inappropriate [oe-core specific] | ||
| 18 | |||
| 19 | Signed-off-by: Dave Lerner <dave.lerner@windriver.com> | ||
| 20 | Signed-off-by: Tudor Florea <tudor.florea@enea.com> | ||
| 21 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
| 22 | |||
| 23 | Increase time limit to 90 s. | ||
| 24 | (double of the expected time of drd/tests/std_list on qemuarm64) | ||
| 25 | |||
| 26 | Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> | ||
| 27 | --- | ||
| 28 | tests/vg_regtest.in | 75 +++++++++++++++++++++++++++++++++------------ | ||
| 29 | 1 file changed, 55 insertions(+), 20 deletions(-) | ||
| 30 | |||
| 31 | diff --git a/tests/vg_regtest.in b/tests/vg_regtest.in | ||
| 32 | index ad18800..e4bd8cb 100755 | ||
| 33 | --- a/tests/vg_regtest.in | ||
| 34 | +++ b/tests/vg_regtest.in | ||
| 35 | @@ -47,6 +47,7 @@ | ||
| 36 | # --loop-till-fail: loops on the test(s) till one fail, then exit | ||
| 37 | # This is useful to obtain detailed trace or --keep-unfiltered | ||
| 38 | # output of a non deterministic test failure | ||
| 39 | +# --yocto-ptest: output in yocto ptest format | ||
| 40 | # | ||
| 41 | # The easiest way is to run all tests in valgrind/ with (assuming you installed | ||
| 42 | # in $PREFIX): | ||
| 43 | @@ -139,7 +140,7 @@ my $usage="\n" | ||
| 44 | . "Usage:\n" | ||
| 45 | . " vg_regtest [--all, --valgrind, --valgrind-lib, --keep-unfiltered\n" | ||
| 46 | . " --outer-valgrind, --outer-tool, --outer-args\n" | ||
| 47 | - . " --loop-till-fail]\n" | ||
| 48 | + . " --loop-till-fail, --yocto-ptest]\n" | ||
| 49 | . " Use EXTRA_REGTEST_OPTS to supply extra args for all tests\n" | ||
| 50 | . "\n"; | ||
| 51 | |||
| 52 | @@ -187,6 +188,7 @@ my $run_outer_args = ""; | ||
| 53 | my $valgrind_lib = "$tests_dir/.in_place"; | ||
| 54 | my $keepunfiltered = 0; | ||
| 55 | my $looptillfail = 0; | ||
| 56 | +my $yoctoptest = 0; | ||
| 57 | |||
| 58 | # default filter is the one named "filter_stderr" in the test's directory | ||
| 59 | my $default_stderr_filter = "filter_stderr"; | ||
| 60 | @@ -245,6 +247,8 @@ sub process_command_line() | ||
| 61 | $keepunfiltered = 1; | ||
| 62 | } elsif ($arg =~ /^--loop-till-fail$/) { | ||
| 63 | $looptillfail = 1; | ||
| 64 | + } elsif ($arg =~ /^--yocto-ptest$/) { | ||
| 65 | + $yoctoptest = 1; | ||
| 66 | } else { | ||
| 67 | die $usage; | ||
| 68 | } | ||
| 69 | @@ -376,13 +380,28 @@ sub read_vgtest_file($) | ||
| 70 | #---------------------------------------------------------------------------- | ||
| 71 | # Since most of the program time is spent in system() calls, need this to | ||
| 72 | # propagate a Ctrl-C enabling us to quit. | ||
| 73 | -sub mysystem($) | ||
| 74 | +# Enforce 90 seconds limit for the test. | ||
| 75 | +# This resume execution of the remaining tests if valgrind hangs. | ||
| 76 | +sub mysystem($) | ||
| 77 | { | ||
| 78 | - my $exit_code = system($_[0]); | ||
| 79 | - ($exit_code == 2) and exit 1; # 2 is SIGINT | ||
| 80 | - return $exit_code; | ||
| 81 | + my $exit_code=0; | ||
| 82 | + eval { | ||
| 83 | + local $SIG{'ALRM'} = sub { die "timed out\n" }; | ||
| 84 | + alarm(90); | ||
| 85 | + $exit_code = system($_[0]); | ||
| 86 | + alarm (0); | ||
| 87 | + ($exit_code == 2) and die "SIGINT\n"; # 2 is SIGINT | ||
| 88 | + }; | ||
| 89 | + if ($@) { | ||
| 90 | + if ($@ eq "timed out\n") { | ||
| 91 | + print "timed out\n"; | ||
| 92 | + return 1; | ||
| 93 | + } | ||
| 94 | + if ($@ eq "SIGINT\n") { | ||
| 95 | + exit 1; | ||
| 96 | + } | ||
| 97 | + } | ||
| 98 | } | ||
| 99 | - | ||
| 100 | # if $keepunfiltered, copies $1 to $1.unfiltered.out | ||
| 101 | # renames $0 tp $1 | ||
| 102 | sub filtered_rename($$) | ||
| 103 | @@ -430,23 +449,25 @@ sub do_diffs($$$$) | ||
| 104 | # A match; remove .out and any previously created .diff files. | ||
| 105 | unlink("$name.$mid.out"); | ||
| 106 | unlink(<$name.$mid.diff*>); | ||
| 107 | - return; | ||
| 108 | + return 0; | ||
| 109 | } | ||
| 110 | } | ||
| 111 | } | ||
| 112 | # If we reach here, none of the .exp files matched. | ||
| 113 | - print "*** $name failed ($mid) ***\n"; | ||
| 114 | + print "*** $name failed ($mid) ***\n" if ($yoctoptest == 0) ; | ||
| 115 | push(@failures, sprintf("%-40s ($mid)", "$fullname")); | ||
| 116 | $num_failures{$mid}++; | ||
| 117 | if ($looptillfail == 1) { | ||
| 118 | print "Failure encountered, stopping to loop\n"; | ||
| 119 | exit 1 | ||
| 120 | } | ||
| 121 | + return 1; | ||
| 122 | } | ||
| 123 | |||
| 124 | sub do_one_test($$) | ||
| 125 | { | ||
| 126 | my ($dir, $vgtest) = @_; | ||
| 127 | + my $diffStatus = 0; | ||
| 128 | $vgtest =~ /^(.*)\.vgtest/; | ||
| 129 | my $name = $1; | ||
| 130 | my $fullname = "$dir/$name"; | ||
| 131 | @@ -465,7 +486,11 @@ sub do_one_test($$) | ||
| 132 | } elsif (256 == $prereq_res) { | ||
| 133 | # Nb: weird Perl-ism -- exit code of '1' is seen by Perl as 256... | ||
| 134 | # Prereq failed, skip. | ||
| 135 | - printf("%-16s (skipping, prereq failed: $prereq)\n", "$name:"); | ||
| 136 | + if ($yoctoptest == 0) { | ||
| 137 | + printf("%-16s (skipping, prereq failed: $prereq)\n", "$name:"); | ||
| 138 | + } else { | ||
| 139 | + printf("SKIP: $fullname\n"); | ||
| 140 | + } | ||
| 141 | return; | ||
| 142 | } else { | ||
| 143 | # Bad prereq; abort. | ||
| 144 | @@ -483,7 +508,7 @@ sub do_one_test($$) | ||
| 145 | } | ||
| 146 | # If there is a progB, let's start it in background: | ||
| 147 | printf("%-16s valgrind $extraopts $vgopts $prog $args (progB: $progB $argsB)\n", | ||
| 148 | - "$name:"); | ||
| 149 | + "$name:") if ($yoctoptest == 0); | ||
| 150 | # progB.done used to detect child has finished. See below. | ||
| 151 | # Note: redirection of stdout and stderr is before $progB to allow argsB | ||
| 152 | # to e.g. redirect stdoutB to stderrB | ||
| 153 | @@ -499,7 +524,8 @@ sub do_one_test($$) | ||
| 154 | . "touch progB.done) &"); | ||
| 155 | } | ||
| 156 | } else { | ||
| 157 | - printf("%-16s valgrind $extraopts $vgopts $prog $args\n", "$name:"); | ||
| 158 | + printf("%-16s valgrind $extraopts $vgopts $prog $args\n", "$name:") | ||
| 159 | + if ($yoctoptest == 0); | ||
| 160 | } | ||
| 161 | |||
| 162 | # Collect environment variables, if any. | ||
| 163 | @@ -540,7 +566,7 @@ sub do_one_test($$) | ||
| 164 | # Find all the .stdout.exp files. If none, use /dev/null. | ||
| 165 | my @stdout_exps = <$name.stdout.exp*>; | ||
| 166 | @stdout_exps = ( "/dev/null" ) if (0 == scalar @stdout_exps); | ||
| 167 | - do_diffs($fullname, $name, "stdout", \@stdout_exps); | ||
| 168 | + $diffStatus |= do_diffs($fullname, $name, "stdout", \@stdout_exps); | ||
| 169 | |||
| 170 | # Filter stderr | ||
| 171 | $stderr_filter_args = $name if (! defined $stderr_filter_args); | ||
| 172 | @@ -549,7 +575,7 @@ sub do_one_test($$) | ||
| 173 | # Find all the .stderr.exp files. At least one must exist. | ||
| 174 | my @stderr_exps = <$name.stderr.exp*>; | ||
| 175 | (0 != scalar @stderr_exps) or die "Could not find `$name.stderr.exp*'\n"; | ||
| 176 | - do_diffs($fullname, $name, "stderr", \@stderr_exps); | ||
| 177 | + $diffStatus |= do_diffs($fullname, $name, "stderr", \@stderr_exps); | ||
| 178 | |||
| 179 | if (defined $progB) { | ||
| 180 | # wait for the child to be finished | ||
| 181 | @@ -573,7 +599,7 @@ sub do_one_test($$) | ||
| 182 | # Find all the .stdoutB.exp files. If none, use /dev/null. | ||
| 183 | my @stdoutB_exps = <$name.stdoutB.exp*>; | ||
| 184 | @stdoutB_exps = ( "/dev/null" ) if (0 == scalar @stdoutB_exps); | ||
| 185 | - do_diffs($fullname, $name, "stdoutB", \@stdoutB_exps); | ||
| 186 | + $diffStatus |= do_diffs($fullname, $name, "stdoutB", \@stdoutB_exps); | ||
| 187 | |||
| 188 | # Filter stderr | ||
| 189 | $stderrB_filter_args = $name if (! defined $stderrB_filter_args); | ||
| 190 | @@ -582,7 +608,7 @@ sub do_one_test($$) | ||
| 191 | # Find all the .stderrB.exp files. At least one must exist. | ||
| 192 | my @stderrB_exps = <$name.stderrB.exp*>; | ||
| 193 | (0 != scalar @stderrB_exps) or die "Could not find `$name.stderrB.exp*'\n"; | ||
| 194 | - do_diffs($fullname, $name, "stderrB", \@stderrB_exps); | ||
| 195 | + $diffStatus |= do_diffs($fullname, $name, "stderrB", \@stderrB_exps); | ||
| 196 | } | ||
| 197 | |||
| 198 | # Maybe do post-test check | ||
| 199 | @@ -594,7 +620,7 @@ sub do_one_test($$) | ||
| 200 | # Find all the .post.exp files. If none, use /dev/null. | ||
| 201 | my @post_exps = <$name.post.exp*>; | ||
| 202 | @post_exps = ( "/dev/null" ) if (0 == scalar @post_exps); | ||
| 203 | - do_diffs($fullname, $name, "post", \@post_exps); | ||
| 204 | + $diffStatus |= do_diffs($fullname, $name, "post", \@post_exps); | ||
| 205 | } | ||
| 206 | } | ||
| 207 | |||
| 208 | @@ -603,6 +629,13 @@ sub do_one_test($$) | ||
| 209 | print("(cleanup operation failed: $cleanup)\n"); | ||
| 210 | } | ||
| 211 | |||
| 212 | + if ($yoctoptest == 1) { | ||
| 213 | + if ($diffStatus == 0) { | ||
| 214 | + print("PASS: $fullname\n"); | ||
| 215 | + } else { | ||
| 216 | + print("FAIL: $fullname\n"); | ||
| 217 | + } | ||
| 218 | + } | ||
| 219 | $num_tests_done++; | ||
| 220 | } | ||
| 221 | |||
| 222 | @@ -643,7 +676,7 @@ sub test_one_dir($$) | ||
| 223 | |||
| 224 | my $tests_start_time = time; | ||
| 225 | if ($found_tests) { | ||
| 226 | - print "-- Running tests in $full_dir $dashes\n"; | ||
| 227 | + print "-- Running tests in $full_dir $dashes\n" if ($yoctoptest == 0); | ||
| 228 | } | ||
| 229 | foreach my $f (@fs) { | ||
| 230 | if (-d $f) { | ||
| 231 | @@ -657,7 +690,7 @@ sub test_one_dir($$) | ||
| 232 | my $end_time = "(in $tests_cost_time sec)"; | ||
| 233 | my $end_dashes = "-" x (50 - (length $full_dir) | ||
| 234 | - (length $end_time) - 1); | ||
| 235 | - print "-- Finished tests in $full_dir $end_time $end_dashes\n"; | ||
| 236 | + print "-- Finished tests in $full_dir $dashes\n" if ($yoctoptest == 0); | ||
| 237 | } | ||
| 238 | |||
| 239 | chdir(".."); | ||
| 240 | @@ -683,10 +716,12 @@ sub summarise_results | ||
| 241 | $num_failures{"stdout"}, plural($num_failures{"stdout"}), | ||
| 242 | $num_failures{"stderrB"}, plural($num_failures{"stderrB"}), | ||
| 243 | $num_failures{"stdoutB"}, plural($num_failures{"stdoutB"}), | ||
| 244 | - $num_failures{"post"}, plural($num_failures{"post"})); | ||
| 245 | + $num_failures{"post"}, plural($num_failures{"post"})) | ||
| 246 | + if ($yoctoptest == 0); | ||
| 247 | |||
| 248 | foreach my $failure (@failures) { | ||
| 249 | - print "$failure\n"; | ||
| 250 | + print "$failure\n" | ||
| 251 | + if ($yoctoptest == 0); | ||
| 252 | } | ||
| 253 | print "\n"; | ||
| 254 | } | ||
| 255 | -- | ||
| 256 | 2.30.2 | ||
| 257 | |||
diff --git a/meta/recipes-devtools/valgrind/valgrind/Added-support-for-PPC-instructions-mfatbu-mfatbl.patch b/meta/recipes-devtools/valgrind/valgrind/Added-support-for-PPC-instructions-mfatbu-mfatbl.patch index 65de427d36..24b9edbccf 100644 --- a/meta/recipes-devtools/valgrind/valgrind/Added-support-for-PPC-instructions-mfatbu-mfatbl.patch +++ b/meta/recipes-devtools/valgrind/valgrind/Added-support-for-PPC-instructions-mfatbu-mfatbl.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 0bf4b0ac18d1ea41b32ad781d214b295ca1998f3 Mon Sep 17 00:00:00 2001 | 1 | From 6e914403985f3f094e318b06ee206f7df16215cf Mon Sep 17 00:00:00 2001 |
| 2 | From: Aneesh Bansal <aneesh.bansal@freescale.com> | 2 | From: Aneesh Bansal <aneesh.bansal@freescale.com> |
| 3 | Date: Mon, 21 Nov 2011 17:31:39 +0530 | 3 | Date: Mon, 21 Nov 2011 17:31:39 +0530 |
| 4 | Subject: [PATCH] Added support for PPC instructions mfatbu, mfatbl. | 4 | Subject: [PATCH] Added support for PPC instructions mfatbu, mfatbl. |
| @@ -11,15 +11,16 @@ Upstream-Status: Submitted [https://bugs.kde.org/show_bug.cgi?id=289836] | |||
| 11 | 11 | ||
| 12 | Signed-off-by: Aneesh Bansal <aneesh.bansal@freescale.com> | 12 | Signed-off-by: Aneesh Bansal <aneesh.bansal@freescale.com> |
| 13 | --- | 13 | --- |
| 14 | VEX/priv/guest_ppc_defs.h | 2 ++ | ||
| 15 | VEX/priv/guest_ppc_helpers.c | 18 ++++++++++++++++++ | ||
| 16 | VEX/priv/guest_ppc_toIR.c | 22 ++++++++++++++++++++++ | ||
| 17 | 3 files changed, 42 insertions(+) | ||
| 14 | 18 | ||
| 15 | VEX/priv/guest_ppc_defs.h | 2 ++ | 19 | diff --git a/VEX/priv/guest_ppc_defs.h b/VEX/priv/guest_ppc_defs.h |
| 16 | VEX/priv/guest_ppc_helpers.c | 18 ++++++++++++++++++ | 20 | index 220fbf1..cd259f3 100644 |
| 17 | VEX/priv/guest_ppc_toIR.c | 22 ++++++++++++++++++++++ | ||
| 18 | 3 files changed, 42 insertions(+), 0 deletions(-) | ||
| 19 | |||
| 20 | --- a/VEX/priv/guest_ppc_defs.h | 21 | --- a/VEX/priv/guest_ppc_defs.h |
| 21 | +++ b/VEX/priv/guest_ppc_defs.h | 22 | +++ b/VEX/priv/guest_ppc_defs.h |
| 22 | @@ -233,6 +233,8 @@ extern UInt ppc32g_dirtyhelper_MFSPR_268 | 23 | @@ -233,6 +233,8 @@ extern UInt ppc32g_dirtyhelper_MFSPR_268_269 ( UInt ); |
| 23 | 24 | ||
| 24 | extern UInt ppc32g_dirtyhelper_MFSPR_287 ( void ); | 25 | extern UInt ppc32g_dirtyhelper_MFSPR_287 ( void ); |
| 25 | 26 | ||
| @@ -28,9 +29,11 @@ Signed-off-by: Aneesh Bansal <aneesh.bansal@freescale.com> | |||
| 28 | extern void ppc32g_dirtyhelper_LVS ( VexGuestPPC32State* gst, | 29 | extern void ppc32g_dirtyhelper_LVS ( VexGuestPPC32State* gst, |
| 29 | UInt vD_idx, UInt sh, | 30 | UInt vD_idx, UInt sh, |
| 30 | UInt shift_right ); | 31 | UInt shift_right ); |
| 32 | diff --git a/VEX/priv/guest_ppc_helpers.c b/VEX/priv/guest_ppc_helpers.c | ||
| 33 | index 2611e52..72c349b 100644 | ||
| 31 | --- a/VEX/priv/guest_ppc_helpers.c | 34 | --- a/VEX/priv/guest_ppc_helpers.c |
| 32 | +++ b/VEX/priv/guest_ppc_helpers.c | 35 | +++ b/VEX/priv/guest_ppc_helpers.c |
| 33 | @@ -118,6 +118,24 @@ UInt ppc32g_dirtyhelper_MFSPR_287 ( void | 36 | @@ -118,6 +118,24 @@ UInt ppc32g_dirtyhelper_MFSPR_287 ( void ) |
| 34 | # endif | 37 | # endif |
| 35 | } | 38 | } |
| 36 | 39 | ||
| @@ -55,9 +58,11 @@ Signed-off-by: Aneesh Bansal <aneesh.bansal@freescale.com> | |||
| 55 | 58 | ||
| 56 | /* CALLED FROM GENERATED CODE */ | 59 | /* CALLED FROM GENERATED CODE */ |
| 57 | /* DIRTY HELPER (reads guest state, writes guest mem) */ | 60 | /* DIRTY HELPER (reads guest state, writes guest mem) */ |
| 61 | diff --git a/VEX/priv/guest_ppc_toIR.c b/VEX/priv/guest_ppc_toIR.c | ||
| 62 | index 94930aa..be2ac0a 100644 | ||
| 58 | --- a/VEX/priv/guest_ppc_toIR.c | 63 | --- a/VEX/priv/guest_ppc_toIR.c |
| 59 | +++ b/VEX/priv/guest_ppc_toIR.c | 64 | +++ b/VEX/priv/guest_ppc_toIR.c |
| 60 | @@ -11875,6 +11875,28 @@ static Bool dis_proc_ctl ( const VexAbiI | 65 | @@ -11875,6 +11875,28 @@ static Bool dis_proc_ctl ( const VexAbiInfo* vbi, UInt prefix, UInt theInstr ) |
| 61 | break; | 66 | break; |
| 62 | } | 67 | } |
| 63 | 68 | ||
diff --git a/meta/recipes-devtools/valgrind/valgrind/avoid-neon-for-targets-which-don-t-support-it.patch b/meta/recipes-devtools/valgrind/valgrind/avoid-neon-for-targets-which-don-t-support-it.patch index 82b8344279..fb5e32b3bb 100644 --- a/meta/recipes-devtools/valgrind/valgrind/avoid-neon-for-targets-which-don-t-support-it.patch +++ b/meta/recipes-devtools/valgrind/valgrind/avoid-neon-for-targets-which-don-t-support-it.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 8facc29c3c56e6cf9cfef70986cf73876044a3fb Mon Sep 17 00:00:00 2001 | 1 | From 5c0afe3f46d52923dd37845aea1e51be1e54ce19 Mon Sep 17 00:00:00 2001 |
| 2 | From: Andre McCurdy <armccurdy@gmail.com> | 2 | From: Andre McCurdy <armccurdy@gmail.com> |
| 3 | Date: Tue, 19 Jan 2016 16:42:36 -0800 | 3 | Date: Tue, 19 Jan 2016 16:42:36 -0800 |
| 4 | Subject: [PATCH] avoid neon for targets which don't support it | 4 | Subject: [PATCH] avoid neon for targets which don't support it |
| @@ -28,6 +28,3 @@ index ae82248..816e139 100644 | |||
| 28 | /* On arm32, many compilers generate a 64-bit float move | 28 | /* On arm32, many compilers generate a 64-bit float move |
| 29 | using two 32 bit integer registers, which completely | 29 | using two 32 bit integer registers, which completely |
| 30 | defeats this test. Hence force a 64-bit NEON load and | 30 | defeats this test. Hence force a 64-bit NEON load and |
| 31 | -- | ||
| 32 | 1.9.1 | ||
| 33 | |||
diff --git a/meta/recipes-devtools/valgrind/valgrind/fixed-perl-path.patch b/meta/recipes-devtools/valgrind/valgrind/fixed-perl-path.patch index b9804e7451..59f6daa7bd 100644 --- a/meta/recipes-devtools/valgrind/valgrind/fixed-perl-path.patch +++ b/meta/recipes-devtools/valgrind/valgrind/fixed-perl-path.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From beaa5b64c60d501fa9cd59fdc563e5f5bccf6882 Mon Sep 17 00:00:00 2001 | 1 | From 8258b92d458ffed94d90cb8f43b766e29f364601 Mon Sep 17 00:00:00 2001 |
| 2 | From: Qing He <qing.he@intel.com> | 2 | From: Qing He <qing.he@intel.com> |
| 3 | Date: Tue, 31 Aug 2010 22:51:58 +0800 | 3 | Date: Tue, 31 Aug 2010 22:51:58 +0800 |
| 4 | Subject: [PATCH] valgrind: fix perl scripts | 4 | Subject: [PATCH] valgrind: fix perl scripts |
| @@ -17,7 +17,6 @@ a better fix would need: | |||
| 17 | Upstream-Status: Inappropriate [configuration] | 17 | Upstream-Status: Inappropriate [configuration] |
| 18 | 18 | ||
| 19 | Signed-off-by: Maxin B. John <maxin.john@intel.com> | 19 | Signed-off-by: Maxin B. John <maxin.john@intel.com> |
| 20 | |||
| 21 | --- | 20 | --- |
| 22 | massif/ms_print.in | 2 +- | 21 | massif/ms_print.in | 2 +- |
| 23 | perf/vg_perf.in | 2 +- | 22 | perf/vg_perf.in | 2 +- |
| @@ -45,7 +44,7 @@ index 90ee1d2..c585096 100644 | |||
| 45 | ##--- Valgrind performance testing script vg_perf ---## | 44 | ##--- Valgrind performance testing script vg_perf ---## |
| 46 | ##--------------------------------------------------------------------## | 45 | ##--------------------------------------------------------------------## |
| 47 | diff --git a/tests/vg_regtest.in b/tests/vg_regtest.in | 46 | diff --git a/tests/vg_regtest.in b/tests/vg_regtest.in |
| 48 | index 7152765..ad18800 100755 | 47 | index 3471322..49e1114 100755 |
| 49 | --- a/tests/vg_regtest.in | 48 | --- a/tests/vg_regtest.in |
| 50 | +++ b/tests/vg_regtest.in | 49 | +++ b/tests/vg_regtest.in |
| 51 | @@ -1,4 +1,4 @@ | 50 | @@ -1,4 +1,4 @@ |
diff --git a/meta/recipes-devtools/valgrind/valgrind/s390x_vec_op_t.patch b/meta/recipes-devtools/valgrind/valgrind/s390x_vec_op_t.patch index 3ab339d215..07578c5b02 100644 --- a/meta/recipes-devtools/valgrind/valgrind/s390x_vec_op_t.patch +++ b/meta/recipes-devtools/valgrind/valgrind/s390x_vec_op_t.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From 8154d38bac5cdb3675cfdaf562ab9da01988b263 Mon Sep 17 00:00:00 2001 | 1 | From 5dbb49abc08acb9a484bc187c18c433fb821d281 Mon Sep 17 00:00:00 2001 |
| 2 | From: Yi Fan Yu <yifan.yu@windriver.com> | 2 | From: Yi Fan Yu <yifan.yu@windriver.com> |
| 3 | Date: Wed, 17 Mar 2021 12:16:31 -0400 | 3 | Date: Wed, 17 Mar 2021 12:16:31 -0400 |
| 4 | Subject: [PATCH 19/20] remove s390x_vec_op_t | 4 | Subject: [PATCH] remove s390x_vec_op_t |
| 5 | 5 | ||
| 6 | s390x_vec_op_t is not needed anywhere, only elements of enum are accessed | 6 | s390x_vec_op_t is not needed anywhere, only elements of enum are accessed |
| 7 | removing it ensures that valgrind can be built with -fno-common option | 7 | removing it ensures that valgrind can be built with -fno-common option |
| @@ -17,9 +17,11 @@ Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> | |||
| 17 | VEX/priv/guest_s390_defs.h | 2 +- | 17 | VEX/priv/guest_s390_defs.h | 2 +- |
| 18 | 1 file changed, 1 insertion(+), 1 deletion(-) | 18 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 19 | 19 | ||
| 20 | diff --git a/VEX/priv/guest_s390_defs.h b/VEX/priv/guest_s390_defs.h | ||
| 21 | index a64d563..fb963e9 100644 | ||
| 20 | --- a/VEX/priv/guest_s390_defs.h | 22 | --- a/VEX/priv/guest_s390_defs.h |
| 21 | +++ b/VEX/priv/guest_s390_defs.h | 23 | +++ b/VEX/priv/guest_s390_defs.h |
| 22 | @@ -284,7 +284,7 @@ typedef enum { | 24 | @@ -286,7 +286,7 @@ typedef enum { |
| 23 | S390_VEC_OP_VCLFNL, | 25 | S390_VEC_OP_VCLFNL, |
| 24 | S390_VEC_OP_VCRNF, | 26 | S390_VEC_OP_VCRNF, |
| 25 | S390_VEC_OP_LAST // supposed to be the last element in enum | 27 | S390_VEC_OP_LAST // supposed to be the last element in enum |
diff --git a/meta/recipes-devtools/valgrind/valgrind/use-appropriate-march-mcpu-mfpu-for-ARM-test-apps.patch b/meta/recipes-devtools/valgrind/valgrind/use-appropriate-march-mcpu-mfpu-for-ARM-test-apps.patch index afca874d02..a2a96cf735 100644 --- a/meta/recipes-devtools/valgrind/valgrind/use-appropriate-march-mcpu-mfpu-for-ARM-test-apps.patch +++ b/meta/recipes-devtools/valgrind/valgrind/use-appropriate-march-mcpu-mfpu-for-ARM-test-apps.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From d134dafc2f11e0d247420a0ba360bcdef77b4093 Mon Sep 17 00:00:00 2001 | 1 | From 2446e14216b6888dd39eed877bc6952c577b4e41 Mon Sep 17 00:00:00 2001 |
| 2 | From: Andre McCurdy <armccurdy@gmail.com> | 2 | From: Andre McCurdy <armccurdy@gmail.com> |
| 3 | Date: Tue, 19 Jan 2016 16:00:00 -0800 | 3 | Date: Tue, 19 Jan 2016 16:00:00 -0800 |
| 4 | Subject: [PATCH] use appropriate -march/-mcpu/-mfpu for ARM test apps | 4 | Subject: [PATCH] use appropriate -march/-mcpu/-mfpu for ARM test apps |
| @@ -22,9 +22,11 @@ Signed-off-by: Andre McCurdy <armccurdy@gmail.com> | |||
| 22 | none/tests/arm/Makefile.am | 6 ++++-- | 22 | none/tests/arm/Makefile.am | 6 ++++-- |
| 23 | 1 file changed, 4 insertions(+), 2 deletions(-) | 23 | 1 file changed, 4 insertions(+), 2 deletions(-) |
| 24 | 24 | ||
| 25 | diff --git a/none/tests/arm/Makefile.am b/none/tests/arm/Makefile.am | ||
| 26 | index 79b957c..41a5a03 100644 | ||
| 25 | --- a/none/tests/arm/Makefile.am | 27 | --- a/none/tests/arm/Makefile.am |
| 26 | +++ b/none/tests/arm/Makefile.am | 28 | +++ b/none/tests/arm/Makefile.am |
| 27 | @@ -87,8 +87,10 @@ neon64_CFLAGS = $(AM_CFLAGS) -g -O0 | 29 | @@ -87,8 +87,10 @@ neon64_CFLAGS = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 \ |
| 28 | -mfpu=neon \ | 30 | -mfpu=neon \ |
| 29 | -mthumb | 31 | -mthumb |
| 30 | 32 | ||
diff --git a/meta/recipes-devtools/valgrind/valgrind/valgrind-make-ld-XXX.so-strlen-intercept-optional.patch b/meta/recipes-devtools/valgrind/valgrind/valgrind-make-ld-XXX.so-strlen-intercept-optional.patch index 0895473fc0..aa852e9115 100644 --- a/meta/recipes-devtools/valgrind/valgrind/valgrind-make-ld-XXX.so-strlen-intercept-optional.patch +++ b/meta/recipes-devtools/valgrind/valgrind/valgrind-make-ld-XXX.so-strlen-intercept-optional.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 005bd11809a1ce65e9f2c28e884354a4741650b9 Mon Sep 17 00:00:00 2001 | 1 | From 18919d07e531a06c6fba74d4e43f6200f79aaca3 Mon Sep 17 00:00:00 2001 |
| 2 | From: Andre McCurdy <armccurdy@gmail.com> | 2 | From: Andre McCurdy <armccurdy@gmail.com> |
| 3 | Date: Tue, 13 Dec 2016 11:29:55 +0800 | 3 | Date: Tue, 13 Dec 2016 11:29:55 +0800 |
| 4 | Subject: [PATCH] make ld-XXX.so strlen intercept optional | 4 | Subject: [PATCH] make ld-XXX.so strlen intercept optional |
| @@ -16,9 +16,11 @@ Signed-off-by: Jackie Huang <jackie.huang@windriver.com> | |||
| 16 | coregrind/m_redir.c | 13 ++++++++++++- | 16 | coregrind/m_redir.c | 13 ++++++++++++- |
| 17 | 1 file changed, 12 insertions(+), 1 deletion(-) | 17 | 1 file changed, 12 insertions(+), 1 deletion(-) |
| 18 | 18 | ||
| 19 | diff --git a/coregrind/m_redir.c b/coregrind/m_redir.c | ||
| 20 | index f9e8d88..453732e 100644 | ||
| 19 | --- a/coregrind/m_redir.c | 21 | --- a/coregrind/m_redir.c |
| 20 | +++ b/coregrind/m_redir.c | 22 | +++ b/coregrind/m_redir.c |
| 21 | @@ -1307,7 +1307,18 @@ static void add_hardwired_spec (const H | 23 | @@ -1315,7 +1315,18 @@ static void add_hardwired_spec (const HChar* sopatt, const HChar* fnpatt, |
| 22 | spec->to_addr = to_addr; | 24 | spec->to_addr = to_addr; |
| 23 | spec->isWrap = False; | 25 | spec->isWrap = False; |
| 24 | spec->isGlobal = False; | 26 | spec->isGlobal = False; |
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.23.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.24.0.bb index 494a3c0df9..0f05e029b9 100644 --- a/meta/recipes-devtools/valgrind/valgrind_3.23.0.bb +++ b/meta/recipes-devtools/valgrind/valgrind_3.24.0.bb | |||
| @@ -19,7 +19,6 @@ SRC_URI = "https://sourceware.org/pub/valgrind/valgrind-${PV}.tar.bz2 \ | |||
| 19 | file://remove-for-aarch64 \ | 19 | file://remove-for-aarch64 \ |
| 20 | file://remove-for-all \ | 20 | file://remove-for-all \ |
| 21 | file://taskset_nondeterministic_tests \ | 21 | file://taskset_nondeterministic_tests \ |
| 22 | file://0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch \ | ||
| 23 | file://use-appropriate-march-mcpu-mfpu-for-ARM-test-apps.patch \ | 22 | file://use-appropriate-march-mcpu-mfpu-for-ARM-test-apps.patch \ |
| 24 | file://avoid-neon-for-targets-which-don-t-support-it.patch \ | 23 | file://avoid-neon-for-targets-which-don-t-support-it.patch \ |
| 25 | file://0001-configure-Drop-setting-mcpu-cortex-a8-on-arm.patch \ | 24 | file://0001-configure-Drop-setting-mcpu-cortex-a8-on-arm.patch \ |
| @@ -27,7 +26,6 @@ SRC_URI = "https://sourceware.org/pub/valgrind/valgrind-${PV}.tar.bz2 \ | |||
| 27 | file://0001-makefiles-Drop-setting-mcpu-to-cortex-a8-on-arm-arch.patch \ | 26 | file://0001-makefiles-Drop-setting-mcpu-to-cortex-a8-on-arm-arch.patch \ |
| 28 | file://0001-sigqueue-Rename-_sifields-to-__si_fields-on-musl.patch \ | 27 | file://0001-sigqueue-Rename-_sifields-to-__si_fields-on-musl.patch \ |
| 29 | file://0003-correct-include-directive-path-for-config.h.patch \ | 28 | file://0003-correct-include-directive-path-for-config.h.patch \ |
| 30 | file://0001-Return-a-valid-exit_code-from-vg_regtest.patch \ | ||
| 31 | file://0001-valgrind-filter_xml_frames-do-not-filter-usr.patch \ | 29 | file://0001-valgrind-filter_xml_frames-do-not-filter-usr.patch \ |
| 32 | file://0001-memcheck-vgtests-remove-fullpath-after-flags.patch \ | 30 | file://0001-memcheck-vgtests-remove-fullpath-after-flags.patch \ |
| 33 | file://s390x_vec_op_t.patch \ | 31 | file://s390x_vec_op_t.patch \ |
| @@ -36,7 +34,7 @@ SRC_URI = "https://sourceware.org/pub/valgrind/valgrind-${PV}.tar.bz2 \ | |||
| 36 | file://0001-docs-Disable-manual-validation.patch \ | 34 | file://0001-docs-Disable-manual-validation.patch \ |
| 37 | file://0001-tests-arm-Use-O-instead-of-O0.patch \ | 35 | file://0001-tests-arm-Use-O-instead-of-O0.patch \ |
| 38 | " | 36 | " |
| 39 | SRC_URI[sha256sum] = "c5c34a3380457b9b75606df890102e7df2c702b9420c2ebef9540f8b5d56264d" | 37 | SRC_URI[sha256sum] = "71aee202bdef1ae73898ccf7e9c315134fa7db6c246063afc503aef702ec03bd" |
| 40 | UPSTREAM_CHECK_REGEX = "valgrind-(?P<pver>\d+(\.\d+)+)\.tar" | 38 | UPSTREAM_CHECK_REGEX = "valgrind-(?P<pver>\d+(\.\d+)+)\.tar" |
| 41 | 39 | ||
| 42 | COMPATIBLE_HOST = '(i.86|x86_64|arm|aarch64|mips|powerpc|powerpc64).*-linux' | 40 | COMPATIBLE_HOST = '(i.86|x86_64|arm|aarch64|mips|powerpc|powerpc64).*-linux' |
