On Tue, Oct 21, 2025 at 12:28:53PM -0400, Serhei Makarov wrote: > > > On Tue, Oct 21, 2025, at 7:21 AM, Mark Wielaard wrote: > > Yes, that seems a better way forward. > > Or maybe it could even be a configure set HAVE_PERF_REGS? > Oh, wait, we've fixed it in commit d05241ce69: > https://sourceware.org/cgit/elfutils/commit/?id=d05241ce690018548857199bd34d7734c7164679 > > The debian fix was done over top of 0.193, which doesn't include this patch. > > So there's nothing to be done here at the moment. When adding non-x86 support > (?November) I expect to tidy the existing configury and add HAVE_PERF_REGS > option as you suggest.
Adding Matthias Klose to the CC. He apparently still needs a patch to disable some arches: https://salsa.debian.org/toolchain-team/elfutils/-/blob/master/debian/patches/perf_regs.diff?ref_type=heads I am not sure what is going on there. Is the current patch not working correctly? The intention is to only try to include/support asm/perf_regs.h on linux for i686 and x86_64 arches. Cheers, Mark
