Bug #36030
openCRC is always zero on AArch64 systems supporting crc32cx if the build host does not support crc32cx
0%
Description
This is the same story as http://tracker.ceph.com/issues/19705
If the build host does not support the crc32cx instruction, HAVE_ARMV8_CRC will not be set and ceph_crc32c_aarch64 will be a dummy function that always returns zero. However, if HWCAP_CRC32 is supported on the actual target machine, that dummy function will be selected anyway.
In particular, the Debian packages offered at https://download.ceph.com/debian-luminous suffer from this issue and so it is not possible for clients using those packages running on an AArch64 machine that supports the crc32cx instruction from connecting to non-buggy Ceph services. Likewise it is not possible for non-buggy clients to connect to Ceph services using those packages running on an AArch64 machine that supports the crc32cx instruction.