pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/valgrind



Module Name:    pkgsrc
Committed By:   mcf
Date:           Sun May 30 01:49:37 UTC 2021

Modified Files:
        pkgsrc/devel/valgrind: Makefile PLIST PLIST.Darwin distinfo
Added Files:
        pkgsrc/devel/valgrind/files: musl.supp

Log Message:
valgrind: update to 3.17.0

Release 3.17.0 (19 Mar 2021)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

3.17.0 fixes a number of bugs and adds some functional changes: support for
GCC 11, Clang 11, DWARF5 debuginfo, the 'debuginfod' debuginfo server, and
some new instructions for Arm64, S390 and POWER.  There are also some tool
updates.

This release supports X86/Linux, AMD64/Linux, ARM32/Linux, ARM64/Linux,
PPC32/Linux, PPC64BE/Linux, PPC64LE/Linux, S390X/Linux, MIPS32/Linux,
MIPS64/Linux, ARM/Android, ARM64/Android, MIPS32/Android, X86/Android,
X86/Solaris, AMD64/Solaris and AMD64/MacOSX 10.12.  There is also preliminary
support for X86/macOS 10.13, AMD64/macOS 10.13 and nanoMIPS/Linux.

* ==================== CORE CHANGES ===================

* DWARF version 5 support.  Valgrind can now read DWARF version 5 debuginfo as
  produced by GCC 11.

* Valgrind now supports debuginfod, an HTTP server for distributing ELF/DWARF
  debugging information. When a debuginfo file cannot be found locally,
  Valgrind is able to query debuginfod servers for the file using its
  build-id. See the user manual for more information about debuginfod support.

* ================== PLATFORM CHANGES =================

* arm64:

  - Inaccuracies resulting from double-rounding in the simulation of
    floating-point multiply-add/subtract instructions have been fixed.  These
    should now behave exactly as the hardware does.

  - Partial support for the ARM v8.2 instruction set.  v8.2 support work is
    ongoing.  Support for the half-word variants of at least the following
    instructions has been added:
       FABS <Hd>, <Hn>
       FABS <Vd>.<T>, <Vn>.<T>
       FNEG <Hd>, <Hn>
       FNEG <Vd>.<T>, <Vn>.<T>
       FSQRT <Hd>, <Hn>
       FSQRT <Vd>.<T>, <Vn>.<T>
       FADDP

* s390:

  - Implement the new instructions/features that were added to z/Architecture
    with the vector-enhancements facility 1.  Also cover the instructions from
    the vector-packed-decimal facility that are defined outside the chapter
    "Vector Decimal Instructions", but not the ones from that chapter itself.

    For a detailed list of newly supported instructions see the updates to
    `docs/internals/s390-opcodes.csv'.

    Since the miscellaneous instruction extensions facility 2 was already
    added in Valgrind 3.16.0, this completes the support necessary to run
    general programs built with `--march=z14' under Valgrind.  The
    vector-packed-decimal facility is currently not exploited by the standard
    toolchain and libraries.

* ppc64:

  - Various bug fixes.  Fix for the sync field to limit setting just two of
    the two bits in the L-field. Fix the write size for the stxsibx and
    stxsihx instructions.  Fix the modsw and modsd instructions.

  - Partial support for ISA 3.1 has been added.  Support for the VSX PCV mask
    instructions, bfloat16 GER instructions, and bfloat16 to/from float 32-bit
    conversion instructions are still missing.

* ==================== TOOL CHANGES ====================

* General tool changes

  - All the tools and their vgpreload libraries are now installed under
    libexec because they cannot be executed directly and should be run through
    the valgrind executable. This should be an internal, not user visible,
    change, but might impact valgrind packagers.

  - The --track-fds option now respects -q, --quiet and won't output anything
    if no file descriptors are leaked. It also won't report the standard stdin
    (0), stdout (1) or stderr (2) descriptors as being leaked with
    --trace-fds=yes anymore. To track whether the standard file descriptors
    are still open at the end of the program run use --trace-fds=all.

* DHAT:

  - DHAT has been extended, with two new modes of operation. The new
    --mode=copy flag triggers copy profiling, which records calls to memcpy,
    strcpy, and similar functions. The new --mode=ad-hoc flag triggers ad hoc
    profiling, which records calls to the DHAT_AD_HOC_EVENT client request in
    the new dhat/dhat.h file. This is useful for learning more about hot code
    paths. See the user manual for more information about the new modes.

  - Because of these changes, DHAT's file format has changed. DHAT output
    files produced with earlier versions of DHAT will not work with this
    version of DHAT's viewer, and DHAT output files produced with this version
    of DHAT will not work with earlier versions of DHAT's viewer.

* ==================== FIXED BUGS ====================

