Sync from SUSE:SLFO:Main valgrind revision 40e76d4761fa550765fd3a9e408ba789

This commit is contained in:
Adrian Schröter 2024-10-03 18:04:38 +02:00
parent 93b7a21f5b
commit b69bf9bfce
10 changed files with 235 additions and 76 deletions

View File

@ -1,8 +1,8 @@
Index: valgrind-3.21.0/VEX/priv/guest_x86_toIR.c
Index: valgrind-3.23.0/VEX/priv/guest_x86_toIR.c
===================================================================
--- valgrind-3.21.0.orig/VEX/priv/guest_x86_toIR.c
+++ valgrind-3.21.0/VEX/priv/guest_x86_toIR.c
@@ -12921,6 +12921,62 @@ DisResult disInstr_X86_WRK (
--- valgrind-3.23.0.orig/VEX/priv/guest_x86_toIR.c
+++ valgrind-3.23.0/VEX/priv/guest_x86_toIR.c
@@ -12941,6 +12941,62 @@ DisResult disInstr_X86_WRK (
/* --- start of the SSE4 decoder --- */
/* ---------------------------------------------------- */

View File

@ -1,11 +0,0 @@
--- a/configure.ac
+++ b/configure.ac
@@ -252,7 +252,7 @@ case "${host_cpu}" in
ARCH_MAX="s390x"
;;
- armv7*)
+ armv6*|armv7*)
AC_MSG_RESULT([ok (${host_cpu})])
ARCH_MAX="arm"
;;

View File

