Sat Oct 3 06:49:48 2020 UTC ()
gperftools: updated to 2.8

gperftools 2.8 is out!

Here are notable changes:

* ProfilerGetStackTrace is now officially supported API for
  libprofiler. Contributed by Kirill M端ller.

* Build failures on mingw were fixed. This fixed issue 1108.

* Build failure of page_heap_test on MSVC was fixed.

* Ryan Macnak contributed fix for compiling linux syscall support on
  i386 and recent GCCs. This fixed issue 1076.

* test failures caused by new gcc 10 optimizations were fixed. Same
  change also fixed tests on clang.


(adam)
diff -r1.17 -r1.18 pkgsrc/devel/gperftools/Makefile
diff -r1.3 -r1.4 pkgsrc/devel/gperftools/PLIST
diff -r1.11 -r1.12 pkgsrc/devel/gperftools/distinfo

cvs diff -r1.17 -r1.18 pkgsrc/devel/gperftools/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/gperftools/Makefile 2020/08/31 18:07:21 1.17
+++ pkgsrc/devel/gperftools/Makefile 2020/10/03 06:49:48 1.18
@@ -1,35 +1,32 @@ @@ -1,35 +1,32 @@
1# $NetBSD: Makefile,v 1.17 2020/08/31 18:07:21 wiz Exp $ 1# $NetBSD: Makefile,v 1.18 2020/10/03 06:49:48 adam Exp $
2 2
3DISTNAME= gperftools-2.7 3DISTNAME= gperftools-2.8
4PKGREVISION= 4 
5CATEGORIES= devel 4CATEGORIES= devel
6MASTER_SITES= ${MASTER_SITE_GITHUB:=gperftools/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=gperftools/}
7GITHUB_PROJECT= gperftools 6GITHUB_PROJECT= gperftools
8GITHUB_RELEASE= ${DISTNAME} 7GITHUB_RELEASE= ${DISTNAME}
9 8
10MAINTAINER= cheusov@NetBSD.org 9MAINTAINER= cheusov@NetBSD.org
11HOMEPAGE= https://github.com/gperftools/gperftools 10HOMEPAGE= https://github.com/gperftools/gperftools
12COMMENT= Fast, multi-threaded malloc() and nifty performance analysis tools 11COMMENT= Fast, multi-threaded malloc() and nifty performance analysis tools
13LICENSE= modified-bsd 12LICENSE= modified-bsd
14 13
15USE_LANGUAGES= c c++ 14USE_LANGUAGES= c c++
16USE_LIBTOOL= yes 15USE_LIBTOOL= yes
17USE_TOOLS+= gmake perl:run 16USE_TOOLS+= gmake perl:run
18GNU_CONFIGURE= yes 17GNU_CONFIGURE= yes
19# on some platforms heap checker is not build by default 18# on some platforms heap checker is not build by default
20CONFIGURE_ARGS+= --enable-heap-checker 19CONFIGURE_ARGS+= --enable-heap-checker
21# enable deprecated ucontext 
22CFLAGS.Darwin+= -D_XOPEN_SOURCE=1 
23 20
24# for backtrace() 21# for backtrace()
25.include "../../mk/bsd.prefs.mk" 22.include "../../mk/bsd.prefs.mk"
26.if (${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD") && exists(/usr/include/execinfo.h) 23.if (${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD") && exists(/usr/include/execinfo.h)
27LIBS+= -lexecinfo 24LIBS+= -lexecinfo
28CONFIGURE_ARGS+= --enable-stacktrace-via-backtrace 25CONFIGURE_ARGS+= --enable-stacktrace-via-backtrace
29.endif 26.endif
30 27
31PKGCONFIG_OVERRIDE= libprofiler.pc 28PKGCONFIG_OVERRIDE= libprofiler.pc
32PKGCONFIG_OVERRIDE+= libtcmalloc.pc 29PKGCONFIG_OVERRIDE+= libtcmalloc.pc
33PKGCONFIG_OVERRIDE+= libtcmalloc_debug.pc 30PKGCONFIG_OVERRIDE+= libtcmalloc_debug.pc
34PKGCONFIG_OVERRIDE+= libtcmalloc_minimal.pc 31PKGCONFIG_OVERRIDE+= libtcmalloc_minimal.pc
35PKGCONFIG_OVERRIDE+= libtcmalloc_minimal_debug.pc 32PKGCONFIG_OVERRIDE+= libtcmalloc_minimal_debug.pc

cvs diff -r1.3 -r1.4 pkgsrc/devel/gperftools/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/gperftools/PLIST 2017/07/05 11:17:17 1.3
+++ pkgsrc/devel/gperftools/PLIST 2020/10/03 06:49:48 1.4
@@ -1,15 +1,16 @@ @@ -1,15 +1,16 @@
1@comment $NetBSD: PLIST,v 1.3 2017/07/05 11:17:17 adam Exp $ 1@comment $NetBSD: PLIST,v 1.4 2020/10/03 06:49:48 adam Exp $
2bin/pprof 2bin/pprof
 3bin/pprof-symbolize
3include/google/heap-checker.h 4include/google/heap-checker.h
4include/google/heap-profiler.h 5include/google/heap-profiler.h
5include/google/malloc_extension.h 6include/google/malloc_extension.h
6include/google/malloc_extension_c.h 7include/google/malloc_extension_c.h
7include/google/malloc_hook.h 8include/google/malloc_hook.h
8include/google/malloc_hook_c.h 9include/google/malloc_hook_c.h
9include/google/profiler.h 10include/google/profiler.h
10include/google/stacktrace.h 11include/google/stacktrace.h
11include/google/tcmalloc.h 12include/google/tcmalloc.h
12include/gperftools/heap-checker.h 13include/gperftools/heap-checker.h
13include/gperftools/heap-profiler.h 14include/gperftools/heap-profiler.h
14include/gperftools/malloc_extension.h 15include/gperftools/malloc_extension.h
15include/gperftools/malloc_extension_c.h 16include/gperftools/malloc_extension_c.h

cvs diff -r1.11 -r1.12 pkgsrc/devel/gperftools/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/gperftools/distinfo 2019/11/28 12:19:58 1.11
+++ pkgsrc/devel/gperftools/distinfo 2020/10/03 06:49:48 1.12
@@ -1,11 +1,10 @@ @@ -1,11 +1,10 @@
1$NetBSD: distinfo,v 1.11 2019/11/28 12:19:58 bouyer Exp $ 1$NetBSD: distinfo,v 1.12 2020/10/03 06:49:48 adam Exp $
2 2
3SHA1 (gperftools-2.7.tar.gz) = 89e3e1df674bc4ba1a9e97246b58a26a4e92d0a3 3SHA1 (gperftools-2.8.tar.gz) = 2caf94d01a3aa36c338ed52bd5ec508f05593d8d
4RMD160 (gperftools-2.7.tar.gz) = a45ba1a6e601fe46ec7b7ed3035251f991371bd2 4RMD160 (gperftools-2.8.tar.gz) = e35c9a2dc59aa36abbe3a30a10a47e7342ff3381
5SHA512 (gperftools-2.7.tar.gz) = 7cd079fcfa9fd517ef99ff81c294daa6150898ae9024cb5ee02e1bce086d135d2cadcd2b863528cc82327fc00c9f4574d5078b47a02ac57fbc393fa66adc32ec 5SHA512 (gperftools-2.8.tar.gz) = 7c0493de4e324a3589ef400a09c642e1fa56878be5730d8de97bcb8b08d91659adb1e1549e6871c074e4f76923e742164aca06500951a84920c72e16d3b1fc8a
6Size (gperftools-2.7.tar.gz) = 1523562 bytes 6Size (gperftools-2.8.tar.gz) = 1595567 bytes
7SHA1 (patch-benchmark_getcontext_light.cc) = 892c709fbda8476053e581262feeea4af1a27795 
8SHA1 (patch-configure) = 612e1dda5ecf65451153e9616f69e0c58add086a 7SHA1 (patch-configure) = 612e1dda5ecf65451153e9616f69e0c58add086a
9SHA1 (patch-src_base_atomicops-internals-arm-v6plus.h) = b3aeddd10d2506192551485570c31c0b3ff02432 8SHA1 (patch-src_base_atomicops-internals-arm-v6plus.h) = b3aeddd10d2506192551485570c31c0b3ff02432
10SHA1 (patch-src_base_sysinfo.cc) = 558034b05ad3d2870a7269762d3b58442824e649 9SHA1 (patch-src_base_sysinfo.cc) = 558034b05ad3d2870a7269762d3b58442824e649
11SHA1 (patch-src_symbolize.cc) = fdbc603dba286b45d092c3447b80a537549bd78d 10SHA1 (patch-src_symbolize.cc) = fdbc603dba286b45d092c3447b80a537549bd78d