The following bugs have been fixed or resolved.  Note that "n-i-bz"
stands for "not in bugzilla" -- that is, a bug that was reported to us
but never got a bugzilla entry.  We encourage you to file bugs in
bugzilla (https://bugs.kde.org/enter_bug.cgi?product=valgrind) rather
than mailing the developers (or mailing lists) directly -- bugs that
are not entered into bugzilla tend to get forgotten about or ignored.

To see details of a given bug, visit
  https://bugs.kde.org/show_bug.cgi?id=XXXXXX
where XXXXXX is the bug number as listed below.

140178  open("/proc/self/exe", ...); doesn't quite work
140939 --track-fds reports leakage of stdout/in/err and doesn't respect -q
217695  malloc/calloc/realloc/memalign failure doesn't set errno to ENOMEM
338633  gdbserver_tests/nlcontrolc.vgtest hangs on arm64
345077  linux syscall execveat support (linux 3.19)
361770  Missing F_ADD_SEALS
369029  handle linux syscalls sched_getattr and sched_setattr
384729  __libc_freeres inhibits cross-platform valgrind
388787  Support for C++17 new/delete
391853  Makefile.all.am:L247 and @SOLARIS_UNDEF_LARGESOURCE@ being empty
396656  Warnings while reading debug info
397605  ioctl FICLONE mishandled
401416  Compile failure with openmpi 4.0
408663  Suppression file for musl libc
404076  s390x: z14 vector instructions not implemented
410743  shmat() calls for 32-bit programs fail when running in 64-bit valgrind
        (actually affected all x86 and nanomips regardless of host bitness)
413547  regression test does not check for Arm 64 features.
414268  Enable AArch64 feature detection and decoding for v8.x instructions
415293  Incorrect call-graph tracking due to new _dl_runtime_resolve_xsave*
422174  unhandled instruction bytes: 0x48 0xE9 (REX prefixed JMP instruction)
422261  platform selection fails for unqualified client name
422623  epoll_ctl warns for uninitialized padding on non-amd64 64bit arches
423021  PPC:  Add missing ISA 3.0 documentation link and HWCAPS test.
423195  PPC ISA 3.1 support is missing, part 1
423361  Adds io_uring support on arm64/aarch64 (and all other arches)
424012  crash with readv/writev having invalid but not NULL arg2 iovec
424298  amd64: Implement RDSEED
425232  PPC ISA 3.1 support is missing, part 2
425820  Failure to recognize vpcmpeqq as a dependency breaking idiom.
426014  arm64: implement fmadd and fmsub as Iop_MAdd/Sub
426123  PPC ISA 3.1 support is missing, part 3
426144  Fix "condition variable has not been initialized" on Fedora 33.
427400  PPC ISA 3.1 support is missing, part 4
427401  PPC ISA 3.1 support is missing, part 5
427404  PPC ISA 3.1 support is missing, part 6
427870  lmw, lswi and related PowerPC insns aren't allowed on ppc64le
427787  Support new faccessat2 linux syscall (439)
427969  debuginfo section duplicates a section in the main ELF file
428035  drd: Unbreak the musl build
428648  s390_emit_load_mem panics due to 20-bit offset for vector load
428716  cppcheck detects potential leak in VEX/useful/smchash.c
428909  helgrind: need to intercept duplicate libc definitions for Fedora 33
429352  PPC ISA 3.1 support is missing, part 7
429354  PPC ISA 3.1 support is missing, part 8
429692  unhandled ppc64le-linux syscall: 147 (getsid)
429864  s390x: C++ atomic test_and_set yields false-positive memcheck
        diagnostics
429952  Errors when building regtest with clang
430354  ppc stxsibx and stxsihx instructions write too much data
430429  valgrind.h doesn't compile on s390x with clang
430485  expr_is_guardable doesn't handle Iex_Qop
431556  Complete arm64 FADDP v8.2 instruction support
432102  Add support for DWARF5 as produced by GCC11
432161  Addition of arm64 v8.2 FADDP, FNEG and FSQRT
432381  drd: Process STACK_REGISTER client requests
432552  [AArch64] invalid error emitted for pre-decremented byte/hword addresses
432672  vg_regtest: test-specific environment variables not reset between tests
432809  VEX should support REX.W + POPF
432861  PPC modsw and modsd give incorrect results for 1 mod 12
432870  gdbserver_tests:nlcontrolc hangs with newest glibc2.33 x86-64
432215  Add debuginfod functionality
433323  Use pkglibexecdir as vglibdir
433500  DRD regtest faulures when libstdc++ and libgcc debuginfo are installed
433629  valgrind/README has type "abd" instead of "and"
433641  Rust std::sys::unix::fs::try_statx Syscall param fstatat(file_name)
433898  arm64: Handle sp, lr, fp as DwReg in CfiExpr
434193  GCC 9+ inlined strcmp causes "Conditional jump or move [..] value" report
n-i-bz  helgrind: If hg_cli__realloc fails, return NULL.
n-i-bz  arm64 front end: avoid Memcheck false positives relating to CPUID


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/devel/valgrind/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/valgrind/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/valgrind/PLIST.Darwin
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/valgrind/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/valgrind/files/musl.supp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/valgrind/Makefile
diff -u pkgsrc/devel/valgrind/Makefile:1.34 pkgsrc/devel/valgrind/Makefile:1.35
--- pkgsrc/devel/valgrind/Makefile:1.34 Mon May 24 19:52:04 2021
+++ pkgsrc/devel/valgrind/Makefile      Sun May 30 01:49:36 2021
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.34 2021/05/24 19:52:04 wiz Exp $
+# $NetBSD: Makefile,v 1.35 2021/05/30 01:49:36 mcf Exp $
 #
 
-DISTNAME=              valgrind-3.16.1
-PKGREVISION=           1
+DISTNAME=              valgrind-3.17.0
 CATEGORIES=            devel
 MASTER_SITES=          ftp://sourceware.org/pub/valgrind/
 EXTRACT_SUFX=          .tar.bz2
@@ -22,10 +21,12 @@ ONLY_FOR_PLATFORM=  Darwin-*-i386 Darwin-
                        Linux-*-arm*   \
                        SunOS-*-i386 SunOS-*-x86_64
 
-USE_TOOLS+=            gmake perl
+USE_TOOLS+=            gmake perl:run
 USE_LANGUAGES=         c c++
 TEST_TARGET=           regtest
 SSP_SUPPORTED=         no
+REPLACE_PERL+=         callgrind/callgrind_annotate.in
+REPLACE_PERL+=         callgrind/callgrind_control.in
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -43,4 +44,9 @@ PLIST_SUBST+=         VGCONF_ARCH_PRI=amd64
 CONFIGURE_ARGS+=       --enable-only64bit
 .endif
 
+# musl.supp was accidentally excluded from the valgrind-3.17.0
+# tarball, so add it back.
+post-extract:
+       ${CP} ${FILESDIR}/musl.supp ${WRKSRC}
+
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/valgrind/PLIST
diff -u pkgsrc/devel/valgrind/PLIST:1.12 pkgsrc/devel/valgrind/PLIST:1.13
--- pkgsrc/devel/valgrind/PLIST:1.12    Thu Oct  8 03:30:58 2020
+++ pkgsrc/devel/valgrind/PLIST Sun May 30 01:49:36 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2020/10/08 03:30:58 mcf Exp $
+@comment $NetBSD: PLIST,v 1.13 2021/05/30 01:49:36 mcf Exp $
 bin/callgrind_annotate
 bin/callgrind_control
 bin/cg_annotate
@@ -11,6 +11,7 @@ bin/valgrind-listener
 bin/vgdb
 include/valgrind/callgrind.h
 include/valgrind/config.h
+include/valgrind/dhat.h
 include/valgrind/drd.h
 include/valgrind/helgrind.h
 include/valgrind/libvex.h
@@ -130,137 +131,137 @@ include/valgrind/vki/vki-xen-x86.h
 include/valgrind/vki/vki-xen-xsm.h
 include/valgrind/vki/vki-xen.h
 lib/pkgconfig/valgrind.pc
-lib/valgrind/32bit-core-valgrind-s1.xml
-lib/valgrind/32bit-core-valgrind-s2.xml
-lib/valgrind/32bit-core.xml
-lib/valgrind/32bit-linux-valgrind-s1.xml
-lib/valgrind/32bit-linux-valgrind-s2.xml
-lib/valgrind/32bit-linux.xml
-lib/valgrind/32bit-sse-valgrind-s1.xml
-lib/valgrind/32bit-sse-valgrind-s2.xml
-lib/valgrind/32bit-sse.xml
-lib/valgrind/64bit-avx-valgrind-s1.xml
-lib/valgrind/64bit-avx-valgrind-s2.xml
-lib/valgrind/64bit-avx.xml
-lib/valgrind/64bit-core-valgrind-s1.xml
-lib/valgrind/64bit-core-valgrind-s2.xml
-lib/valgrind/64bit-core.xml
-lib/valgrind/64bit-linux-valgrind-s1.xml
-lib/valgrind/64bit-linux-valgrind-s2.xml
-lib/valgrind/64bit-linux.xml
-lib/valgrind/64bit-sse-valgrind-s1.xml
-lib/valgrind/64bit-sse-valgrind-s2.xml
-lib/valgrind/64bit-sse.xml
-lib/valgrind/amd64-avx-coresse-valgrind.xml
-lib/valgrind/amd64-avx-coresse.xml
-lib/valgrind/amd64-avx-linux-valgrind.xml
-lib/valgrind/amd64-avx-linux.xml
-lib/valgrind/amd64-coresse-valgrind.xml
-lib/valgrind/amd64-linux-valgrind.xml
-lib/valgrind/arm-core-valgrind-s1.xml
-lib/valgrind/arm-core-valgrind-s2.xml
-lib/valgrind/arm-core.xml
-lib/valgrind/arm-vfpv3-valgrind-s1.xml
-lib/valgrind/arm-vfpv3-valgrind-s2.xml
-lib/valgrind/arm-vfpv3.xml
-lib/valgrind/arm-with-vfpv3-valgrind.xml
-lib/valgrind/arm-with-vfpv3.xml
-lib/valgrind/cachegrind-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}
-lib/valgrind/callgrind-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}
-lib/valgrind/default.supp
-lib/valgrind/dhat-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}
-lib/valgrind/drd-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}
-lib/valgrind/exp-bbv-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}
-lib/valgrind/getoff-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}
-lib/valgrind/helgrind-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}
-lib/valgrind/i386-coresse-valgrind.xml
-lib/valgrind/i386-linux-valgrind.xml
-lib/valgrind/lackey-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}
 lib/valgrind/libcoregrind-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}.a
 lib/valgrind/libgcc-sup-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}.a
 lib/valgrind/libreplacemalloc_toolpreload-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}.a
 lib/valgrind/libvex-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}.a
 lib/valgrind/libvexmultiarch-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}.a
-lib/valgrind/massif-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}
-lib/valgrind/memcheck-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}
-lib/valgrind/mips-cp0-valgrind-s1.xml
-lib/valgrind/mips-cp0-valgrind-s2.xml
-lib/valgrind/mips-cp0.xml
-lib/valgrind/mips-cpu-valgrind-s1.xml
-lib/valgrind/mips-cpu-valgrind-s2.xml
-lib/valgrind/mips-cpu.xml
-lib/valgrind/mips-fpu-valgrind-s1.xml
-lib/valgrind/mips-fpu-valgrind-s2.xml
-lib/valgrind/mips-fpu.xml
-lib/valgrind/mips-linux-valgrind.xml
-lib/valgrind/mips-linux.xml
-lib/valgrind/mips64-cp0-valgrind-s1.xml
-lib/valgrind/mips64-cp0-valgrind-s2.xml
-lib/valgrind/mips64-cp0.xml
-lib/valgrind/mips64-cpu-valgrind-s1.xml
-lib/valgrind/mips64-cpu-valgrind-s2.xml
-lib/valgrind/mips64-cpu.xml
-lib/valgrind/mips64-fpu-valgrind-s1.xml
-lib/valgrind/mips64-fpu-valgrind-s2.xml
-lib/valgrind/mips64-fpu.xml
-lib/valgrind/mips64-linux-valgrind.xml
-lib/valgrind/mips64-linux.xml
-lib/valgrind/none-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}
-lib/valgrind/power-altivec-valgrind-s1.xml
-lib/valgrind/power-altivec-valgrind-s2.xml
-lib/valgrind/power-altivec.xml
-lib/valgrind/power-core-valgrind-s1.xml
-lib/valgrind/power-core-valgrind-s2.xml
-lib/valgrind/power-core.xml
-lib/valgrind/power-fpu-valgrind-s1.xml
-lib/valgrind/power-fpu-valgrind-s2.xml
-lib/valgrind/power-fpu.xml
-lib/valgrind/power-linux-valgrind-s1.xml
-lib/valgrind/power-linux-valgrind-s2.xml
-lib/valgrind/power-linux.xml
-lib/valgrind/power-vsx-valgrind-s1.xml
-lib/valgrind/power-vsx-valgrind-s2.xml
-lib/valgrind/power-vsx.xml
-lib/valgrind/power64-core-valgrind-s1.xml
-lib/valgrind/power64-core-valgrind-s2.xml
-lib/valgrind/power64-core.xml
-lib/valgrind/power64-core2-valgrind-s1.xml
-lib/valgrind/power64-core2-valgrind-s2.xml
-lib/valgrind/power64-linux-valgrind-s1.xml
-lib/valgrind/power64-linux-valgrind-s2.xml
-lib/valgrind/power64-linux.xml
-lib/valgrind/powerpc-altivec32l-valgrind.xml
-lib/valgrind/powerpc-altivec32l.xml
-lib/valgrind/powerpc-altivec64l-valgrind.xml
-lib/valgrind/powerpc-altivec64l.xml
-lib/valgrind/s390-acr-valgrind-s1.xml
-lib/valgrind/s390-acr-valgrind-s2.xml
-lib/valgrind/s390-acr.xml
-lib/valgrind/s390-fpr-valgrind-s1.xml
-lib/valgrind/s390-fpr-valgrind-s2.xml
-lib/valgrind/s390-fpr.xml
-lib/valgrind/s390-vx-valgrind-s1.xml
-lib/valgrind/s390-vx-valgrind-s2.xml
-lib/valgrind/s390-vx.xml
-lib/valgrind/s390x-core64-valgrind-s1.xml
-lib/valgrind/s390x-core64-valgrind-s2.xml
-lib/valgrind/s390x-core64.xml
-lib/valgrind/s390x-generic-valgrind.xml
-lib/valgrind/s390x-generic.xml
-lib/valgrind/s390x-linux64-valgrind-s1.xml
-lib/valgrind/s390x-linux64-valgrind-s2.xml
-lib/valgrind/s390x-linux64.xml
-lib/valgrind/s390x-vx-linux-valgrind.xml
-lib/valgrind/s390x-vx-linux.xml
-lib/valgrind/vgpreload_core-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}.so
-lib/valgrind/vgpreload_dhat-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}.so
-lib/valgrind/vgpreload_drd-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}.so
-lib/valgrind/vgpreload_helgrind-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}.so
-lib/valgrind/vgpreload_massif-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}.so
-lib/valgrind/vgpreload_memcheck-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}.so
+libexec/valgrind/32bit-core-valgrind-s1.xml
+libexec/valgrind/32bit-core-valgrind-s2.xml
+libexec/valgrind/32bit-core.xml
+libexec/valgrind/32bit-linux-valgrind-s1.xml
+libexec/valgrind/32bit-linux-valgrind-s2.xml
+libexec/valgrind/32bit-linux.xml
+libexec/valgrind/32bit-sse-valgrind-s1.xml
+libexec/valgrind/32bit-sse-valgrind-s2.xml
+libexec/valgrind/32bit-sse.xml
+libexec/valgrind/64bit-avx-valgrind-s1.xml
+libexec/valgrind/64bit-avx-valgrind-s2.xml
+libexec/valgrind/64bit-avx.xml
+libexec/valgrind/64bit-core-valgrind-s1.xml
+libexec/valgrind/64bit-core-valgrind-s2.xml
+libexec/valgrind/64bit-core.xml
+libexec/valgrind/64bit-linux-valgrind-s1.xml
+libexec/valgrind/64bit-linux-valgrind-s2.xml
+libexec/valgrind/64bit-linux.xml
+libexec/valgrind/64bit-sse-valgrind-s1.xml
+libexec/valgrind/64bit-sse-valgrind-s2.xml
+libexec/valgrind/64bit-sse.xml
+libexec/valgrind/amd64-avx-coresse-valgrind.xml
+libexec/valgrind/amd64-avx-coresse.xml
+libexec/valgrind/amd64-avx-linux-valgrind.xml
+libexec/valgrind/amd64-avx-linux.xml
+libexec/valgrind/amd64-coresse-valgrind.xml
+libexec/valgrind/amd64-linux-valgrind.xml
+libexec/valgrind/arm-core-valgrind-s1.xml
+libexec/valgrind/arm-core-valgrind-s2.xml
+libexec/valgrind/arm-core.xml
+libexec/valgrind/arm-vfpv3-valgrind-s1.xml
+libexec/valgrind/arm-vfpv3-valgrind-s2.xml
+libexec/valgrind/arm-vfpv3.xml
+libexec/valgrind/arm-with-vfpv3-valgrind.xml
+libexec/valgrind/arm-with-vfpv3.xml
+libexec/valgrind/cachegrind-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}
+libexec/valgrind/callgrind-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}
+libexec/valgrind/default.supp
 libexec/valgrind/dh_view.css
 libexec/valgrind/dh_view.html
 libexec/valgrind/dh_view.js
