[patch, gprofng, riscv64] Fix build on Linux riscv64
Sergey Fedorov
vital.had@gmail.com
Mon Sep 23 14:41:11 GMT 2024
The source unconditionally uses asm/hwprobe.h header, which is not
guaranteed to exit.
I was added recently in
https://github.com/torvalds/linux/commit/ea3de9ce8aa280c5175c835bd3e94a3a9b814b74
Add a check for Linux kernel version.
Tested on PinIx 2.1 riscv64, kernel 5.15.131.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/binutils/attachments/20240923/879bcc58/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-cpuid.c-fix-build-on-Linux-riscv64.patch
Type: application/octet-stream
Size: 1093 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20240923/879bcc58/attachment.obj>
More information about the Binutils
mailing list