pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/gperftools gperftools 2.6 is out!



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a2638f7f665d
branches:  trunk
changeset: 364824:a2638f7f665d
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jul 05 11:17:17 2017 +0000

description:
gperftools 2.6 is out!

* Kim Gr?sman contributed documentation update for HEAPPROFILESIGNAL
  environment variable

* KernelMaker contributed fix for population of min_object_size field
  returned by MallocExtension::GetFreeListSizes

* commit 8c3dc52fcfe0 "issue-654: [pprof] handle split text segments"
  was reverted. Some OSX users reported issues with this commit. Given
  our pprof implementation is strongly deprecated it is best to drop
  recently introduced features rather than breaking it badly.

diffstat:

 devel/gperftools/Makefile                               |  14 +++++++++++---
 devel/gperftools/PLIST                                  |   4 +++-
 devel/gperftools/distinfo                               |  11 ++++++-----
 devel/gperftools/patches/patch-src_malloc__extension.cc |  15 +++++++++++++++
 4 files changed, 35 insertions(+), 9 deletions(-)

diffs (94 lines):

diff -r 7c28beb6273d -r a2638f7f665d devel/gperftools/Makefile
--- a/devel/gperftools/Makefile Wed Jul 05 11:03:12 2017 +0000
+++ b/devel/gperftools/Makefile Wed Jul 05 11:17:17 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2017/05/18 18:12:30 adam Exp $
+# $NetBSD: Makefile,v 1.8 2017/07/05 11:17:17 adam Exp $
 
-DISTNAME=      gperftools-2.5
+DISTNAME=      gperftools-2.6
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=gperftools/}
 
@@ -14,10 +14,18 @@
 
 USE_LANGUAGES=         c c++
 USE_LIBTOOL=           yes
-USE_TOOLS+=            perl:run
+USE_TOOLS+=            gmake perl:run
 GNU_CONFIGURE=         yes
 # on some platforms heap checker is not build by default
 CONFIGURE_ARGS+=       --enable-heap-checker
+# enable deprecated ucontext
+CFLAGS.Darwin+=                -D_XOPEN_SOURCE=1
+
+# for backtrace()
+.include "../../mk/bsd.prefs.mk"
+.if (${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD") && exists(/usr/include/execinfo.h)
+LIBS+=                 -lexecinfo
+.endif
 
 PKGCONFIG_OVERRIDE=    libprofiler.pc
 PKGCONFIG_OVERRIDE+=   libtcmalloc.pc
diff -r 7c28beb6273d -r a2638f7f665d devel/gperftools/PLIST
--- a/devel/gperftools/PLIST    Wed Jul 05 11:03:12 2017 +0000
+++ b/devel/gperftools/PLIST    Wed Jul 05 11:17:17 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2017/05/18 18:12:30 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2017/07/05 11:17:17 adam Exp $
 bin/pprof
 include/google/heap-checker.h
 include/google/heap-profiler.h
@@ -15,6 +15,7 @@
 include/gperftools/malloc_extension_c.h
 include/gperftools/malloc_hook.h
 include/gperftools/malloc_hook_c.h
+include/gperftools/nallocx.h
 include/gperftools/profiler.h
 include/gperftools/stacktrace.h
 include/gperftools/tcmalloc.h
@@ -33,6 +34,7 @@
 share/doc/gperftools/AUTHORS
 share/doc/gperftools/COPYING
 share/doc/gperftools/ChangeLog
+share/doc/gperftools/ChangeLog.old
 share/doc/gperftools/INSTALL
 share/doc/gperftools/NEWS
 share/doc/gperftools/README
diff -r 7c28beb6273d -r a2638f7f665d devel/gperftools/distinfo
--- a/devel/gperftools/distinfo Wed Jul 05 11:03:12 2017 +0000
+++ b/devel/gperftools/distinfo Wed Jul 05 11:17:17 2017 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.5 2017/05/18 18:12:30 adam Exp $
+$NetBSD: distinfo,v 1.6 2017/07/05 11:17:17 adam Exp $
 
-SHA1 (gperftools-2.5.tar.gz) = 1e7069f23f926df84a541938a8e6078b0aedf218
-RMD160 (gperftools-2.5.tar.gz) = 20506514b0f9d98190dca30da8a219aa67f5d0aa
-SHA512 (gperftools-2.5.tar.gz) = 3e80c0d8816425d65673cf5cff28c6801b0c675501263f830828600f37ac01199fd775c2c51c9ccfa53fd4f9eadc09f7b2c73b31d57161e2cdfee2bd1868afa7
-Size (gperftools-2.5.tar.gz) = 1389081 bytes
+SHA1 (gperftools-2.6.tar.gz) = e7a43a020eb426701a2c3b9946aa7bf0751efe5f
+RMD160 (gperftools-2.6.tar.gz) = 3cfe0b546cb29636a63bc106a1c3a979ef91f973
+SHA512 (gperftools-2.6.tar.gz) = 1d3ec68b5c35b44e8b985e563a9adc65f337a5fedcc1ae602eb0a32008f66d721f67c11be322fcc688de98fa37a4a1a05cd3bad628855ab16f9ae7972903505b
+Size (gperftools-2.6.tar.gz) = 1498776 bytes
 SHA1 (patch-configure) = 612e1dda5ecf65451153e9616f69e0c58add086a
 SHA1 (patch-src_base_atomicops-internals-arm-v6plus.h) = b3aeddd10d2506192551485570c31c0b3ff02432
+SHA1 (patch-src_malloc__extension.cc) = 85e02be72278029a2cd69365817a00328f528602
diff -r 7c28beb6273d -r a2638f7f665d devel/gperftools/patches/patch-src_malloc__extension.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gperftools/patches/patch-src_malloc__extension.cc   Wed Jul 05 11:17:17 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_malloc__extension.cc,v 1.1 2017/07/05 11:17:17 adam Exp $
+
+Darwin does not support lsan_ignore_object either.
+
+--- src/malloc_extension.cc.orig       2017-07-05 10:35:01.000000000 +0000
++++ src/malloc_extension.cc
+@@ -205,7 +205,7 @@ void MallocExtension::MarkThreadTemporar
+ 
+ static MallocExtension* current_instance;
+ 
+-#if (!defined(_WIN32) && !defined(__MINGW32__))
++#if (!defined(_WIN32) && !defined(__MINGW32__) && !defined(__APPLE__))
+ // Provide a weak hook for __lsan_ignore_object, so that
+ // if leak sanitizer is enabled, we can ignore the current_instance
+ // heap allocation.



Home | Main Index | Thread Index | Old Index