austin-dist: Add version 4.0.0 - #2148
Merged
Merged
Conversation
luhenry
added a commit
that referenced
this pull request
Sep 21, 2026
Wheel is two compiled riscv64 C binaries packed by upstream's own scripts/build-wheel.py; local QEMU rehearsal in the manylinux image produced an 836 KB wheel whose installed austin/austinp both run.
Contributor
|
luhenry
force-pushed
the
austin-dist
branch
from
September 21, 2026 05:50
dba83c6 to
d150d20
Compare
luhenry
added a commit
that referenced
this pull request
Sep 21, 2026
All three interpreter legs pass upstream's functional and integrity suites against the wheel's own binary (34 unprivileged, 42 as root) and the publish dry-run is clean. The wheel ships austin alone; austinp's two riscv64 segfaults are recorded on the PR and in the version's warning.
Builds austin, the C frame-stack sampling profiler for CPython, from the v4.0.0 tag in the manylinux riscv64 image and packs the binary into the wheel with upstream's own scripts/build-wheel.py, the way release_arch.yml does for aarch64, armv7 and ppc64le. The sampler reads its target through ptrace and /proc/<pid>/mem and has no architecture-specific register or unwinder code of its own, so nothing in it needed porting. The wheel carries austin alone, which is the shape of upstream's own musllinux wheels. austinp, the variant that also unwinds native stacks with libunwind, segfaults on riscv64 in two independent places, both read from core dumps of an unstripped build on the runner: events.c:83 dereferences UNKNOWN_SCOPE, the (cached_string_t*)1 sentinel austin stores when libunwind cannot name a frame - a latent upstream bug - and libunwind's own _Uelf64_lookup_symbol_from_dynamic faults under _Uriscv_get_proc_name. Leaving austinp out also removes every dependency it needed, so the build installs nothing beyond autoconf and automake. Three patches, none riscv64-specific except the first: the wheel platform table has no riscv64 entry, the wheels ship no copy of the GPL for the binary they carry, and the test suite opens /var/log/syslog after every austin call, which a journald-only host does not have. Upstream's functional and integrity suites run against the binary the wheel installs, unprivileged and as root, on each of 3.12, 3.13 and 3.14. test_where_multiprocess is deselected: upstream marks it flaky and its single-snapshot race is lost on these runners.
luhenry
force-pushed
the
austin-dist
branch
from
September 21, 2026 09:08
a6656ac to
d48ca4c
Compare
luhenry
marked this pull request as ready for review
September 21, 2026 10:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
austin-dist4.0.0Compiles austin, the C frame-stack sampling profiler for CPython, and packs the binary into the wheel with upstream's own
scripts/build-wheel.py. Upstream publishes no riscv64 wheel.Mirrors upstream's
release_arch.ymlandtests.yml.Differs from upstream
Matrix: one interpreter-agnostic wheel, tested on 3.12, 3.13 and 3.14 - upstream's 3.9-3.14 narrowed to this registry's interpreters.
Testing
test_where_multiprocessdeselected - upstream marks it flaky and its single-snapshot race is lost heretest/cunitleft out - it compiles the C sources instead of exercising the wheelLicense: Wheel ships a GPL-3.0-or-later binary, and upstream's wheels carry no licence text, so the build adds it.
austinp: two crashes, from core dumps of an unstripped build.
mojo_event_handler__handle_new_frame(events.c:83) readsframe->scope->keythrough theUNKNOWN_SCOPEsentinel - an upstream bug whose fix took the suite from 34 to 36 passes - and_Uelf64_lookup_symbol_from_dynamicfaults inside libunwind's own riscv64 symbol lookup.Patches
0001-build-wheel-add-a-riscv64-Linux-wheel-platform.patch-To upstream. The wheel platform table has no riscv64 entry.0002-build-wheel-ship-the-licence-files-in-the-wheel.patch-To upstream. The wheels carry no copy of the GPL.0003-test-tolerate-a-host-with-no-var-log-syslog.patch-To upstream. The suite opens/var/log/syslogafter every austin call; journald-only hosts have none. Not riscv64-specific.Built on cp312; 34 passed unprivileged, 42 as root.