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:           Thu Feb  5 12:42:41 UTC 2026

Modified Files:
        pkgsrc/devel/gperftools: Makefile distinfo
        pkgsrc/devel/gperftools/patches: patch-src_base_basictypes.h

Log Message:
gperftools: updated to 2.18

gperftools 2.18 is out!

This release contains a number of improvements for the bazel build
system, in particular for Windows. Plus a number of correctness fixes.

Notable changes:

* Correctness of C23 sized deallocation (free_sized) vs realloc has
  been fixed. Previously, free_sized could crash the process when used
  on reallocated objects. This also significantly changes behavior of
  realloc. Previously, we had heuristics to avoid shrinking if the new
  size was at least 50% of the old size, and to pad small growths to
  at least 1.25x the original size. These heuristics have been removed
  to ensure compatibility with free_sized.

* Bazel build support for Windows has been significantly improved, now
  working with MinGW and MSVC.

* We now have experimental :tcmalloc_minimal_nopatch Bazel target for
  Windows.

* Fast TLS is now enabled for clang-mingw builds on Windows.

* Building with 256k logical pages on 32-bit targets is fixed.

* Several fixes to Valgrind integration were made. Thanks to
  GitHub user stefvanvlierberghe for reporting and advocating for these
  changes.

* CPU profiler now uses a different mechanism to force child processes
  to use pid in cpu profile file name. Previously, we used a kludge that
  crashed certain software that insisted on valid UTF-8 in environment
  variables. See GitHub issues
  https://github.com/gperftools/gperftools/issues/1044 and
  https://github.com/gperftools/gperftools/issues/1603.

* We now properly recognize SPARCv9 cache line length. Thanks to Nia
  Alarie for the patch.

* Basic support for compile_commands.json generation was added,
  enabling nicer integration with modern IDEs.

* Matthieu MOREL contributed a Bazel 9 compatibility fix.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/devel/gperftools/Makefile
cvs rdiff -u -r1.23 -r1.24 pkgsrc/devel/gperftools/distinfo
cvs rdiff -u -r1.3 -r1.4 \
    pkgsrc/devel/gperftools/patches/patch-src_base_basictypes.h

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.28 pkgsrc/devel/gperftools/Makefile:1.29
--- pkgsrc/devel/gperftools/Makefile:1.28       Wed Jan 21 05:38:05 2026
+++ pkgsrc/devel/gperftools/Makefile    Thu Feb  5 12:42:40 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.28 2026/01/21 05:38:05 markd Exp $
+# $NetBSD: Makefile,v 1.29 2026/02/05 12:42:40 adam Exp $
 
-DISTNAME=      gperftools-2.17.2
+DISTNAME=      gperftools-2.18
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=gperftools/}
 GITHUB_RELEASE=        ${DISTNAME}

Index: pkgsrc/devel/gperftools/distinfo
diff -u pkgsrc/devel/gperftools/distinfo:1.23 pkgsrc/devel/gperftools/distinfo:1.24
--- pkgsrc/devel/gperftools/distinfo:1.23       Sun Nov 16 14:56:45 2025
+++ pkgsrc/devel/gperftools/distinfo    Thu Feb  5 12:42:40 2026
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.23 2025/11/16 14:56:45 nia Exp $
+$NetBSD: distinfo,v 1.24 2026/02/05 12:42:40 adam Exp $
 
-BLAKE2s (gperftools-2.17.2.tar.gz) = d284366022cb46a28093f6c1b1cf74a949edac857c3c9125e46d1470c3ca7aac
-SHA512 (gperftools-2.17.2.tar.gz) = 07517cbbe8e9df68a6033f2cfb906d80efc1495f2c9204a0845b21f2fad544bc92213d17ec56ec8ae08cc89feeccc2bc1cab6972c7912c74c4fad9f5e92c3512
-Size (gperftools-2.17.2.tar.gz) = 2815669 bytes
-SHA1 (patch-src_base_basictypes.h) = f3e6d5acce74b400243ba1753c19d45c2d07b75c
+BLAKE2s (gperftools-2.18.tar.gz) = 9ee9cfdf6b12e30ac7889196255f918770ac3b1f3f1c9e11a2f67274838e5d9c
+SHA512 (gperftools-2.18.tar.gz) = eb5c1b44f70fe125460914a757524657cf3567e8c9329a09f8f309e4e51f53079587659efcd419819c16805f12658ce61937a89bb258ee2c162904eb09f913fa
+Size (gperftools-2.18.tar.gz) = 2837115 bytes
+SHA1 (patch-src_base_basictypes.h) = beba623a699e29318c92bf8ce77b308a4ec315a7
 SHA1 (patch-src_base_sysinfo.cc) = d3a79e75c775d2f355f28f6f117886b5afde046f

Index: pkgsrc/devel/gperftools/patches/patch-src_base_basictypes.h
diff -u pkgsrc/devel/gperftools/patches/patch-src_base_basictypes.h:1.3 pkgsrc/devel/gperftools/patches/patch-src_base_basictypes.h:1.4
--- pkgsrc/devel/gperftools/patches/patch-src_base_basictypes.h:1.3     Sun Nov 16 14:56:45 2025
+++ pkgsrc/devel/gperftools/patches/patch-src_base_basictypes.h Thu Feb  5 12:42:41 2026
@@ -1,10 +1,10 @@
-$NetBSD: patch-src_base_basictypes.h,v 1.3 2025/11/16 14:56:45 nia Exp $
+$NetBSD: patch-src_base_basictypes.h,v 1.4 2026/02/05 12:42:41 adam Exp $
 
 Add support for NetBSD/powerpc, recognized via __powerpc__.
 
---- src/base/basictypes.h.orig 2025-02-17 16:34:39.000000000 +0000
+--- src/base/basictypes.h.orig 2026-01-24 04:13:42.000000000 +0000
 +++ src/base/basictypes.h
-@@ -150,7 +150,7 @@ inline void bit_store(Dest *dest, const 
+@@ -150,7 +150,7 @@ inline void bit_store(Dest *dest, const
  #if defined(HAVE___ATTRIBUTE__)
  # if (defined(__i386__) || defined(__x86_64__))
  #   define CACHELINE_ALIGNED __attribute__((aligned(64)))
@@ -13,9 +13,9 @@ Add support for NetBSD/powerpc, recogniz
  #   define CACHELINE_ALIGNED __attribute__((aligned(16)))
  # elif (defined(__arm__))
  #   define CACHELINE_ALIGNED __attribute__((aligned(64)))
-@@ -166,6 +166,8 @@ inline void bit_store(Dest *dest, const 
+@@ -168,6 +168,8 @@ inline void bit_store(Dest *dest, const
  #   define CACHELINE_ALIGNED __attribute__((aligned(64)))
- # elif defined(__loongarch64)
+ # elif defined(__sparcv9) || defined(__sparcv9__)
  #   define CACHELINE_ALIGNED __attribute__((aligned(64)))
 +# elif defined(__sparcv9) || defined(__sparcv9__)
 +#   define CACHELINE_ALIGNED __attribute__((aligned(64)))



Home | Main Index | Thread Index | Old Index