On Mon, Sep 8, 2025, at 1:38 PM, Mark Wielaard wrote:
> Yeah, that is the simplest fix for now. Lets just go with it.
Somewhat delayed, but I've cherry-picked the fix onto main branch.
> Could you also take a peek at the Debian workaround for dealing with
> arches that don't support perf?
> https://salsa.debian.org/toolchain-team/elfutils/-/commit/2cd08fdcfcaf15d6a2b7b085faedadfc94a4729c
> I am not sure just listing all the arches that don't support perf is
> really the way to go. But maybe it is the best there is?
The other option is to keep the definition restricted to _linux_ and x86 /
x86_64 (the arches where perf register handling is implemented), then extend
the list of arches as we implement support for other arches.
--
All the best,
Serhei
http://serhei.io