+libexec/valgrind/dhat-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}
+libexec/valgrind/drd-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}
+libexec/valgrind/exp-bbv-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}
+libexec/valgrind/getoff-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}
+libexec/valgrind/helgrind-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}
+libexec/valgrind/i386-coresse-valgrind.xml
+libexec/valgrind/i386-linux-valgrind.xml
+libexec/valgrind/lackey-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}
+libexec/valgrind/massif-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}
+libexec/valgrind/memcheck-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}
+libexec/valgrind/mips-cp0-valgrind-s1.xml
+libexec/valgrind/mips-cp0-valgrind-s2.xml
+libexec/valgrind/mips-cp0.xml
+libexec/valgrind/mips-cpu-valgrind-s1.xml
+libexec/valgrind/mips-cpu-valgrind-s2.xml
+libexec/valgrind/mips-cpu.xml
+libexec/valgrind/mips-fpu-valgrind-s1.xml
+libexec/valgrind/mips-fpu-valgrind-s2.xml
+libexec/valgrind/mips-fpu.xml
+libexec/valgrind/mips-linux-valgrind.xml
+libexec/valgrind/mips-linux.xml
+libexec/valgrind/mips64-cp0-valgrind-s1.xml
+libexec/valgrind/mips64-cp0-valgrind-s2.xml
+libexec/valgrind/mips64-cp0.xml
+libexec/valgrind/mips64-cpu-valgrind-s1.xml
+libexec/valgrind/mips64-cpu-valgrind-s2.xml
+libexec/valgrind/mips64-cpu.xml
+libexec/valgrind/mips64-fpu-valgrind-s1.xml
+libexec/valgrind/mips64-fpu-valgrind-s2.xml
+libexec/valgrind/mips64-fpu.xml
+libexec/valgrind/mips64-linux-valgrind.xml
+libexec/valgrind/mips64-linux.xml
+libexec/valgrind/none-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}
+libexec/valgrind/power-altivec-valgrind-s1.xml
+libexec/valgrind/power-altivec-valgrind-s2.xml
+libexec/valgrind/power-altivec.xml
+libexec/valgrind/power-core-valgrind-s1.xml
+libexec/valgrind/power-core-valgrind-s2.xml
+libexec/valgrind/power-core.xml
+libexec/valgrind/power-fpu-valgrind-s1.xml
+libexec/valgrind/power-fpu-valgrind-s2.xml
+libexec/valgrind/power-fpu.xml
+libexec/valgrind/power-linux-valgrind-s1.xml
+libexec/valgrind/power-linux-valgrind-s2.xml
+libexec/valgrind/power-linux.xml
+libexec/valgrind/power-vsx-valgrind-s1.xml
+libexec/valgrind/power-vsx-valgrind-s2.xml
+libexec/valgrind/power-vsx.xml
+libexec/valgrind/power64-core-valgrind-s1.xml
+libexec/valgrind/power64-core-valgrind-s2.xml
+libexec/valgrind/power64-core.xml
+libexec/valgrind/power64-core2-valgrind-s1.xml
+libexec/valgrind/power64-core2-valgrind-s2.xml
+libexec/valgrind/power64-linux-valgrind-s1.xml
+libexec/valgrind/power64-linux-valgrind-s2.xml
+libexec/valgrind/power64-linux.xml
+libexec/valgrind/powerpc-altivec32l-valgrind.xml
+libexec/valgrind/powerpc-altivec32l.xml
+libexec/valgrind/powerpc-altivec64l-valgrind.xml
+libexec/valgrind/powerpc-altivec64l.xml
+libexec/valgrind/s390-acr-valgrind-s1.xml
+libexec/valgrind/s390-acr-valgrind-s2.xml
+libexec/valgrind/s390-acr.xml
+libexec/valgrind/s390-fpr-valgrind-s1.xml
+libexec/valgrind/s390-fpr-valgrind-s2.xml
+libexec/valgrind/s390-fpr.xml
+libexec/valgrind/s390-vx-valgrind-s1.xml
+libexec/valgrind/s390-vx-valgrind-s2.xml
+libexec/valgrind/s390-vx.xml
+libexec/valgrind/s390x-core64-valgrind-s1.xml
+libexec/valgrind/s390x-core64-valgrind-s2.xml
+libexec/valgrind/s390x-core64.xml
+libexec/valgrind/s390x-generic-valgrind.xml
+libexec/valgrind/s390x-generic.xml
+libexec/valgrind/s390x-linux64-valgrind-s1.xml
+libexec/valgrind/s390x-linux64-valgrind-s2.xml
+libexec/valgrind/s390x-linux64.xml
+libexec/valgrind/s390x-vx-linux-valgrind.xml
+libexec/valgrind/s390x-vx-linux.xml
+libexec/valgrind/vgpreload_core-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}.so
+libexec/valgrind/vgpreload_dhat-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}.so
+libexec/valgrind/vgpreload_drd-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}.so
+libexec/valgrind/vgpreload_helgrind-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}.so
+libexec/valgrind/vgpreload_massif-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}.so
+libexec/valgrind/vgpreload_memcheck-${VGCONF_ARCH_PRI}-${LOWER_OPSYS}.so
 man/man1/callgrind_annotate.1
 man/man1/callgrind_control.1
 man/man1/cg_annotate.1

