Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cpu_detect.cc fix hw crc32 and AES capability check, fix undefined #1794

Closed
wants to merge 2 commits into from

Conversation

Dertosh
Copy link
Contributor

@Dertosh Dertosh commented Dec 9, 2024

Source and explonation
JuliaLang/julia#26458
memcached/memcached#744

For build for aarch64 on v22_clang-16.0.6-centos7
abseil-cpp/absl/crc/internal/cpu_detect.cc:273:20: error: use of undeclared identifier 'HWCAP_CRC32' return (hwcaps & HWCAP_CRC32) && (hwcaps & HWCAP_PMULL); ^ abseil-cpp/absl/crc/internal/cpu_detect.cc:273:46: error: use of undeclared identifier 'HWCAP_PMULL' return (hwcaps & HWCAP_CRC32) && (hwcaps & HWCAP_PMULL);

Copy link

google-cla bot commented Dec 9, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@Dertosh Dertosh changed the title Update cpu_detect.cc fix hw crc32 and AES capability checkfix undefined Update cpu_detect.cc fix hw crc32 and AES capability check fix undefined Dec 10, 2024
@Dertosh Dertosh changed the title Update cpu_detect.cc fix hw crc32 and AES capability check fix undefined Update cpu_detect.cc fix hw crc32 and AES capability check, fix undefined Dec 10, 2024
absl/crc/internal/cpu_detect.cc Outdated Show resolved Hide resolved
Fix wrong check deffenition
@Dertosh Dertosh requested a review from derekmauro December 13, 2024 14:48
@Dertosh Dertosh deleted the patch-1 branch December 13, 2024 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants