On Fri, Oct 31, 2025, at 12:28 PM, Serhei Makarov wrote:
> On Thu, Oct 30, 2025, at 7:00 AM, Mark Wielaard wrote:
>> 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.
> Perhaps we have been assuming incorrectly, and some of these debian 
> targets define *both* __sparc__ and __x86_64__? Then they don't provide 
> the perf_regs.h?
>
> It may be necessary to go with our alternate plan of adding configury 
> item, to remove all ambiguity. I'll author a patch.
Note draft patch relevant to this: 
https://sourceware.org/pipermail/elfutils-devel/2025q4/008757.html

Will check if it removes the need for 
https://salsa.debian.org/toolchain-team/elfutils/-/blob/master/debian/patches/perf_regs.diff?ref_type=heads

-- 
All the best,
    Serhei

Reply via email to