Index: pkgsrc/devel/valgrind/PLIST.Darwin
diff -u pkgsrc/devel/valgrind/PLIST.Darwin:1.2 pkgsrc/devel/valgrind/PLIST.Darwin:1.3
--- pkgsrc/devel/valgrind/PLIST.Darwin:1.2      Thu Oct  8 03:30:58 2020
+++ pkgsrc/devel/valgrind/PLIST.Darwin  Sun May 30 01:49:36 2021
@@ -1,23 +1,23 @@
-@comment $NetBSD: PLIST.Darwin,v 1.2 2020/10/08 03:30:58 mcf Exp $
-lib/valgrind/dhat-amd64-darwin.dSYM/Contents/Info.plist
-lib/valgrind/dhat-amd64-darwin.dSYM/Contents/Resources/DWARF/dhat-amd64-darwin
-lib/valgrind/drd-amd64-darwin.dSYM/Contents/Info.plist
-lib/valgrind/drd-amd64-darwin.dSYM/Contents/Resources/DWARF/drd-amd64-darwin
-lib/valgrind/helgrind-amd64-darwin.dSYM/Contents/Info.plist
-lib/valgrind/helgrind-amd64-darwin.dSYM/Contents/Resources/DWARF/helgrind-amd64-darwin
-lib/valgrind/massif-amd64-darwin.dSYM/Contents/Info.plist
-lib/valgrind/massif-amd64-darwin.dSYM/Contents/Resources/DWARF/massif-amd64-darwin
-lib/valgrind/memcheck-amd64-darwin.dSYM/Contents/Info.plist
-lib/valgrind/memcheck-amd64-darwin.dSYM/Contents/Resources/DWARF/memcheck-amd64-darwin
-lib/valgrind/vgpreload_core-amd64-darwin.so.dSYM/Contents/Info.plist
-lib/valgrind/vgpreload_core-amd64-darwin.so.dSYM/Contents/Resources/DWARF/vgpreload_core-amd64-darwin.so
-lib/valgrind/vgpreload_dhat-amd64-darwin.so.dSYM/Contents/Info.plist
-lib/valgrind/vgpreload_dhat-amd64-darwin.so.dSYM/Contents/Resources/DWARF/vgpreload_dhat-amd64-darwin.so
-lib/valgrind/vgpreload_drd-amd64-darwin.so.dSYM/Contents/Info.plist
-lib/valgrind/vgpreload_drd-amd64-darwin.so.dSYM/Contents/Resources/DWARF/vgpreload_drd-amd64-darwin.so
-lib/valgrind/vgpreload_helgrind-amd64-darwin.so.dSYM/Contents/Info.plist
-lib/valgrind/vgpreload_helgrind-amd64-darwin.so.dSYM/Contents/Resources/DWARF/vgpreload_helgrind-amd64-darwin.so
-lib/valgrind/vgpreload_massif-amd64-darwin.so.dSYM/Contents/Info.plist
-lib/valgrind/vgpreload_massif-amd64-darwin.so.dSYM/Contents/Resources/DWARF/vgpreload_massif-amd64-darwin.so
-lib/valgrind/vgpreload_memcheck-amd64-darwin.so.dSYM/Contents/Info.plist
-lib/valgrind/vgpreload_memcheck-amd64-darwin.so.dSYM/Contents/Resources/DWARF/vgpreload_memcheck-amd64-darwin.so
+@comment $NetBSD: PLIST.Darwin,v 1.3 2021/05/30 01:49:36 mcf Exp $
+libexec/valgrind/dhat-amd64-darwin.dSYM/Contents/Info.plist
+libexec/valgrind/dhat-amd64-darwin.dSYM/Contents/Resources/DWARF/dhat-amd64-darwin
+libexec/valgrind/drd-amd64-darwin.dSYM/Contents/Info.plist
+libexec/valgrind/drd-amd64-darwin.dSYM/Contents/Resources/DWARF/drd-amd64-darwin
+libexec/valgrind/helgrind-amd64-darwin.dSYM/Contents/Info.plist
+libexec/valgrind/helgrind-amd64-darwin.dSYM/Contents/Resources/DWARF/helgrind-amd64-darwin
+libexec/valgrind/massif-amd64-darwin.dSYM/Contents/Info.plist
+libexec/valgrind/massif-amd64-darwin.dSYM/Contents/Resources/DWARF/massif-amd64-darwin
+libexec/valgrind/memcheck-amd64-darwin.dSYM/Contents/Info.plist
+libexec/valgrind/memcheck-amd64-darwin.dSYM/Contents/Resources/DWARF/memcheck-amd64-darwin
+libexec/valgrind/vgpreload_core-amd64-darwin.so.dSYM/Contents/Info.plist
+libexec/valgrind/vgpreload_core-amd64-darwin.so.dSYM/Contents/Resources/DWARF/vgpreload_core-amd64-darwin.so
+libexec/valgrind/vgpreload_dhat-amd64-darwin.so.dSYM/Contents/Info.plist
+libexec/valgrind/vgpreload_dhat-amd64-darwin.so.dSYM/Contents/Resources/DWARF/vgpreload_dhat-amd64-darwin.so
+libexec/valgrind/vgpreload_drd-amd64-darwin.so.dSYM/Contents/Info.plist
+libexec/valgrind/vgpreload_drd-amd64-darwin.so.dSYM/Contents/Resources/DWARF/vgpreload_drd-amd64-darwin.so
+libexec/valgrind/vgpreload_helgrind-amd64-darwin.so.dSYM/Contents/Info.plist
+libexec/valgrind/vgpreload_helgrind-amd64-darwin.so.dSYM/Contents/Resources/DWARF/vgpreload_helgrind-amd64-darwin.so
+libexec/valgrind/vgpreload_massif-amd64-darwin.so.dSYM/Contents/Info.plist
+libexec/valgrind/vgpreload_massif-amd64-darwin.so.dSYM/Contents/Resources/DWARF/vgpreload_massif-amd64-darwin.so
+libexec/valgrind/vgpreload_memcheck-amd64-darwin.so.dSYM/Contents/Info.plist
+libexec/valgrind/vgpreload_memcheck-amd64-darwin.so.dSYM/Contents/Resources/DWARF/vgpreload_memcheck-amd64-darwin.so

