pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/gperftools



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Jul  5 11:17:17 UTC 2017

Modified Files:
        pkgsrc/devel/gperftools: Makefile PLIST distinfo
Added Files:
        pkgsrc/devel/gperftools/patches: patch-src_malloc__extension.cc

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/gperftools/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/gperftools/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/gperftools/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/gperftools/patches/patch-src_malloc__extension.cc

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

Modified files:

Index: pkgsrc/devel/gperftools/Makefile
diff -u pkgsrc/devel/gperftools/Makefile:1.7 pkgsrc/devel/gperftools/Makefile:1.8
--- pkgsrc/devel/gperftools/Makefile:1.7        Thu May 18 18:12:30 2017
+++ pkgsrc/devel/gperftools/Makefile    Wed Jul  5 11:17:17 2017
@@ -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 @@ GITHUB_RELEASE=     ${DISTNAME}
 
 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

Index: pkgsrc/devel/gperftools/PLIST
diff -u pkgsrc/devel/gperftools/PLIST:1.2 pkgsrc/devel/gperftools/PLIST:1.3
--- pkgsrc/devel/gperftools/PLIST:1.2   Thu May 18 18:12:30 2017
+++ pkgsrc/devel/gperftools/PLIST       Wed Jul  5 11:17:17 2017
@@ -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.h
 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 @@ man/man1/pprof.1
 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

Index: pkgsrc/devel/gperftools/distinfo
diff -u pkgsrc/devel/gperftools/distinfo:1.5 pkgsrc/devel/gperftools/distinfo:1.6
--- pkgsrc/devel/gperftools/distinfo:1.5        Thu May 18 18:12:30 2017
+++ pkgsrc/devel/gperftools/distinfo    Wed Jul  5 11:17:17 2017
@@ -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

Added files:

Index: pkgsrc/devel/gperftools/patches/patch-src_malloc__extension.cc
diff -u /dev/null pkgsrc/devel/gperftools/patches/patch-src_malloc__extension.cc:1.1
--- /dev/null   Wed Jul  5 11:17:17 2017
+++ pkgsrc/devel/gperftools/patches/patch-src_malloc__extension.cc      Wed Jul  5 11:17:17 2017
@@ -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