Package: golang-github-google-pprof Severity: normal Tags: patch X-Debbugs-Cc: [email protected], [email protected] User: [email protected] Usertags: armhf
Dear Maintainer, The TestPrintAssemblyErrorMessage test fails on armhf because it hardcodes 64-bit base addresses. I am forwarding a patch from Ubuntu that skips this test on armhf architectures. Ubuntu bug reference: https://bugs.launchpad.net/ubuntu/+source/golang-github-google-pprof/+bug/2146957 The patch is attached. -- System Information: Debian Release: forky/sid APT prefers resolute-updates APT policy: (500, 'resolute-updates'), (500, 'resolute-security'), (500, 'resolute'), (100, 'resolute-backports') Architecture: amd64 (x86_64) Kernel: Linux 7.0.0-30-generic (SMP w/16 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
Description: Skip TestPrintAssemblyErrorMessage on armhf TestPrintAssemblyErrorMessage hardcodes 64 bit base address. It does not match on armhf. Author: Anshul Singh <[email protected]> Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/golang-github-google-pprof/+bug/2146957 Forwarded: no Last-Update: 2026-04-01 --- golang-github-google-pprof-0.0~git20260202.cb029da.orig/internal/report/report_test.go +++ golang-github-google-pprof-0.0~git20260202.cb029da/internal/report/report_test.go @@ -510,6 +510,10 @@ func TestComputeTotal(t *testing.T) { } func TestPrintAssemblyErrorMessage(t *testing.T) { + if runtime.GOARCH == "arm" { + t.Skip("Skipping on armhf due to hardcoded 64-bit memory addresses") + } + profile := readProfile(filepath.Join("testdata", "sample.cpu"), t) for _, tc := range []struct {

