Files
qemu-reims-vgpu/util
Tao Tang 01e1455139 util/cpuinfo-aarch64: Fix build with older glibc headers
Commit 761bfe07b2 ("util/cpuinfo-aarch64: Detect FEAT_CSSC")
started using HWCAP2_CSSC unconditionally. This macro was added to
glibc's AArch64 bits/hwcap.h during the glibc 2.38 development cycle,
so AArch64 hosts with older headers fail to build.

Follow the existing HWCAP2_BTI handling and define HWCAP2_CSSC to
zero when it is not provided by system headers. Such environments
simply do not use FEAT_CSSC host optimizations.

This has been tested on an Ubuntu 22.04 aarch64 host with glibc 2.35.

Fixes: 761bfe07b2 ("util/cpuinfo-aarch64: Detect FEAT_CSSC")
Signed-off-by: Tao Tang <tangtao1634@phytium.com.cn>
Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20260826163753.459661-1-tangtao1634@phytium.com.cn>
2026-08-26 21:25:04 -07:00
..
…
2023-03-20 12:43:50 +01:00
…
2023-12-19 19:03:38 +01:00
2026-04-29 11:41:00 +10:00
2026-04-29 11:41:00 +10:00
2026-04-22 12:51:51 +04:00
…
…
2025-10-01 08:33:24 +02:00
…
2025-03-10 17:07:16 +08:00
2025-01-29 11:43:04 -03:00
2023-04-24 11:29:00 +02:00
2026-06-24 15:41:14 +04:00
2026-04-23 12:27:27 +02:00
2023-08-31 19:47:43 +02:00
2023-03-28 15:23:10 -07:00
2023-11-15 12:06:05 +03:00
2026-04-22 12:51:51 +04:00
…
…
2023-11-03 09:20:31 +01:00