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 (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,42 +1,39 @@ @@ -1,42 +1,39 @@
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
36PKGCONFIG_OVERRIDE_STAGE= post-build 33PKGCONFIG_OVERRIDE_STAGE= post-build
37 34
38REPLACE_PERL= src/pprof 35REPLACE_PERL= src/pprof
39 36
40TEST_TARGET= check 37TEST_TARGET= check
41 38
42.include "../../mk/bsd.pkg.mk" 39.include "../../mk/bsd.pkg.mk"

cvs diff -r1.3 -r1.4 pkgsrc/devel/gperftools/PLIST (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,85 +1,86 @@ @@ -1,85 +1,86 @@
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
16include/gperftools/malloc_hook.h 17include/gperftools/malloc_hook.h
17include/gperftools/malloc_hook_c.h 18include/gperftools/malloc_hook_c.h
18include/gperftools/nallocx.h 19include/gperftools/nallocx.h
19include/gperftools/profiler.h 20include/gperftools/profiler.h
20include/gperftools/stacktrace.h 21include/gperftools/stacktrace.h
21include/gperftools/tcmalloc.h 22include/gperftools/tcmalloc.h
22lib/libprofiler.la 23lib/libprofiler.la
23lib/libtcmalloc.la 24lib/libtcmalloc.la
24lib/libtcmalloc_and_profiler.la 25lib/libtcmalloc_and_profiler.la
25lib/libtcmalloc_debug.la 26lib/libtcmalloc_debug.la
26lib/libtcmalloc_minimal.la 27lib/libtcmalloc_minimal.la
27lib/libtcmalloc_minimal_debug.la 28lib/libtcmalloc_minimal_debug.la
28lib/pkgconfig/libprofiler.pc 29lib/pkgconfig/libprofiler.pc
29lib/pkgconfig/libtcmalloc.pc 30lib/pkgconfig/libtcmalloc.pc
30lib/pkgconfig/libtcmalloc_debug.pc 31lib/pkgconfig/libtcmalloc_debug.pc
31lib/pkgconfig/libtcmalloc_minimal.pc 32lib/pkgconfig/libtcmalloc_minimal.pc
32lib/pkgconfig/libtcmalloc_minimal_debug.pc 33lib/pkgconfig/libtcmalloc_minimal_debug.pc
33man/man1/pprof.1 34man/man1/pprof.1
34share/doc/gperftools/AUTHORS 35share/doc/gperftools/AUTHORS
35share/doc/gperftools/COPYING 36share/doc/gperftools/COPYING
36share/doc/gperftools/ChangeLog 37share/doc/gperftools/ChangeLog
37share/doc/gperftools/ChangeLog.old 38share/doc/gperftools/ChangeLog.old
38share/doc/gperftools/INSTALL 39share/doc/gperftools/INSTALL
39share/doc/gperftools/NEWS 40share/doc/gperftools/NEWS
40share/doc/gperftools/README 41share/doc/gperftools/README
41share/doc/gperftools/README_windows.txt 42share/doc/gperftools/README_windows.txt
42share/doc/gperftools/TODO 43share/doc/gperftools/TODO
43share/doc/gperftools/cpuprofile-fileformat.html 44share/doc/gperftools/cpuprofile-fileformat.html
44share/doc/gperftools/cpuprofile.html 45share/doc/gperftools/cpuprofile.html
45share/doc/gperftools/designstyle.css 46share/doc/gperftools/designstyle.css
46share/doc/gperftools/heap-example1.png 47share/doc/gperftools/heap-example1.png
47share/doc/gperftools/heap_checker.html 48share/doc/gperftools/heap_checker.html
48share/doc/gperftools/heapprofile.html 49share/doc/gperftools/heapprofile.html
49share/doc/gperftools/index.html 50share/doc/gperftools/index.html
50share/doc/gperftools/overview.dot 51share/doc/gperftools/overview.dot
51share/doc/gperftools/overview.gif 52share/doc/gperftools/overview.gif
52share/doc/gperftools/pageheap.dot 53share/doc/gperftools/pageheap.dot
53share/doc/gperftools/pageheap.gif 54share/doc/gperftools/pageheap.gif
54share/doc/gperftools/pprof-test-big.gif 55share/doc/gperftools/pprof-test-big.gif
55share/doc/gperftools/pprof-test.gif 56share/doc/gperftools/pprof-test.gif
56share/doc/gperftools/pprof-vsnprintf-big.gif 57share/doc/gperftools/pprof-vsnprintf-big.gif
57share/doc/gperftools/pprof-vsnprintf.gif 58share/doc/gperftools/pprof-vsnprintf.gif
58share/doc/gperftools/pprof_remote_servers.html 59share/doc/gperftools/pprof_remote_servers.html
59share/doc/gperftools/spanmap.dot 60share/doc/gperftools/spanmap.dot
60share/doc/gperftools/spanmap.gif 61share/doc/gperftools/spanmap.gif
61share/doc/gperftools/t-test1.times.txt 62share/doc/gperftools/t-test1.times.txt
62share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.1024.bytes.png 63share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.1024.bytes.png
63share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.128.bytes.png 64share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.128.bytes.png
64share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.131072.bytes.png 65share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.131072.bytes.png
65share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.16384.bytes.png 66share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.16384.bytes.png
66share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.2048.bytes.png 67share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.2048.bytes.png
67share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.256.bytes.png 68share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.256.bytes.png
68share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.32768.bytes.png 69share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.32768.bytes.png
69share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.4096.bytes.png 70share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.4096.bytes.png
70share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.512.bytes.png 71share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.512.bytes.png
71share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.64.bytes.png 72share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.64.bytes.png
72share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.65536.bytes.png 73share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.65536.bytes.png
73share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.8192.bytes.png 74share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.8192.bytes.png
74share/doc/gperftools/tcmalloc-opspersec.vs.size.1.threads.png 75share/doc/gperftools/tcmalloc-opspersec.vs.size.1.threads.png
75share/doc/gperftools/tcmalloc-opspersec.vs.size.12.threads.png 76share/doc/gperftools/tcmalloc-opspersec.vs.size.12.threads.png
76share/doc/gperftools/tcmalloc-opspersec.vs.size.16.threads.png 77share/doc/gperftools/tcmalloc-opspersec.vs.size.16.threads.png
77share/doc/gperftools/tcmalloc-opspersec.vs.size.2.threads.png 78share/doc/gperftools/tcmalloc-opspersec.vs.size.2.threads.png
78share/doc/gperftools/tcmalloc-opspersec.vs.size.20.threads.png 79share/doc/gperftools/tcmalloc-opspersec.vs.size.20.threads.png
79share/doc/gperftools/tcmalloc-opspersec.vs.size.3.threads.png 80share/doc/gperftools/tcmalloc-opspersec.vs.size.3.threads.png
80share/doc/gperftools/tcmalloc-opspersec.vs.size.4.threads.png 81share/doc/gperftools/tcmalloc-opspersec.vs.size.4.threads.png
81share/doc/gperftools/tcmalloc-opspersec.vs.size.5.threads.png 82share/doc/gperftools/tcmalloc-opspersec.vs.size.5.threads.png
82share/doc/gperftools/tcmalloc-opspersec.vs.size.8.threads.png 83share/doc/gperftools/tcmalloc-opspersec.vs.size.8.threads.png
83share/doc/gperftools/tcmalloc.html 84share/doc/gperftools/tcmalloc.html
84share/doc/gperftools/threadheap.dot 85share/doc/gperftools/threadheap.dot
85share/doc/gperftools/threadheap.gif 86share/doc/gperftools/threadheap.gif

cvs diff -r1.11 -r1.12 pkgsrc/devel/gperftools/distinfo (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