Mon Jan 29 22:35:06 2018 UTC ()
Update devel/valgrind to version 3.13.0.

3.13.0 adds support for larger processes and programs, solidifies and improves
support on existing platforms, and provides new heap-use reporting facilities.

      Release 3.13.0 (15 June 2017)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

3.13.0 is a feature release with many improvements and the usual collection of
bug fixes.

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.

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

* The translation cache size has been increased to keep up with the demands of
  large applications.  The maximum number of sectors has increased from 24 to
  48.  The default number of sectors has increased from 16 to 32 on all
  targets except Android, where the increase is from 6 to 12.

* The amount of memory that Valgrind can use has been increased from 64GB to
  128GB.  In particular this means your application can allocate up to about
  60GB when running on Memcheck.

* Valgrind's default load address has been changed from 0x3800'0000 to
  0x5800'0000, so as to make it possible to load larger executables.  This
  should make it possible to load executables of size at least 1200MB.

* A massive spaceleak caused by reading compressed debuginfo files has been
  fixed.  Valgrind should now be entirely usable with gcc-7.0 "-gz" created
  debuginfo.

* The C++ demangler has been updated.

* Support for demangling Rust symbols has been added.

* A new representation of stack traces, the "XTree", has been added.  An XTree
  is a tree of stacktraces with data associated with the stacktraces.  This is
  used by various tools (Memcheck, Helgrind, Massif) to report on the heap
  consumption of your program.  Reporting is controlled by the new options
  --xtree-memory=none|allocs|full and --xtree-memory-file=<file>.

  A report can also be produced on demand using the gdbserver monitor command
  'xtmemory [<filename>]>'.  The XTree can be output in 2 formats: 'callgrind
  format' and 'massif format. The existing visualisers for these formats (e.g.
  callgrind_annotate, KCachegrind, ms_print) can be used to visualise and
  analyse these reports.

  Memcheck can also produce XTree leak reports using the Callgrind file
  format.  For more details, see the user manual.

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

* ppc64: support for ISA 3.0B and various fixes for existing 3.0 support

* amd64: fixes for JIT failure problems on long AVX2 code blocks

* amd64 and x86: support for CET prefixes has been added

* arm32: a few missing ARMv8 instructions have been implemented

* arm64, mips64, mips32: an alternative implementation of Load-Linked and
  Store-Conditional instructions has been added.  This is to deal with
  processor implementations that implement the LL/SC specifications strictly
  and as a result cause Valgrind to hang in certain situations.  The
  alternative implementation is automatically enabled at startup, as required.
  You can use the option --sim-hints=fallback-llsc to force-enable it if you
  want.

* Support for OSX 10.12 has been improved.

* On Linux, clone handling has been improved to honour CLONE_VFORK that
  involves a child stack.  Note however that CLONE_VFORK | CLONE_VM is handled
  like CLONE_VFORK (by removing CLONE_VM), so applications that depend on
  CLONE_VM exact semantics will (still) not work.

* The TileGX/Linux port has been removed because it appears to be both unused
  and unsupported.

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

* Memcheck:

  - Memcheck should give fewer false positives when running optimised
    Clang/LLVM generated code.

  - Support for --xtree-memory and 'xtmemory [<filename>]>'.

  - New command line options --xtree-leak=no|yes and --xtree-leak-file=<file>
    to produce the end of execution leak report in a xtree callgrind format
    file.

  - New option 'xtleak' in the memcheck leak_check monitor command, to produce
    the leak report in an xtree file.

* Massif:

  - Support for --xtree-memory and 'xtmemory [<filename>]>'.

  - For some workloads (typically, for big applications), Massif memory
    consumption and CPU consumption has decreased significantly.

* Helgrind:

  - Support for --xtree-memory and 'xtmemory [<filename>]>'.

  - addition of client request VALGRIND_HG_GNAT_DEPENDENT_MASTER_JOIN, useful
    for Ada gnat compiled applications.


