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 Nov 11 10:18:37 UTC 2026

Modified Files:
        pkgsrc/devel/gperftools: Makefile distinfo

Log Message:
gperftools: updated to 2.19.3

gperftools 2.19.3 is out!

This is another bug-fix release on top of 2.19.2. It updates the
vendored aw-backtrace.

With the previous version of aw-backtrace, we got broken backtraces on
aarch64 when gperftools was built with -fstack-protector-strong, which
is the default compiler setting on many distros, e.g. Ubuntu (see
https://github.com/gperftools/gperftools/issues/1653). This release
fixes that and related issues. aw-backtrace's own CI now also tests
builds with stack protector, hardening (-mbranch-protection or
-fcf-protection), without frame pointers, and, on x86-64,
x86-64-v3 builds (stack realignment).

Notable changes:

* aw-backtrace now has a small piece of assembly (aw-asm-x86_64.S and
  aw-asm-aarch64.S) that captures the exact pc, sp and frame pointer
  of aw_backtrace_full's own frame, so the backtrace starts from known
  values. It is used on both architectures. Previously, on aarch64, we
  guessed the stack pointer of the frame we started from, and that
  guess was the bug described above.

* aarch64: when a frame has no usable unwind info, aw-backtrace
  steps to the caller through the frame record (saved x29/x30). A
  frame record gives the caller's pc and frame pointer, but not its
  stack pointer. We used to guess the stack pointer; now it is
  treated as unknown until the caller's own unwind info makes it known
  again.

* aw-backtrace now steps through frames whose unwind info uses an
  unsupported DWARF expression via the fallback (frame record based on
  aarch64), instead of stopping the backtrace there. This fixes
  backtraces on aarch64 through functions with SVE stack slots.

* aarch64: aw-backtrace now understands the
  DW_CFA_AARCH64_negate_ra_state_with_pc unwind instruction, which
  clang emits with -mbranch-protection=pac-ret+pc. Previously, frames
  using it were handled by the fallback instead of their unwind info.

* the Bazel build now pulls aw-backtrace via git_override, since the
  needed version isn't in the BCR yet.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/devel/gperftools/Makefile
cvs rdiff -u -r1.26 -r1.27 pkgsrc/devel/gperftools/distinfo

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.31 pkgsrc/devel/gperftools/Makefile:1.32
--- pkgsrc/devel/gperftools/Makefile:1.31       Thu Oct 29 05:55:20 2026
+++ pkgsrc/devel/gperftools/Makefile    Wed Nov 11 10:18:36 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.31 2026/10/29 05:55:20 adam Exp $
+# $NetBSD: Makefile,v 1.32 2026/11/11 10:18:36 adam Exp $
 
-DISTNAME=      gperftools-2.19.2
+DISTNAME=      gperftools-2.19.3
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=gperftools/}
 GITHUB_RELEASE=        ${DISTNAME}

Index: pkgsrc/devel/gperftools/distinfo
diff -u pkgsrc/devel/gperftools/distinfo:1.26 pkgsrc/devel/gperftools/distinfo:1.27
--- pkgsrc/devel/gperftools/distinfo:1.26       Thu Oct 29 05:55:20 2026
+++ pkgsrc/devel/gperftools/distinfo    Wed Nov 11 10:18:36 2026
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.26 2026/10/29 05:55:20 adam Exp $
+$NetBSD: distinfo,v 1.27 2026/11/11 10:18:36 adam Exp $
 
-BLAKE2s (gperftools-2.19.2.tar.gz) = d7e324083daa49431ebda660abbcacc11af75aa218a61b36ebdbc167e2a2d46b
-SHA512 (gperftools-2.19.2.tar.gz) = 9f0a938ec581ee920da0907d1d54066b864d858397a548a88094373bd64f1190230a317b7a3921a9e8e555ba7ab40277c10025baf38111460f2bc728ef864e84
-Size (gperftools-2.19.2.tar.gz) = 3407696 bytes
+BLAKE2s (gperftools-2.19.3.tar.gz) = 9257a5c34f3382ef63177440d369bfea0309299133ee7eab9bf981658573363b
+SHA512 (gperftools-2.19.3.tar.gz) = 5aa1f7e01a19a8ae4455142da6c8bcc678416e2c653c6644bd4c919280ab854a0abdf5dc5f9a21f24e2447e184052c879d3277e201ed8589f098c841651b6d8a
+Size (gperftools-2.19.3.tar.gz) = 3419212 bytes
 SHA1 (patch-src_base_basictypes.h) = f62e4fa2731250478a351c0c3ffdcde372b5d390
 SHA1 (patch-src_base_sysinfo.cc) = 1d24ddd50ff6486bee6a6f0c38c120ae805f2974



Home | Main Index | Thread Index | Old Index