Index: pkgsrc/devel/valgrind/distinfo
diff -u pkgsrc/devel/valgrind/distinfo:1.11 pkgsrc/devel/valgrind/distinfo:1.12
--- pkgsrc/devel/valgrind/distinfo:1.11 Thu Oct  8 03:30:58 2020
+++ pkgsrc/devel/valgrind/distinfo      Sun May 30 01:49:36 2021
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.11 2020/10/08 03:30:58 mcf Exp $
+$NetBSD: distinfo,v 1.12 2021/05/30 01:49:36 mcf Exp $
 
-SHA1 (valgrind-3.16.1.tar.bz2) = 192bfe53802abb7f23edbb8aad61158a60c34f8a
-RMD160 (valgrind-3.16.1.tar.bz2) = f06068b1f2aa9f6c2377816a0af809459da2c5a8
-SHA512 (valgrind-3.16.1.tar.bz2) = 2a4173efe1b6facdd2f5c5ee8ed006704168eba1813736fccc8191d60363afd96197512cf42037e65f18d4ddd49adc74a54c47210df216fba3c46bf68ef0f950
-Size (valgrind-3.16.1.tar.bz2) = 16262776 bytes
+SHA1 (valgrind-3.17.0.tar.bz2) = 7770912c7465f93a90c5a9d5c1b1b036ebec04fd
+RMD160 (valgrind-3.17.0.tar.bz2) = 36fcd8542817f22fd35e570c02307024a2e0e5d3
+SHA512 (valgrind-3.17.0.tar.bz2) = 94de78942a7059e1ab84d1c0c0b8f3efd1c2d15c70b97bc7edc8136812778adb6f8187149d53a60a8c6a7c8b40534f9be5cfed0eb3c0c314545b681f950b108f
+Size (valgrind-3.17.0.tar.bz2) = 16459075 bytes
 SHA1 (patch-configure) = f133bb1574cc41cab01312543295996040207c5b