(alnsn)
diff -r1.25 -r1.26 pkgsrc/devel/valgrind/Makefile
diff -r1.9 -r1.10 pkgsrc/devel/valgrind/PLIST
diff -r1.9 -r1.10 pkgsrc/devel/valgrind/distinfo

cvs diff -r1.25 -r1.26 pkgsrc/devel/valgrind/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/valgrind/Makefile 2017/09/16 19:53:51 1.25
+++ pkgsrc/devel/valgrind/Makefile 2018/01/29 22:35:06 1.26
@@ -1,22 +1,22 @@ @@ -1,22 +1,22 @@
1# $NetBSD: Makefile,v 1.25 2017/09/16 19:53:51 alnsn Exp $ 1# $NetBSD: Makefile,v 1.26 2018/01/29 22:35:06 alnsn Exp $
2# 2#
3 3
4DISTNAME= valgrind-3.12.0 4DISTNAME= valgrind-3.13.0
5CATEGORIES= devel 5CATEGORIES= devel
6MASTER_SITES= http://valgrind.org/downloads/ 6MASTER_SITES= ftp://sourceware.org/pub/valgrind/
7EXTRACT_SUFX= .tar.bz2 7EXTRACT_SUFX= .tar.bz2
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= alnsn@NetBSD.org
10HOMEPAGE= http://valgrind.org/ 10HOMEPAGE= http://valgrind.org/
11COMMENT= Debugging and profiling tools 11COMMENT= Debugging and profiling tools
12LICENSE= gnu-gpl-v2 12LICENSE= gnu-gpl-v2
13 13
14USE_PKGLOCALEDIR= yes 14USE_PKGLOCALEDIR= yes
15PKGCONFIG_OVERRIDE+= ${WRKSRC}/valgrind.pc.in 15PKGCONFIG_OVERRIDE+= ${WRKSRC}/valgrind.pc.in
16GNU_CONFIGURE= yes 16GNU_CONFIGURE= yes
17 17
18ONLY_FOR_PLATFORM= Darwin-*-i386 Darwin-*-x86_64 \ 18ONLY_FOR_PLATFORM= Darwin-*-i386 Darwin-*-x86_64 \
19 Linux-*-x86_64 \ 19 Linux-*-x86_64 \
20 Linux-*-i386 \ 20 Linux-*-i386 \
21 Linux-*-arm* \ 21 Linux-*-arm* \
22 SunOS-*-i386 SunOS-*-x86_64 22 SunOS-*-i386 SunOS-*-x86_64