@ -1,8 +1,8 @@
Index: valgrind-3.20.0/configure
Index: valgrind-3.23.0/configure
===================================================================
--- valgrind-3.20.0.orig/configure
+++ valgrind-3.20.0/configure
@@ -10983,7 +10983,7 @@ if test "x${vg_cv_lto}" != "xno" -a "x${
--- valgrind-3.23.0.orig/configure
+++ valgrind-3.23.0/configure
@@ -11265,7 +11265,7 @@ if test "x${vg_cv_lto}" != "xno" -a "x${
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if toolchain accepts lto" >&5
printf %s "checking if toolchain accepts lto... " >&6; }
safe_CFLAGS=$CFLAGS
@ -11,11 +11,11 @@ Index: valgrind-3.20.0/configure
# Note : using 'one' partition is giving a slightly smaller/faster memcheck
# and ld/lto-trans1 still needs a reasonable memory (about 0.5GB) when linking.
CFLAGS="$TEST_LTO_CFLAGS -Werror"
Index: valgrind-3.20.0/configure.ac
Index: valgrind-3.23.0/configure.ac
===================================================================
--- valgrind-3.20.0.orig/configure.ac
+++ valgrind-3.20.0/configure.ac
@@ -2448,7 +2448,7 @@ AC_CACHE_CHECK([for using the link time
--- valgrind-3.23.0.orig/configure.ac
+++ valgrind-3.23.0/configure.ac
@@ -2541,7 +2541,7 @@ AC_CACHE_CHECK([for using the link time
if test "x${vg_cv_lto}" != "xno" -a "x${LTO_AR}" != "x" -a "x${LTO_RANLIB}" != "x"; then
AC_MSG_CHECKING([if toolchain accepts lto])
safe_CFLAGS=$CFLAGS

BIN
valgrind-3.21.0.tar.bz2 (Stored with Git LFS)

Binary file not shown.

BIN
valgrind-3.23.0.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEEEnaKlnlZkBB6DS/f/FfjzKzZmngFAmYr3LEACgkQ/FfjzKzZ
mnjgfQf/cgjj4zvbaV6bv+pDBpmnWFDHOcBtEJmtJ+uiMIdikU+kUo9idBm/uL1O
hWow73rQpzecbIR6hY6jlGx9vSqJP3WfneZmvuPXu7InQNwSwn7PIvIqcZ4etXk/
6rXt85TPY5vM5R2vQIHnAvB7VQJmXiNh4/uOSNEBnYiY9pmT1LSiwyJkVV2KojkY
Jl0Umo/9qSNW+MUzpTY/xwktMMMtzD1NWNShfwHk18f8Yt1PXar07VEh5ypXiIJg
a1KF0aDaxKuoMEe5l+9lwCBdBruXGR3nTmCGC4HdC+sDNtha+96QNAjD2J5Vhio/
1hMg8Y+WjQYgj38Air9wwj+7aX+dxA==
=ah6z
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,45 @@
-------------------------------------------------------------------
Sun Apr 28 15:47:13 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.23.0:
* Added ARM64 support for FreeBSD.
* ARM64 now supports dotprod instructions (sdot/udot).
* AMD64 better supports code build with -march=x86-64-v3.
fused-multiple-add instructions (fma) are now emulated more
accurately. And memcheck now handles __builtin_strcmp using 128/256
bit vectors with sse4.1, avx/avx2.
* S390X added support for NNPA (neural network processing assist)
facility vector instructions VCNF, VCLFNH, VCFN, VCLFNL, VCRNF and
NNPA (z16/arch14).
* X86 recognizes new binutils-2.42 nop patterns.
- drop VEX-x86-nop-pattern.patch (upstream)
- drop armv6-support.diff (obsolete)
-------------------------------------------------------------------
Mon Feb 5 13:26:28 UTC 2024 - Andreas Schwab <schwab@suse.de>
- VEX-x86-nop-pattern.patch: bko#478624 - Valgrind incompatibility with
binutils-2.42 on x86 with new nop patterns (unhandled instruction bytes:
0x2E 0x8D 0xB4 0x26)
-------------------------------------------------------------------
Fri Nov 24 09:07:29 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 3.22.0: (jsc#PED-5442):
* Memcheck now tests and warns about the values used for
alignment and size. These apply to various functions: memalign,
posix_memalign and aligned_alloc in C and various overloads
of operators new and delete in C++. The kinds of error that can
be detected are
- invalid alignment, for instance the alignment is usually required
to be a power of 2
- mismatched alignment between aligned allocation and aligned
deallocation
- mismatched size when sized delete is used
- bad size for functions that have implementation defined behaviour
when the requested size is zero
* many bug fixes, see https://valgrind.org/docs/manual/dist.news.html
-------------------------------------------------------------------
Wed Nov 15 10:09:48 UTC 2023 - Dirk Müller <dmueller@suse.com>

114
valgrind.keyring Normal file
View File

@ -0,0 +1,114 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFxDPtIBEAC8xePaWvq5cDMBYtrpdmR20YX5xrDXUeHgueSVE9Mw8yCan2Cq
1Ac1jHYnXxp4Jj3q4tIS9Jq2oAbqxyvBMdJYqEz4z709eDnYBacZQcGqojLh3HI2
P7lmmKxkL8rS3Q3Ug05mYT+MwgmRvIO1+kwQTcq1AeB9z9/zikgY1Jv1R86gH8G8
4OPbJUowdE/mT3pQ+2UQnarCVPJ3WJtZNDXPRzskk0t5h+Mg5RtX+COoHfsvWHiE
UTmHMfynw49GG/YF6jLSVz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N7g7ZBkDDiZO+BIKQPt/awA9NM+tda02hyfQokBBi+v8b/iKif
KIfUaqPDo1PA5uxljdluyX8AXIotKjJXF6Elsiz7bVpcIc0ZXOOFr9ylmtZm51YN
mOzDNznEBmol2oBZfsk2G55/QgShHmKUnvzKANBGfnfS/a/K7Hv4sfZAb58Prl6O
mQSrkmhzFry/4BNLKq+nd4s8VXkJPpx3Ogf3DoIynqpNF0bwf52U5IgJSNcJN/Hr
AwhaG1W+Y3LDe7S19M0cUzftEUeq3Jd89hoijC72tdba+BRfW0ncfvEcsk9QifSU
1tvZxQ==
=DlFV
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -1,7 +1,7 @@
#
# spec file
# spec file for package valgrind
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -29,19 +29,20 @@
%endif
%bcond_without docs
Name: valgrind%{?psuffix}
Version: 3.21.0
Version: 3.23.0
Release: 0
Summary: Memory Management Debugger
License: GFDL-1.2-only AND GPL-2.0-or-later
Group: Development/Tools/Debuggers
URL: https://valgrind.org/
Source0: https://sourceware.org/pub/valgrind/valgrind-%{version}.tar.bz2
Source1: https://sourceware.org/pub/valgrind/valgrind-%{version}.tar.bz2.asc
Source2: valgrind.keyring
# https://bugs.kde.org/show_bug.cgi?id=390553
# https://github.com/olafhering/valgrind/compare/olh-base-master...olh-fixes-master
Patch0: valgrind.xen.patch
# bko#276780 missing implementation for PINSRD
Patch1: VEX-x86-pinsrd.patch
Patch2: armv6-support.diff
Patch9: parallel-lto.patch
Patch10: dhat-use-datadir.patch
BuildRequires: automake
@ -209,12 +210,13 @@ if test -d %{buildroot}%{_datadir}/doc/valgrind; then
fi
mkdir -p %{buildroot}%{_docdir}/%{name}
rm %{buildroot}/%{_includedir}/valgrind/{valgrind,callgrind,dhat,drd,helgrind,memcheck}.h
rm %{buildroot}/%{_includedir}/valgrind/{valgrind,cachegrind,callgrind,dhat,drd,helgrind,memcheck}.h
%else
install -m 755 -d %{buildroot}/%{_includedir}/valgrind
install -m 644 -t %{buildroot}/%{_includedir}/valgrind \
include/valgrind.h \
cachegrind/cachegrind.h \
callgrind/callgrind.h \
dhat/dhat.h \
drd/drd.h \
@ -377,6 +379,7 @@ VALGRIND_LIB=$PWD/.in_place VALGRIND_LIB_INNER=$PWD/.in_place ./coregrind/valgri
%files -n valgrind-client-headers
%dir %{_includedir}/valgrind
%{_includedir}/valgrind/cachegrind.h
%{_includedir}/valgrind/callgrind.h
%{_includedir}/valgrind/dhat.h
%{_includedir}/valgrind/drd.h

View File

@ -19,10 +19,10 @@ bz#390553
coregrind/m_syswrap/syswrap-xen.c | 71 +++++++++++++++++++++++++++++++
1 file changed, 71 insertions(+)
Index: valgrind-3.16.0/coregrind/m_syswrap/syswrap-xen.c
Index: valgrind-3.23.0/coregrind/m_syswrap/syswrap-xen.c
===================================================================
--- valgrind-3.16.0.orig/coregrind/m_syswrap/syswrap-xen.c
+++ valgrind-3.16.0/coregrind/m_syswrap/syswrap-xen.c
--- valgrind-3.23.0.orig/coregrind/m_syswrap/syswrap-xen.c
+++ valgrind-3.23.0/coregrind/m_syswrap/syswrap-xen.c
@@ -60,6 +60,57 @@
#include <inttypes.h>
@ -1520,10 +1520,10 @@ Index: valgrind-3.16.0/coregrind/m_syswrap/syswrap-xen.c
};
static void bad_before ( ThreadId tid,
Index: valgrind-3.16.0/include/vki/vki-xen-domctl.h
Index: valgrind-3.23.0/include/vki/vki-xen-domctl.h
===================================================================
--- valgrind-3.16.0.orig/include/vki/vki-xen-domctl.h
+++ valgrind-3.16.0/include/vki/vki-xen-domctl.h
--- valgrind-3.23.0.orig/include/vki/vki-xen-domctl.h
+++ valgrind-3.23.0/include/vki/vki-xen-domctl.h
@@ -28,21 +28,31 @@
/*
@ -2032,10 +2032,10 @@ Index: valgrind-3.16.0/include/vki/vki-xen-domctl.h
vki_uint8_t pad[128];
} u;
};
Index: valgrind-3.16.0/include/vki/vki-xen-sysctl.h
Index: valgrind-3.23.0/include/vki/vki-xen-sysctl.h
===================================================================
--- valgrind-3.16.0.orig/include/vki/vki-xen-sysctl.h
+++ valgrind-3.16.0/include/vki/vki-xen-sysctl.h
--- valgrind-3.23.0.orig/include/vki/vki-xen-sysctl.h
+++ valgrind-3.23.0/include/vki/vki-xen-sysctl.h
@@ -3,19 +3,31 @@
/*
@ -2254,10 +2254,10 @@ Index: valgrind-3.16.0/include/vki/vki-xen-sysctl.h
vki_uint8_t pad[128];
} u;
Index: valgrind-3.16.0/include/vki/vki-xen-hvm.h
Index: valgrind-3.23.0/include/vki/vki-xen-hvm.h
===================================================================
--- valgrind-3.16.0.orig/include/vki/vki-xen-hvm.h
+++ valgrind-3.16.0/include/vki/vki-xen-hvm.h
--- valgrind-3.23.0.orig/include/vki/vki-xen-hvm.h
+++ valgrind-3.23.0/include/vki/vki-xen-hvm.h
@@ -95,7 +95,16 @@ struct vki_xen_hvm_get_mem_access {
typedef struct vki_xen_hvm_get_mem_access vki_xen_hvm_get_mem_access_t;
@ -2285,10 +2285,10 @@ Index: valgrind-3.16.0/include/vki/vki-xen-hvm.h
#define VKI_XEN_HVMOP_altp2m 25
#define VKI_XEN_HVMOP_altp2m_get_domain_state 1
Index: valgrind-3.16.0/include/vki/vki-xen.h
Index: valgrind-3.23.0/include/vki/vki-xen.h
===================================================================
--- valgrind-3.16.0.orig/include/vki/vki-xen.h
+++ valgrind-3.16.0/include/vki/vki-xen.h
--- valgrind-3.23.0.orig/include/vki/vki-xen.h
+++ valgrind-3.23.0/include/vki/vki-xen.h
@@ -67,6 +67,8 @@
#define __VKI_XEN_kexec_op 37
#define __VKI_XEN_tmem_op 38
@ -2314,11 +2314,11 @@ Index: valgrind-3.16.0/include/vki/vki-xen.h
#endif // __VKI_XEN_H
Index: valgrind-3.16.0/coregrind/m_syswrap/syswrap-linux.c
Index: valgrind-3.23.0/coregrind/m_syswrap/syswrap-linux.c
===================================================================
--- valgrind-3.16.0.orig/coregrind/m_syswrap/syswrap-linux.c
+++ valgrind-3.16.0/coregrind/m_syswrap/syswrap-linux.c
@@ -8904,6 +8904,38 @@ PRE(sys_ioctl)
--- valgrind-3.23.0.orig/coregrind/m_syswrap/syswrap-linux.c
+++ valgrind-3.23.0/coregrind/m_syswrap/syswrap-linux.c
@@ -9111,6 +9111,38 @@ PRE(sys_ioctl)
(Addr)args->arr, sizeof(*(args->arr)) * args->num);
break;
}
@ -2357,7 +2357,7 @@ Index: valgrind-3.16.0/coregrind/m_syswrap/syswrap-linux.c
case VKI_XEN_IOCTL_EVTCHN_BIND_VIRQ: {
struct vki_xen_ioctl_evtchn_bind_virq *args =
@@ -8945,6 +8977,80 @@ PRE(sys_ioctl)
@@ -9152,6 +9184,80 @@ PRE(sys_ioctl)
case VKI_XEN_IOCTL_EVTCHN_RESET:
/* No input*/
break;
@ -2438,7 +2438,7 @@ Index: valgrind-3.16.0/coregrind/m_syswrap/syswrap-linux.c
#endif
/* Lustre */
@@ -11542,6 +11648,16 @@ POST(sys_ioctl)
@@ -11778,6 +11884,16 @@ POST(sys_ioctl)
POST_MEM_WRITE((Addr)args->err, sizeof(*(args->err)) * args->num);
}
break;
@ -2455,7 +2455,7 @@ Index: valgrind-3.16.0/coregrind/m_syswrap/syswrap-linux.c
case VKI_XEN_IOCTL_EVTCHN_BIND_VIRQ:
case VKI_XEN_IOCTL_EVTCHN_BIND_INTERDOMAIN:
@@ -11551,6 +11667,44 @@ POST(sys_ioctl)
@@ -11787,6 +11903,44 @@ POST(sys_ioctl)
case VKI_XEN_IOCTL_EVTCHN_RESET:
/* No output */
break;
@ -2500,11 +2500,11 @@ Index: valgrind-3.16.0/coregrind/m_syswrap/syswrap-linux.c
#endif
/* Lustre */
Index: valgrind-3.16.0/include/vki/vki-linux.h
Index: valgrind-3.23.0/include/vki/vki-linux.h
===================================================================
--- valgrind-3.16.0.orig/include/vki/vki-linux.h
+++ valgrind-3.16.0/include/vki/vki-linux.h
@@ -3457,12 +3457,37 @@ struct vki_xen_privcmd_mmapbatch_v2 {
--- valgrind-3.23.0.orig/include/vki/vki-linux.h
+++ valgrind-3.23.0/include/vki/vki-linux.h
@@ -3547,12 +3547,37 @@ struct vki_xen_privcmd_mmapbatch_v2 {
int __user *err; /* array of error codes */
};
@ -2542,7 +2542,7 @@ Index: valgrind-3.16.0/include/vki/vki-linux.h
//----------------------------------------------------------------------
// Xen evtchn IOCTL
//----------------------------------------------------------------------
@@ -3501,6 +3526,91 @@ struct vki_xen_ioctl_evtchn_notify {
@@ -3591,6 +3616,91 @@ struct vki_xen_ioctl_evtchn_notify {
#define VKI_XEN_IOCTL_EVTCHN_RESET \
_VKI_IOC(_VKI_IOC_NONE, 'E', 5, 0)
@ -2634,10 +2634,10 @@ Index: valgrind-3.16.0/include/vki/vki-linux.h
//----------------------------------------------------------------------
// From linux-3.4.0/include/linux/fs.h
Index: valgrind-3.16.0/include/vki/vki-xen-memory.h
Index: valgrind-3.23.0/include/vki/vki-xen-memory.h
===================================================================
--- valgrind-3.16.0.orig/include/vki/vki-xen-memory.h
+++ valgrind-3.16.0/include/vki/vki-xen-memory.h
--- valgrind-3.23.0.orig/include/vki/vki-xen-memory.h
+++ valgrind-3.23.0/include/vki/vki-xen-memory.h
@@ -45,9 +45,14 @@
#define VKI_XENMEM_get_pod_target 17
#define VKI_XENMEM_get_sharing_freed_pages 18
@ -2668,10 +2668,10 @@ Index: valgrind-3.16.0/include/vki/vki-xen-memory.h
struct vki_xen_mem_event_op {
vki_uint8_t op;
vki_xen_domid_t domain;
Index: valgrind-3.16.0/include/vki/vki-xen-gnttab.h
Index: valgrind-3.23.0/include/vki/vki-xen-gnttab.h
===================================================================
--- valgrind-3.16.0.orig/include/vki/vki-xen-gnttab.h
+++ valgrind-3.16.0/include/vki/vki-xen-gnttab.h
--- valgrind-3.23.0.orig/include/vki/vki-xen-gnttab.h
+++ valgrind-3.23.0/include/vki/vki-xen-gnttab.h
@@ -40,6 +40,7 @@ typedef vki_uint32_t vki_xen_grant_ref_t
#define VKI_XEN_GNTTABOP_get_status_frames 9
#define VKI_XEN_GNTTABOP_get_version 10
@ -2680,10 +2680,10 @@ Index: valgrind-3.16.0/include/vki/vki-xen-gnttab.h
struct vki_xen_gnttab_setup_table {
/* IN parameters. */
Index: valgrind-3.16.0/include/vki/vki-xen-physdev.h
Index: valgrind-3.23.0/include/vki/vki-xen-physdev.h
===================================================================
--- valgrind-3.16.0.orig/include/vki/vki-xen-physdev.h
+++ valgrind-3.16.0/include/vki/vki-xen-physdev.h
--- valgrind-3.23.0.orig/include/vki/vki-xen-physdev.h
+++ valgrind-3.23.0/include/vki/vki-xen-physdev.h
@@ -58,6 +58,15 @@ struct vki_xen_physdev_unmap_pirq {
int pirq;
};
@ -2700,10 +2700,10 @@ Index: valgrind-3.16.0/include/vki/vki-xen-physdev.h
#endif // __VKI_XEN_PHYSDEV_H
/*--------------------------------------------------------------------*/
Index: valgrind-3.16.0/include/vki/vki-xen-schedop.h
Index: valgrind-3.23.0/include/vki/vki-xen-schedop.h
===================================================================
--- valgrind-3.16.0.orig/include/vki/vki-xen-schedop.h
+++ valgrind-3.16.0/include/vki/vki-xen-schedop.h
--- valgrind-3.23.0.orig/include/vki/vki-xen-schedop.h
+++ valgrind-3.23.0/include/vki/vki-xen-schedop.h
@@ -45,4 +45,6 @@ typedef struct vki_xen_remote_shutdown v
#define VKI_XEN_SCHEDOP_watchdog 6
@ -2711,10 +2711,10 @@ Index: valgrind-3.16.0/include/vki/vki-xen-schedop.h
+#define VKI_XEN_SCHEDOP_pin_override 7
+
#endif /* __VKI_XEN_SCHED_OP_H */
Index: valgrind-3.16.0/include/vki/vki-xen-version.h
Index: valgrind-3.23.0/include/vki/vki-xen-version.h
===================================================================
--- valgrind-3.16.0.orig/include/vki/vki-xen-version.h
+++ valgrind-3.16.0/include/vki/vki-xen-version.h
--- valgrind-3.23.0.orig/include/vki/vki-xen-version.h
+++ valgrind-3.23.0/include/vki/vki-xen-version.h
@@ -36,6 +36,7 @@
#define VKI_XENVER_pagesize 7
#define VKI_XENVER_guest_handle 8
@ -2740,10 +2740,10 @@ Index: valgrind-3.16.0/include/vki/vki-xen-version.h
#endif // __VKI_XEN_VERSION_H
/*--------------------------------------------------------------------*/
Index: valgrind-3.16.0/include/vki/vki-xen-x86.h
Index: valgrind-3.23.0/include/vki/vki-xen-x86.h
===================================================================
--- valgrind-3.16.0.orig/include/vki/vki-xen-x86.h
+++ valgrind-3.16.0/include/vki/vki-xen-x86.h
--- valgrind-3.23.0.orig/include/vki/vki-xen-x86.h
+++ valgrind-3.23.0/include/vki/vki-xen-x86.h
@@ -281,6 +281,20 @@ struct vki_hvm_hw_mtrr {
VKI_DECLARE_HVM_SAVE_TYPE(MTRR, 14, struct vki_hvm_hw_mtrr);