Debian Patches

Status for austin/3.7.0-6

Patch Description Author Forwarded Bugs Origin Last update
0005-Upgrade-microsecond-time-representation-to-64bit.patch Upgrade microsecond time representation to 64bit
On 32bit time64 architectures, gettime() always returns 0xffffffff. The
ctime_t type can only represent timestamps of up to about 71 minutes and
clock_gettime tends to return larger values on many systems.

Introduce a new microsecond_t large enough to hold such timestamps. Then
change gettime() to return microsecond_t and propagate that change as
far as is easy until we hit py_thread__emit_collapsed_stack. There we
pass a delta and hope that it is small enough to survive truncation.
Helmut Grohne <helmut@subdivi.de> yes 2025-05-20
gcc-15-c23.patch Support C23 in GCC 15 Stefano Rivera <stefano@rivera.za.net> no debian backport, https://github.com/P403n1x87/austin/pull/328 2025-09-12
0003-Fix-build-failure-on-non-arm-32bit-architectures.patch Fix build failure on non-arm 32bit architectures
An incompatible format triggers -Werror=format-security. %zu is widely
available and is the correct type for size_t. The correct format string
to be used for uintptr_t is defined in inttypes.h.

When casting from a pointer to an integer, we trip up
-Werror=pointer-to-int-cast unless the target integer type has exactly
the same size as a pointer.
Helmut Grohne <helmut@subdivi.de> yes 2025-05-14
0004-Fix-out-of-bound-_hash_table__index-return-value.patch Fix out-of-bound _hash_table__index return value
_hash_table__index computes a bucket by multiplying the unsigned key
with a signed MAGIC and then performing modulo the unsigned capacity.
Promotion rules imply that the modulo operation is performed signed and
thus the result may end up being negative. When converting the negative
value to unsigned, what we get is an out-of-bounds bucket index.
Helmut Grohne <helmut@subdivi.de> yes 2025-05-16
0001-Change-linking-of-austinp-for-Debian.patch Change linking of austinp for Debian
Upstream wants to link austinp statically. In Debian, we prefer dynamic
linking to be able to update dependencies and to have smaller binaries.

An exception to this rule is libbfd. It must not be linked dynamically.

Beyond this, libbfd gained libsframe and libzstd dependencies.

Last but not least, wrap libraries in a group to resolve cycles.
Helmut Grohne <helmut@subdivi.de> no 2025-05-13
0002-Defer-austin-import-failure.patch Defer austin import failure
Drop this patch when austin-python is packaged
Helmut Grohne <helmut@subdivi.de> no 2025-05-14

All known versions for source package 'austin'

Links