valgrind: update 3.23.0 -> 3.24.0 (ptest fails, vg_regtest needs rebase)
PATCH 1/3 valgrind: update 3.23.0 -> 3.24.0 (ptest fails, vg_regtest needs rebase)
From: Alexander Kanavin <[email protected]>
---
...rn-a-valid-exit_code-from-vg_regtest.patch | 22 --
...e-Drop-setting-mcpu-cortex-a8-on-arm.patch | 7 +-
.../0001-docs-Disable-manual-validation.patch | 6 +-
...etting-mcpu-to-cortex-a8-on-arm-arch.patch | 15 +-
...check-tests-Fix-timerfd-syscall-test.patch | 24 +-
...-vgtests-remove-fullpath-after-flags.patch | 9 +-
...eak_cmsg.stderr.exp-adjust-tmp-paths.patch | 7 +-
...ame-_sifields-to-__si_fields-on-musl.patch | 9 +-
.../0001-tests-arm-Use-O-instead-of-O0.patch | 10 +-
...-filter_xml_frames-do-not-filter-usr.patch | 9 +-
...-include-directive-path-for-config.h.patch | 9 +-
...est-wrapper-to-support-PTEST-formats.patch | 257 ------------------
...t-for-PPC-instructions-mfatbu-mfatbl.patch | 23 +-
...n-for-targets-which-don-t-support-it.patch | 5 +-
.../valgrind/valgrind/fixed-perl-path.patch | 5 +-
.../valgrind/valgrind/s390x_vec_op_t.patch | 8 +-
...te-march-mcpu-mfpu-for-ARM-test-apps.patch | 6 +-
...-ld-XXX.so-strlen-intercept-optional.patch | 6 +-
...{valgrind_3.23.0.bb => valgrind_3.24.0.bb} | 4 +-
19 files changed, 81 insertions(+), 360 deletions(-)
delete mode 100644 meta/recipes-devtools/valgrind/valgrind/0001-Return-a-valid-exit_code-from-vg_regtest.patch
delete mode 100644 meta/recipes-devtools/valgrind/valgrind/0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch
rename meta/recipes-devtools/valgrind/{valgrind_3.23.0.bb => valgrind_3.24.0.bb} (97%)meta/recipes-devtools/valgrind/valgrind/0001-Return-a-valid-exit_code-from-vg_regtest.patch deleted +0 -22
@@ -1,22 +0,0 @@ -From 5eebdefd2251803e7d21081745018fcb16b2ba71 Mon Sep 17 00:00:00 2001 -From: Randy MacLeod <[email protected]> -Date: Wed, 8 May 2019 20:16:52 -0400 -Subject: [PATCH] Return a valid exit_code from vg_regtest - -Upstream-Status: Pending - -Signed-off-by: Randy MacLeod <[email protected]> ---- - tests/vg_regtest.in | 1 + - 1 file changed, 1 insertion(+) - ---- a/tests/vg_regtest.in -+++ b/tests/vg_regtest.in -@@ -401,6 +401,7 @@ sub mysystem($) - exit 1; - } - } -+ return $exit_code; - } - # if $keepunfiltered, copies $1 to $1.unfiltered.out - # renames $0 tp $1
meta/recipes-devtools/valgrind/valgrind/0001-configure-Drop-setting-mcpu-cortex-a8-on-arm.patch +2 -5
@@ -1,4 +1,4 @@ -From b17b6d7d3a65c14f91f090f3f4f9898d6fa3a9e4 Mon Sep 17 00:00:00 2001 +From 26a3367fbbab2a664a288f4ff8ef3273ebe57124 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Fri, 10 May 2024 16:27:34 -0700 Subject: [PATCH] configure: Drop setting mcpu=cortex-a8 on arm
@@ -16,7 +16,7 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac -index 39d8b6d..d61b3a6 100755 +index 095659a..75d42c9 100755 --- a/configure.ac +++ b/configure.ac @@ -275,13 +275,13 @@ case "${host_cpu}" in
@@ -35,6 +35,3 @@ index 39d8b6d..d61b3a6 100755 ARCH_MAX="arm" ;; --- -2.45.0 -
meta/recipes-devtools/valgrind/valgrind/0001-docs-Disable-manual-validation.patch +4 -2
@@ -1,4 +1,4 @@ -From 99fc6fe9b66becac3c94068129e84217330a71a6 Mon Sep 17 00:00:00 2001 +From 7fa34af750f113fd600cabcecb79e65b9d04fa15 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Thu, 13 Jan 2022 18:26:02 -0800 Subject: [PATCH] docs: Disable manual validation
@@ -18,9 +18,11 @@ Signed-off-by: Khem Raj <[email protected]> docs/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) +diff --git a/docs/Makefile.am b/docs/Makefile.am +index 6859ee8..d5e4e2f 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am -@@ -194,7 +194,7 @@ valid-manpages: $(MANPAGES_XML_FILES) +@@ -195,7 +195,7 @@ valid-manpages: $(MANPAGES_XML_FILES) touch $@; \ fi
meta/recipes-devtools/valgrind/valgrind/0001-makefiles-Drop-setting-mcpu-to-cortex-a8-on-arm-arch.patch +9 -6
@@ -1,4 +1,4 @@ -From 715cf122388f3527afa5649cebf9f1522c240693 Mon Sep 17 00:00:00 2001 +From a9292f711375c12c5135b207698e623e297b049b Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Thu, 20 Apr 2017 10:11:16 -0700 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] Signed-off-by: Khem Raj <[email protected]> --- - Makefile.all.am | 6 +++--- helgrind/tests/Makefile.am | 6 +++--- none/tests/arm/Makefile.am | 18 +++++++++--------- - 3 files changed, 15 insertions(+), 15 deletions(-) + 2 files changed, 12 insertions(+), 12 deletions(-) +diff --git a/helgrind/tests/Makefile.am b/helgrind/tests/Makefile.am +index d7101ed..670c29f 100755 --- a/helgrind/tests/Makefile.am +++ b/helgrind/tests/Makefile.am -@@ -223,9 +223,9 @@ if ! VGCONF_PLATFORMS_INCLUDE_X86_DARWIN +@@ -226,9 +226,9 @@ if ! VGCONF_PLATFORMS_INCLUDE_X86_DARWIN endif if VGCONF_PLATFORMS_INCLUDE_ARM_LINUX
@@ -34,9 +35,11 @@ Signed-off-by: Khem Raj <[email protected]> else annotate_hbefore_CFLAGS = $(AM_CFLAGS) tc07_hbl1_CFLAGS = $(AM_CFLAGS) +diff --git a/none/tests/arm/Makefile.am b/none/tests/arm/Makefile.am +index 41a5a03..a76981e 100644 --- a/none/tests/arm/Makefile.am +++ b/none/tests/arm/Makefile.am -@@ -56,10 +56,10 @@ allexec_CFLAGS = $(AM_CFLAGS) @FLAG_W_N +@@ -56,10 +56,10 @@ allexec_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_NONNULL@ # need special helping w.r.t -mfpu and -mfloat-abi, though. # Also force -O0 since -O takes hundreds of MB of memory # for v6intThumb.c.
@@ -50,7 +53,7 @@ Signed-off-by: Khem Raj <[email protected]> v8crypto_a_CFLAGS = $(AM_CFLAGS) -g -O0 -mfpu=crypto-neon-fp-armv8 -marm -march=armv8-a v8crypto_t_CFLAGS = $(AM_CFLAGS) -g -O0 -mfpu=crypto-neon-fp-armv8 -mthumb -march=armv8-a -@@ -74,23 +74,23 @@ v8memory_t_CFLAGS = $(AM_CFLAGS) -g -O0 +@@ -74,23 +74,23 @@ v8memory_t_CFLAGS = $(AM_CFLAGS) -g -O0 \ vcvt_fixed_float_VFP_CFLAGS = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 -mfpu=neon
meta/recipes-devtools/valgrind/valgrind/0001-memcheck-tests-Fix-timerfd-syscall-test.patch +15 -9
@@ -1,4 +1,4 @@ -From 5d411fd147d652e9d7bb259f4048693c6e4742aa Mon Sep 17 00:00:00 2001 +From ddf3ac832d85bd9a1266c52ff3ae5ec88c4114db Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Mon, 9 Mar 2020 16:30:19 -0700 Subject: [PATCH] memcheck/tests: Fix timerfd syscall test
@@ -10,14 +10,16 @@ have the implementation or syscall is not defined Upstream-Status: Submitted [https://sourceforge.net/p/valgrind/mailman/message/36943897/] Signed-off-by: Khem Raj <[email protected]> --- - config.h.in | 9 +++++++++ - configure.ac | 3 +++ - memcheck/tests/linux/timerfd-syscall.c | 10 ++++++++-- - 5 files changed, 32 insertions(+), 2 deletions(-) + config.h.in | 3 +++ + configure.ac | 1 + + memcheck/tests/linux/timerfd-syscall.c | 14 +++++++++++--- + 3 files changed, 15 insertions(+), 3 deletions(-) +diff --git a/config.h.in b/config.h.in +index d2e8b26..f235dec 100644 --- a/config.h.in +++ b/config.h.in -@@ -424,6 +424,9 @@ +@@ -406,6 +406,9 @@ /* Define to 1 if you have the <sys/sysnvl.h> header file. */ #undef HAVE_SYS_SYSNVL_H
@@ -27,9 +29,11 @@ Signed-off-by: Khem Raj <[email protected]> /* Define to 1 if you have the <sys/time.h> header file. */ #undef HAVE_SYS_TIME_H +diff --git a/configure.ac b/configure.ac +index 75d42c9..b6ec119 100755 --- a/configure.ac +++ b/configure.ac -@@ -4881,6 +4881,7 @@ AC_CHECK_HEADERS([ \ +@@ -4844,6 +4844,7 @@ AC_CHECK_HEADERS([ \ sys/syscall.h \ sys/sysnvl.h \ sys/time.h \
@@ -37,6 +41,8 @@ Signed-off-by: Khem Raj <[email protected]> sys/types.h \ ]) +diff --git a/memcheck/tests/linux/timerfd-syscall.c b/memcheck/tests/linux/timerfd-syscall.c +index 61d75b5..1ba888a 100644 --- a/memcheck/tests/linux/timerfd-syscall.c +++ b/memcheck/tests/linux/timerfd-syscall.c @@ -42,6 +42,9 @@
@@ -80,7 +86,7 @@ Signed-off-by: Khem Raj <[email protected]> /* Definitions from include/linux/timerfd.h */ -@@ -124,6 +130,7 @@ void set_timespec(struct timespec *tmr, +@@ -124,6 +130,7 @@ void set_timespec(struct timespec *tmr, unsigned long long ustime) tmr->tv_nsec = (long) (1000ULL * (ustime % 1000000ULL)); }
@@ -88,7 +94,7 @@ Signed-off-by: Khem Raj <[email protected]> int timerfd_create(int clockid, int flags) { return syscall(__NR_timerfd_create, clockid, flags); -@@ -139,6 +146,7 @@ int timerfd_gettime(int ufc, struct itim +@@ -139,6 +146,7 @@ int timerfd_gettime(int ufc, struct itimerspec *otmr) { return syscall(__NR_timerfd_gettime, ufc, otmr); }
meta/recipes-devtools/valgrind/valgrind/0001-memcheck-vgtests-remove-fullpath-after-flags.patch +3 -6
@@ -1,4 +1,4 @@ -From 3ff82dcb844f98dbf67c69f11f6516bc234725a9 Mon Sep 17 00:00:00 2001 +From f5c0021a016116c53d21d8d5902ea92e682658b6 Mon Sep 17 00:00:00 2001 From: Stacy Gaikovaia <[email protected]> Date: Wed, 16 Sep 2020 13:45:07 -0400 Subject: [PATCH] memcheck vgtests remove fullpath-after flags
@@ -20,7 +20,7 @@ Signed-off-by: Stacy Gaikovaia <[email protected]> 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/memcheck/tests/badfree3.vgtest b/memcheck/tests/badfree3.vgtest -index 3dfc5fd8a..4ee03f00a 100644 +index 3dfc5fd..4ee03f0 100644 --- a/memcheck/tests/badfree3.vgtest +++ b/memcheck/tests/badfree3.vgtest @@ -1,3 +1,3 @@
@@ -29,7 +29,7 @@ index 3dfc5fd8a..4ee03f00a 100644 +vgopts: -q stderr_filter_args: badfree.c diff --git a/memcheck/tests/varinfo5.vgtest b/memcheck/tests/varinfo5.vgtest -index 063d00dce..79c4a72a4 100644 +index 063d00d..79c4a72 100644 --- a/memcheck/tests/varinfo5.vgtest +++ b/memcheck/tests/varinfo5.vgtest @@ -1,3 +1,3 @@
@@ -37,6 +37,3 @@ index 063d00dce..79c4a72a4 100644 -vgopts: --fullpath-after=memcheck/ --fullpath-after=coregrind/ --read-var-info=yes --read-inline-info=yes -q +vgopts: --read-var-info=yes --read-inline-info=yes -q stderr_filter: filter_varinfo3 --- -2.25.1 -
meta/recipes-devtools/valgrind/valgrind/0001-none-tests-fdleak_cmsg.stderr.exp-adjust-tmp-paths.patch +2 -5
@@ -1,4 +1,4 @@ -From f405297d3382cd98391d02f397e2387da1f42879 Mon Sep 17 00:00:00 2001 +From 4c27b9259f4aa1b4dc0741c56ab90b6c57905564 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin <[email protected]> Date: Fri, 24 Jan 2020 17:55:39 +0100 Subject: [PATCH] none/tests/fdleak_cmsg.stderr.exp: adjust /tmp paths
@@ -13,7 +13,7 @@ Signed-off-by: Alexander Kanavin <[email protected]> 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/none/tests/fdleak_cmsg.stderr.exp b/none/tests/fdleak_cmsg.stderr.exp -index 6e5a797b9..0ede1ab18 100644 +index 0fe56ea..5a0605e 100644 --- a/none/tests/fdleak_cmsg.stderr.exp +++ b/none/tests/fdleak_cmsg.stderr.exp @@ -25,10 +25,10 @@ Open file descriptor ...: /dev/null
@@ -29,6 +29,3 @@ index 6e5a797b9..0ede1ab18 100644 ... Open AF_UNIX socket ...: <unknown> --- -2.17.1 -
meta/recipes-devtools/valgrind/valgrind/0001-sigqueue-Rename-_sifields-to-__si_fields-on-musl.patch +3 -6
@@ -1,7 +1,7 @@ -From 64ad2744acfb4fa40b1c114633a053f87125a203 Mon Sep 17 00:00:00 2001 +From 4dddd9e533847f07327cde9a062fc7cbba9d5584 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Sat, 10 Jun 2017 00:46:39 -0700 -Subject: [PATCH 1/6] sigqueue: Rename _sifields to __si_fields on musl +Subject: [PATCH] sigqueue: Rename _sifields to __si_fields on musl Upstream-Status: Pending
@@ -11,7 +11,7 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 5 insertions(+) diff --git a/memcheck/tests/linux/sigqueue.c b/memcheck/tests/linux/sigqueue.c -index d18bd72..acb7cba 100644 +index 4b6fb0f..d37fe93 100644 --- a/memcheck/tests/linux/sigqueue.c +++ b/memcheck/tests/linux/sigqueue.c @@ -8,6 +8,11 @@
@@ -26,6 +26,3 @@ index d18bd72..acb7cba 100644 int main(int argc, char **argv) { siginfo_t *si; --- -2.13.1 -
meta/recipes-devtools/valgrind/valgrind/0001-tests-arm-Use-O-instead-of-O0.patch +6 -4
@@ -1,4 +1,4 @@ -From 8e907753625faba3284925983ef8e83f8491aa76 Mon Sep 17 00:00:00 2001 +From 0fba6bce02108b355a291f7dcb9497d0c7291e6b Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Fri, 10 May 2024 17:44:47 -0700 Subject: [PATCH] tests/arm: Use -O instead of -O0
@@ -15,12 +15,14 @@ we have enough of it on build host. Upstream-Status: Inappropriate [WORKAROUND] Signed-off-by: Khem Raj <[email protected]> --- - none/tests/arm/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) + none/tests/arm/Makefile.am | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) +diff --git a/none/tests/arm/Makefile.am b/none/tests/arm/Makefile.am +index a76981e..a198f73 100644 --- a/none/tests/arm/Makefile.am +++ b/none/tests/arm/Makefile.am -@@ -57,9 +57,9 @@ allexec_CFLAGS = $(AM_CFLAGS) @FLAG_W_N +@@ -57,9 +57,9 @@ allexec_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_NONNULL@ # Also force -O0 since -O takes hundreds of MB of memory # for v6intThumb.c. v6intARM_CFLAGS = $(AM_CFLAGS) -g -O0 -marm
meta/recipes-devtools/valgrind/valgrind/0001-valgrind-filter_xml_frames-do-not-filter-usr.patch +3 -6
@@ -1,7 +1,7 @@ -From d1dea3c2bcf1e22baab39e2c0b8ca59db8a5bc37 Mon Sep 17 00:00:00 2001 +From a7437450577c324d6f85a6e9d7b61be76555d49a Mon Sep 17 00:00:00 2001 From: Randy MacLeod <[email protected]> Date: Mon, 13 May 2019 17:12:21 -0400 -Subject: [PATCH 1/2] valgrind: filter_xml_frames: do not filter /usr +Subject: [PATCH] valgrind: filter_xml_frames: do not filter /usr filter_xml_frames is intended to filter system paths under '/usr' that vary from platform to platform. In the ptest case
@@ -21,7 +21,7 @@ Signed-off-by: Randy MacLeod <[email protected]> 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/filter_xml_frames b/tests/filter_xml_frames -index f1fa3f070..04fbc82de 100755 +index f1fa3f0..04fbc82 100755 --- a/tests/filter_xml_frames +++ b/tests/filter_xml_frames @@ -47,7 +47,8 @@ while (my $line = <>)
@@ -34,6 +34,3 @@ index f1fa3f070..04fbc82de 100755 } } --- -2.17.0 -
meta/recipes-devtools/valgrind/valgrind/0003-correct-include-directive-path-for-config.h.patch +3 -6
@@ -1,7 +1,7 @@ -From ecbdea7bd8b08205f1bc3f6b72d4b4a80f313fcb Mon Sep 17 00:00:00 2001 +From fbddd889e2fbc1195009d8947211b8900c03c641 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Sat, 10 Jun 2017 01:03:17 -0700 -Subject: [PATCH 3/6] correct include directive path for config.h +Subject: [PATCH] correct include directive path for config.h when building out of source tree, it can not find the generated config.h otherwise
@@ -15,7 +15,7 @@ Signed-off-by: Khem Raj <[email protected]> 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/memcheck/tests/linux/syscalls-2007.c b/memcheck/tests/linux/syscalls-2007.c -index b61c6d5..cc3fd62 100644 +index b91df82..c15c3eb 100644 --- a/memcheck/tests/linux/syscalls-2007.c +++ b/memcheck/tests/linux/syscalls-2007.c @@ -10,7 +10,7 @@
@@ -40,6 +40,3 @@ index 1143722..21e758b 100644 #include <stdio.h> #if defined(HAVE_SYS_KLOG_H) #include <sys/klog.h> --- -2.13.1 -
meta/recipes-devtools/valgrind/valgrind/0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch deleted +0 -257
257 lines not on this page · raw message
meta/recipes-devtools/valgrind/valgrind/Added-support-for-PPC-instructions-mfatbu-mfatbl.patch +14 -9
@@ -1,4 +1,4 @@ -From 0bf4b0ac18d1ea41b32ad781d214b295ca1998f3 Mon Sep 17 00:00:00 2001 +From 6e914403985f3f094e318b06ee206f7df16215cf Mon Sep 17 00:00:00 2001 From: Aneesh Bansal <[email protected]> Date: Mon, 21 Nov 2011 17:31:39 +0530 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] Signed-off-by: Aneesh Bansal <[email protected]> --- + VEX/priv/guest_ppc_defs.h | 2 ++ + VEX/priv/guest_ppc_helpers.c | 18 ++++++++++++++++++ + VEX/priv/guest_ppc_toIR.c | 22 ++++++++++++++++++++++ + 3 files changed, 42 insertions(+) - VEX/priv/guest_ppc_defs.h | 2 ++ - VEX/priv/guest_ppc_helpers.c | 18 ++++++++++++++++++ - VEX/priv/guest_ppc_toIR.c | 22 ++++++++++++++++++++++ - 3 files changed, 42 insertions(+), 0 deletions(-) - +diff --git a/VEX/priv/guest_ppc_defs.h b/VEX/priv/guest_ppc_defs.h +index 220fbf1..cd259f3 100644 --- a/VEX/priv/guest_ppc_defs.h +++ b/VEX/priv/guest_ppc_defs.h -@@ -233,6 +233,8 @@ extern UInt ppc32g_dirtyhelper_MFSPR_268 +@@ -233,6 +233,8 @@ extern UInt ppc32g_dirtyhelper_MFSPR_268_269 ( UInt ); extern UInt ppc32g_dirtyhelper_MFSPR_287 ( void );
@@ -28,9 +29,11 @@ Signed-off-by: Aneesh Bansal <[email protected]> extern void ppc32g_dirtyhelper_LVS ( VexGuestPPC32State* gst, UInt vD_idx, UInt sh, UInt shift_right ); +diff --git a/VEX/priv/guest_ppc_helpers.c b/VEX/priv/guest_ppc_helpers.c +index 2611e52..72c349b 100644 --- a/VEX/priv/guest_ppc_helpers.c +++ b/VEX/priv/guest_ppc_helpers.c -@@ -118,6 +118,24 @@ UInt ppc32g_dirtyhelper_MFSPR_287 ( void +@@ -118,6 +118,24 @@ UInt ppc32g_dirtyhelper_MFSPR_287 ( void ) # endif }
@@ -55,9 +58,11 @@ Signed-off-by: Aneesh Bansal <[email protected]> /* CALLED FROM GENERATED CODE */ /* DIRTY HELPER (reads guest state, writes guest mem) */ +diff --git a/VEX/priv/guest_ppc_toIR.c b/VEX/priv/guest_ppc_toIR.c +index 94930aa..be2ac0a 100644 --- a/VEX/priv/guest_ppc_toIR.c +++ b/VEX/priv/guest_ppc_toIR.c -@@ -11875,6 +11875,28 @@ static Bool dis_proc_ctl ( const VexAbiI +@@ -11875,6 +11875,28 @@ static Bool dis_proc_ctl ( const VexAbiInfo* vbi, UInt prefix, UInt theInstr ) break; }
meta/recipes-devtools/valgrind/valgrind/avoid-neon-for-targets-which-don-t-support-it.patch +1 -4
@@ -1,4 +1,4 @@ -From 8facc29c3c56e6cf9cfef70986cf73876044a3fb Mon Sep 17 00:00:00 2001 +From 5c0afe3f46d52923dd37845aea1e51be1e54ce19 Mon Sep 17 00:00:00 2001 From: Andre McCurdy <[email protected]> Date: Tue, 19 Jan 2016 16:42:36 -0800 Subject: [PATCH] avoid neon for targets which don't support it
@@ -28,6 +28,3 @@ index ae82248..816e139 100644 /* On arm32, many compilers generate a 64-bit float move using two 32 bit integer registers, which completely defeats this test. Hence force a 64-bit NEON load and --- -1.9.1 -
meta/recipes-devtools/valgrind/valgrind/fixed-perl-path.patch +2 -3
@@ -1,4 +1,4 @@ -From beaa5b64c60d501fa9cd59fdc563e5f5bccf6882 Mon Sep 17 00:00:00 2001 +From 8258b92d458ffed94d90cb8f43b766e29f364601 Mon Sep 17 00:00:00 2001 From: Qing He <[email protected]> Date: Tue, 31 Aug 2010 22:51:58 +0800 Subject: [PATCH] valgrind: fix perl scripts
@@ -17,7 +17,6 @@ a better fix would need: Upstream-Status: Inappropriate [configuration] Signed-off-by: Maxin B. John <[email protected]> - --- massif/ms_print.in | 2 +- perf/vg_perf.in | 2 +-
@@ -45,7 +44,7 @@ index 90ee1d2..c585096 100644 ##--- Valgrind performance testing script vg_perf ---## ##--------------------------------------------------------------------## diff --git a/tests/vg_regtest.in b/tests/vg_regtest.in -index 7152765..ad18800 100755 +index 3471322..49e1114 100755 --- a/tests/vg_regtest.in +++ b/tests/vg_regtest.in @@ -1,4 +1,4 @@
meta/recipes-devtools/valgrind/valgrind/s390x_vec_op_t.patch +5 -3
@@ -1,7 +1,7 @@ -From 8154d38bac5cdb3675cfdaf562ab9da01988b263 Mon Sep 17 00:00:00 2001 +From 5dbb49abc08acb9a484bc187c18c433fb821d281 Mon Sep 17 00:00:00 2001 From: Yi Fan Yu <[email protected]> Date: Wed, 17 Mar 2021 12:16:31 -0400 -Subject: [PATCH 19/20] remove s390x_vec_op_t +Subject: [PATCH] remove s390x_vec_op_t s390x_vec_op_t is not needed anywhere, only elements of enum are accessed removing it ensures that valgrind can be built with -fno-common option
@@ -17,9 +17,11 @@ Signed-off-by: Yi Fan Yu <[email protected]> VEX/priv/guest_s390_defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) +diff --git a/VEX/priv/guest_s390_defs.h b/VEX/priv/guest_s390_defs.h +index a64d563..fb963e9 100644 --- a/VEX/priv/guest_s390_defs.h +++ b/VEX/priv/guest_s390_defs.h -@@ -284,7 +284,7 @@ typedef enum { +@@ -286,7 +286,7 @@ typedef enum { S390_VEC_OP_VCLFNL, S390_VEC_OP_VCRNF, S390_VEC_OP_LAST // supposed to be the last element in enum
meta/recipes-devtools/valgrind/valgrind/use-appropriate-march-mcpu-mfpu-for-ARM-test-apps.patch +4 -2
@@ -1,4 +1,4 @@ -From d134dafc2f11e0d247420a0ba360bcdef77b4093 Mon Sep 17 00:00:00 2001 +From 2446e14216b6888dd39eed877bc6952c577b4e41 Mon Sep 17 00:00:00 2001 From: Andre McCurdy <[email protected]> Date: Tue, 19 Jan 2016 16:00:00 -0800 Subject: [PATCH] use appropriate -march/-mcpu/-mfpu for ARM test apps
@@ -22,9 +22,11 @@ Signed-off-by: Andre McCurdy <[email protected]> none/tests/arm/Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) +diff --git a/none/tests/arm/Makefile.am b/none/tests/arm/Makefile.am +index 79b957c..41a5a03 100644 --- a/none/tests/arm/Makefile.am +++ b/none/tests/arm/Makefile.am -@@ -87,8 +87,10 @@ neon64_CFLAGS = $(AM_CFLAGS) -g -O0 +@@ -87,8 +87,10 @@ neon64_CFLAGS = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 \ -mfpu=neon \ -mthumb
meta/recipes-devtools/valgrind/valgrind/valgrind-make-ld-XXX.so-strlen-intercept-optional.patch +4 -2
@@ -1,4 +1,4 @@ -From 005bd11809a1ce65e9f2c28e884354a4741650b9 Mon Sep 17 00:00:00 2001 +From 18919d07e531a06c6fba74d4e43f6200f79aaca3 Mon Sep 17 00:00:00 2001 From: Andre McCurdy <[email protected]> Date: Tue, 13 Dec 2016 11:29:55 +0800 Subject: [PATCH] make ld-XXX.so strlen intercept optional
@@ -16,9 +16,11 @@ Signed-off-by: Jackie Huang <[email protected]> coregrind/m_redir.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) +diff --git a/coregrind/m_redir.c b/coregrind/m_redir.c +index f9e8d88..453732e 100644 --- a/coregrind/m_redir.c +++ b/coregrind/m_redir.c -@@ -1307,7 +1307,18 @@ static void add_hardwired_spec (const H +@@ -1315,7 +1315,18 @@ static void add_hardwired_spec (const HChar* sopatt, const HChar* fnpatt, spec->to_addr = to_addr; spec->isWrap = False; spec->isGlobal = False;
meta/recipes-devtools/valgrind/valgrind_3.24.0.bb renamed from meta/recipes-devtools/valgrind/valgrind_3.23.0.bb +1 -3
@@ -19,7 +19,6 @@ SRC_URI = "https://sourceware.org/pub/valgrind/valgrind-${PV}.tar.bz2 \ file://remove-for-aarch64 \ file://remove-for-all \ file://taskset_nondeterministic_tests \ - file://0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch \ file://use-appropriate-march-mcpu-mfpu-for-ARM-test-apps.patch \ file://avoid-neon-for-targets-which-don-t-support-it.patch \ 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 \ file://0001-makefiles-Drop-setting-mcpu-to-cortex-a8-on-arm-arch.patch \ file://0001-sigqueue-Rename-_sifields-to-__si_fields-on-musl.patch \ file://0003-correct-include-directive-path-for-config.h.patch \ - file://0001-Return-a-valid-exit_code-from-vg_regtest.patch \ file://0001-valgrind-filter_xml_frames-do-not-filter-usr.patch \ file://0001-memcheck-vgtests-remove-fullpath-after-flags.patch \ file://s390x_vec_op_t.patch \
@@ -36,7 +34,7 @@ SRC_URI = "https://sourceware.org/pub/valgrind/valgrind-${PV}.tar.bz2 \ file://0001-docs-Disable-manual-validation.patch \ file://0001-tests-arm-Use-O-instead-of-O0.patch \ " -SRC_URI[sha256sum] = "c5c34a3380457b9b75606df890102e7df2c702b9420c2ebef9540f8b5d56264d" +SRC_URI[sha256sum] = "71aee202bdef1ae73898ccf7e9c315134fa7db6c246063afc503aef702ec03bd" UPSTREAM_CHECK_REGEX = "valgrind-(?P<pver>\d+(\.\d+)+)\.tar" COMPATIBLE_HOST = '(i.86|x86_64|arm|aarch64|mips|powerpc|powerpc64).*-linux'
Signature · 1 line
2.34.1
PATCH 2/3 valgrind: disable ptests
From: Randy MacLeod <[email protected]>
The valgrind test runner, vg_regtest, changed in the 3.24 update and there are some additional valgrind ptest regressions happening with glibc-2.41. Disable the ptests for now. Some of the remaining patches can likely be dropped but I'd rather carry them so that re-enabling the ptests is simpler. Also the patch series have some dependencies and unwinding that would block the glibc-2.41 unnecessarily.
This builds for glibc, musl for qemux86-64, runs:
-> valgrind [--leak-check=full] /bin/ls /tmp
--- .../valgrind/valgrind/remove-for-aarch64 | 32 ---- .../valgrind/valgrind/remove-for-all | 29 --- .../valgrind/valgrind_3.24.0.bb | 167 +----------------- 3 files changed, 1 insertion(+), 227 deletions(-) delete mode 100644 meta/recipes-devtools/valgrind/valgrind/remove-for-aarch64 delete mode 100644 meta/recipes-devtools/valgrind/valgrind/remove-for-all
meta/recipes-devtools/valgrind/valgrind/remove-for-aarch64 deleted +0 -32
@@ -1,32 +0,0 @@ -drd/tests/annotate_sem -gdbserver_tests/hgtls -helgrind/tests/hg05_race2 -helgrind/tests/tc20_verifywrap -memcheck/tests/dw4 -memcheck/tests/varinfo1 -memcheck/tests/varinfo2 -memcheck/tests/varinfo3 -memcheck/tests/varinfo4 -memcheck/tests/varinfo5 -memcheck/tests/varinfo6 -memcheck/tests/varinforestrict -memcheck/tests/atomic_incs -memcheck/tests/bug464969_d_demangle -memcheck/tests/cxx17_aligned_new -memcheck/tests/demangle -memcheck/tests/long_namespace_xml -memcheck/tests/mismatches -memcheck/tests/mismatches_xml -memcheck/tests/new_aligned_delete_default -memcheck/tests/new_delete_mismatch_size -memcheck/tests/new_nothrow -memcheck/tests/realloc_size_zero_mismatch -memcheck/tests/sized_aligned_new_delete_args -memcheck/tests/sized_aligned_new_delete_misaligned1 -memcheck/tests/sized_aligned_new_delete_misaligned1_xml -memcheck/tests/sized_aligned_new_delete_misaligned2 -memcheck/tests/sized_aligned_new_delete_misaligned2_xml -memcheck/tests/sized_aligned_new_delete_misaligned3 -memcheck/tests/sized_aligned_new_delete_misaligned3_xml -memcheck/tests/sized_delete -none/tests/bigcode
meta/recipes-devtools/valgrind/valgrind/remove-for-all deleted +0 -29
@@ -1,29 +0,0 @@ -cachegrind/tests/wrap5 -drd/tests/boost_thread -none/tests/amd64/fb_test_amd64 -none/tests/tls -gdbserver_tests/hginfo -gdbserver_tests/mcinvokeRU -memcheck/tests/linux/dlclose_leak-no-keep -memcheck/tests/linux/dlclose_leak -memcheck/tests/linux/timerfd-syscall -memcheck/tests/supp_unknown -memcheck/tests/wrap1 -memcheck/tests/wrap2 -memcheck/tests/wrap3 -memcheck/tests/wrap4 -memcheck/tests/wrap5 -memcheck/tests/wrap6 -memcheck/tests/wrap7 -memcheck/tests/wrap8 -helgrind/tests/tls_threads -helgrind/tests/pth_mempcpy_false_races -drd/tests/bar_bad -drd/tests/bar_bad_xml -drd/tests/pth_barrier_thr_cr -drd/tests/std_thread2 -drd/tests/thread_name_xml -massif/tests/deep-D -massif/tests/bug469146 -massif/tests/new-cpp -massif/tests/overloaded-new
meta/recipes-devtools/valgrind/valgrind_3.24.0.bb +1 -166
197 lines not on this page · raw message
Signature · 1 line
2.34.1
PATCH 3/3 ptest-packagelists: remove valgrind
In reply to [email protected]From: Randy MacLeod <[email protected]>
The valgrind-3.24 and glibc-2.41 update result in lots of valgrind ptests failing. Remove all valgrind ptests until that can be fixed.
--- meta/conf/distro/include/ptest-packagelists.inc | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-)
meta/conf/distro/include/ptest-packagelists.inc +4 -7
@@ -126,17 +126,14 @@ PTESTS_SLOW = "\ tcl \ tcl8 \ util-linux \ - valgrind \ " # python3 ptests hang on qemuriscv64 -PTESTS_SLOW:remove:riscv64 = "valgrind python3" -PTESTS_PROBLEMS:append:riscv64 = " valgrind python3" -PTESTS_SLOW:remove:riscv32 = "lttng-tools strace valgrind" -PTESTS_PROBLEMS:append:riscv32 = " lttng-tools strace valgrind" +PTESTS_SLOW:remove:riscv64 = "python3" +PTESTS_PROBLEMS:append:riscv64 = " python3" +PTESTS_SLOW:remove:riscv32 = "lttng-tools strace " +PTESTS_PROBLEMS:append:riscv32 = " lttng-tools strace" PTESTS_SLOW:append:libc-musl = " libc-test" -PTESTS_SLOW:remove:x86 = "valgrind" -PTESTS_PROBLEMS:append:x86 = " valgrind" # ruby \ # Timeout # rt-tests \ # Needs to be checked whether it runs at all
Signature · 1 line
2.34.1
Re: [PATCH 3/3] ptest-packagelists: remove valgrind
lgtm. I thought of demoting it to PTESTS_PROBLEMS but that will still run it and occupy resources
Quoted 40 lines · On Mon, Feb 3, 2025 at 5:39 PM <[email protected]> wrote:
From: Randy MacLeod <[email protected]>
The valgrind-3.24 and glibc-2.41 update result in lots of valgrind ptests failing. Remove all valgrind ptests until that can be fixed.
Signed-off-by Randy MacLeod <[email protected]>--- meta/conf/distro/include/ptest-packagelists.inc | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-)meta/conf/distro/include/ptest-packagelists.inc +4
-8@@ -126,17 +126,14 @@ PTESTS_SLOW = "\ tcl \ tcl8 \ util-linux \ - valgrind \ " # python3 ptests hang on qemuriscv64 -PTESTS_SLOW:remove:riscv64 = "valgrind python3" -PTESTS_PROBLEMS:append:riscv64 = " valgrind python3" -PTESTS_SLOW:remove:riscv32 = "lttng-tools strace valgrind" -PTESTS_PROBLEMS:append:riscv32 = " lttng-tools strace valgrind" +PTESTS_SLOW:remove:riscv64 = "python3" +PTESTS_PROBLEMS:append:riscv64 = " python3" +PTESTS_SLOW:remove:riscv32 = "lttng-tools strace " +PTESTS_PROBLEMS:append:riscv32 = " lttng-tools strace" PTESTS_SLOW:append:libc-musl = " libc-test" -PTESTS_SLOW:remove:x86 = "valgrind" -PTESTS_PROBLEMS:append:x86 = " valgrind" # ruby \ # Timeout # rt-tests \ # Needs to be checked whether it runs at all --2.34.1