[Bug general/32930] compile failure in i386_init.c asm/perf_regs.h: No such file or directory
amerey at redhat dot com
sourceware-bugzilla@sourceware.org
Fri May 16 15:10:57 GMT 2025
https://sourceware.org/bugzilla/show_bug.cgi?id=32930
Aaron Merey <amerey at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
CC| |amerey at redhat dot com
--- Comment #3 from Aaron Merey <amerey at redhat dot com> ---
Fixed in the following commit
commit d05241ce690018548857199bd34d7734c7164679
Author: Serhei Makarov <serhei@serhei.io>
Date: Mon May 5 12:08:55 2025 -0400
PR32930 backends/: guard asm/perf_regs.h include
asm/perf_regs.h is an arch-specific linux include, not present on
architectures like hppa and m68k that lack perf_events support.
Only one place we need to fix; others already guard the include by
architecture, or use architecture-independent headers (e.g.
linux/perf_events.h).
* backends/libebl_PERF_FLAGS.h: Only include asm/perf_regs.h on
architectures where we use it.
Signed-off-by: Serhei Makarov <serhei@serhei.io>
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Elfutils-devel
mailing list