Added files:

Index: pkgsrc/devel/valgrind/files/musl.supp
diff -u /dev/null pkgsrc/devel/valgrind/files/musl.supp:1.1
--- /dev/null   Sun May 30 01:49:37 2021
+++ pkgsrc/devel/valgrind/files/musl.supp       Sun May 30 01:49:37 2021
@@ -0,0 +1,46 @@
+# Suppressions for musl libc
+# See: https://www.openwall.com/lists/musl/2017/06/15/4
+
+{
+   musl-dynlink-false-positive1
+   Memcheck:Leak
+   fun:calloc
+   fun:load_direct_deps
+   fun:load_deps
+   fun:load_deps
+   fun:__dls3
+   fun:__dls2b
+   fun:__dls2
+}
+
+{
+   musl-dynlink-false-positive2
+   Memcheck:Leak
+   fun:calloc
+   fun:load_direct_deps
+   fun:load_deps
+   fun:load_deps
+   fun:__dls3
+   fun:__dls2
+}
+
+{
+   musl-dynlink-false-positive3
+   Memcheck:Leak
+   fun:calloc
+   fun:load_library
+   fun:load_preload
+   fun:__dls3
+   fun:__dls2b
+   fun:__dls2
+}
+
+{
+   musl-dynlink-false-positive4
+   Memcheck:Leak
+   fun:calloc
+   fun:load_library
+   fun:load_preload
+   fun:__dls3
+   fun:__dls2
+}



Home | Main Index | Thread Index | Old Index