[libvirt PATCH 0/3] cpu: Fix build on some aarch64 platforms

Andrea Bolognani posted 3 patches 3 years, 2 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20210207134559.72578-1-abologna@redhat.com
meson.build       |  1 +
src/cpu/cpu_arm.c | 26 ++++++++++++--------------
2 files changed, 13 insertions(+), 14 deletions(-)
[libvirt PATCH 0/3] cpu: Fix build on some aarch64 platforms
Posted by Andrea Bolognani 3 years, 2 months ago
The current code was written under the assumption that any
platform that supports aarch64 will have either getauxval()
or elf_aux_info(), but that's not always true.

Andrea Bolognani (3):
  cpu: Only include <sys/auxv.h> if available
  cpu: Only retrieve AT_HWCAP once
  cpu: Fix build on some aarch64 platforms

 meson.build       |  1 +
 src/cpu/cpu_arm.c | 26 ++++++++++++--------------
 2 files changed, 13 insertions(+), 14 deletions(-)

-- 
2.26.2


Re: [libvirt PATCH 0/3] cpu: Fix build on some aarch64 platforms
Posted by Pavel Hrdina 3 years, 2 months ago
On Sun, Feb 07, 2021 at 02:45:56PM +0100, Andrea Bolognani wrote:
> The current code was written under the assumption that any
> platform that supports aarch64 will have either getauxval()
> or elf_aux_info(), but that's not always true.
> 
> Andrea Bolognani (3):
>   cpu: Only include <sys/auxv.h> if available
>   cpu: Only retrieve AT_HWCAP once
>   cpu: Fix build on some aarch64 platforms

With the commit message fixed in first patch

Reviewed-by: Pavel Hrdina <phrdina@redhat.com>