From 9b153dc2ef5002a85108d9aa7858a90fabfdbc8a Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sun, 12 Mar 2017 12:50:10 -0600 Subject: [PATCH] Only enable arm64 CRC32 acceleration if the required header files are there If the necessary header files are missing, then fio will bomb out when building on arm64. So disable the hardware acceleration option in that case, since it's only performance improvement and not a functional regression to turn it off. Signed-off-by: Theodore Ts'o Signed-off-by: Jens Axboe --- configure | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure b/configure index 7b557112..a7610b15 100755 --- a/configure +++ b/configure @@ -1943,6 +1943,10 @@ if test "$march_armv8_a_crc_crypto" != "yes" ; then fi if test "$cpu" = "arm64" ; then cat > $TMPC < +#include +#include + int main(void) { return 0; -- 2.25.1