cvs diff -r1.9 -r1.10 pkgsrc/devel/valgrind/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/valgrind/PLIST 2016/12/05 20:17:56 1.9
+++ pkgsrc/devel/valgrind/PLIST 2018/01/29 22:35:06 1.10
@@ -1,41 +1,40 @@ @@ -1,41 +1,40 @@
1@comment $NetBSD: PLIST,v 1.9 2016/12/05 20:17:56 wiedi Exp $ 1@comment $NetBSD: PLIST,v 1.10 2018/01/29 22:35:06 alnsn Exp $
2bin/callgrind_annotate 2bin/callgrind_annotate
3bin/callgrind_control 3bin/callgrind_control
4bin/cg_annotate 4bin/cg_annotate
5bin/cg_diff 5bin/cg_diff
6bin/cg_merge 6bin/cg_merge
7bin/ms_print 7bin/ms_print
8bin/valgrind 8bin/valgrind
9bin/valgrind-di-server 9bin/valgrind-di-server
10bin/valgrind-listener 10bin/valgrind-listener
11bin/vgdb 11bin/vgdb
12include/valgrind/callgrind.h 12include/valgrind/callgrind.h
13include/valgrind/config.h 13include/valgrind/config.h
14include/valgrind/drd.h 14include/valgrind/drd.h
15include/valgrind/helgrind.h 15include/valgrind/helgrind.h
16include/valgrind/libvex_basictypes.h 16include/valgrind/libvex_basictypes.h
17include/valgrind/libvex_emnote.h 17include/valgrind/libvex_emnote.h
18include/valgrind/libvex_guest_amd64.h 18include/valgrind/libvex_guest_amd64.h
19include/valgrind/libvex_guest_arm64.h 19include/valgrind/libvex_guest_arm64.h
20include/valgrind/libvex_guest_arm.h 20include/valgrind/libvex_guest_arm.h
21include/valgrind/libvex_guest_mips32.h 21include/valgrind/libvex_guest_mips32.h
22include/valgrind/libvex_guest_mips64.h 22include/valgrind/libvex_guest_mips64.h
23include/valgrind/libvex_guest_offsets.h 23include/valgrind/libvex_guest_offsets.h
24include/valgrind/libvex_guest_ppc32.h 24include/valgrind/libvex_guest_ppc32.h
25include/valgrind/libvex_guest_ppc64.h 25include/valgrind/libvex_guest_ppc64.h
26include/valgrind/libvex_guest_s390x.h 26include/valgrind/libvex_guest_s390x.h
27include/valgrind/libvex_guest_x86.h 27include/valgrind/libvex_guest_x86.h
28include/valgrind/libvex_guest_tilegx.h 
29include/valgrind/libvex.h 28include/valgrind/libvex.h
30include/valgrind/libvex_ir.h 29include/valgrind/libvex_ir.h
31include/valgrind/libvex_s390x_common.h 30include/valgrind/libvex_s390x_common.h
32include/valgrind/libvex_trc_values.h 31include/valgrind/libvex_trc_values.h
33include/valgrind/memcheck.h 32include/valgrind/memcheck.h
34include/valgrind/pub_tool_addrinfo.h 33include/valgrind/pub_tool_addrinfo.h
35include/valgrind/pub_tool_aspacehl.h 34include/valgrind/pub_tool_aspacehl.h
36include/valgrind/pub_tool_aspacemgr.h 35include/valgrind/pub_tool_aspacemgr.h
37include/valgrind/pub_tool_basics_asm.h 36include/valgrind/pub_tool_basics_asm.h
38include/valgrind/pub_tool_basics.h 37include/valgrind/pub_tool_basics.h
39include/valgrind/pub_tool_clientstate.h 38include/valgrind/pub_tool_clientstate.h
40include/valgrind/pub_tool_clreq.h 39include/valgrind/pub_tool_clreq.h
41include/valgrind/pub_tool_debuginfo.h 40include/valgrind/pub_tool_debuginfo.h

cvs diff -r1.9 -r1.10 pkgsrc/devel/valgrind/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/valgrind/distinfo 2016/10/25 17:41:02 1.9
+++ pkgsrc/devel/valgrind/distinfo 2018/01/29 22:35:06 1.10
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.9 2016/10/25 17:41:02 alnsn Exp $ 1$NetBSD: distinfo,v 1.10 2018/01/29 22:35:06 alnsn Exp $
2 2
3SHA1 (valgrind-3.12.0.tar.bz2) = 7a6878bf998c60d1e377a4f22ebece8d9305bda4 3SHA1 (valgrind-3.13.0.tar.bz2) = ddf13e22dd0ee688bd533fc66b94cf88f75fad86
4RMD160 (valgrind-3.12.0.tar.bz2) = 25d413bc0594bdf4d26ff19d031151a4dfe87920 4RMD160 (valgrind-3.13.0.tar.bz2) = 809dcd3c656633cb9e1153eec491dce7d3e532c0
5SHA512 (valgrind-3.12.0.tar.bz2) = 2c083f7c2e74dc58600397726d9d3af7a2cea40fe3d8733149886d1d77867e6c09996e5be1c58dd932f3662acf7363e04eeadbc0f9c8f0dac089e605024229be 5SHA512 (valgrind-3.13.0.tar.bz2) = 34e1013cd3815d30a459b86220e871bb0a6209cc9e87af968f347083693779f022e986f211bdf1a5184ad7370cde12ff2cfca8099967ff94732970bd04a97009
6Size (valgrind-3.12.0.tar.bz2) = 12788556 bytes 6Size (valgrind-3.13.0.tar.bz2) = 14723076 bytes