-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Properly detect CRC32 APIs on aarch64 from configure. #5564
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
Conversation
The hard requirement for crc32 APIs on arm64 breaks compilation on Debian Jessie (I know, I know, this is going away) and on any compilation where CRC32 APIs are not available, f.e. the Renesas board doesn't have them implemented according to OSSystems/meta-browser@527ff15 |
@remicollet the old(er) CentOS probably don't have arm64 architecture, so this is not a problem for you, right? |
Just to make sure, you did check that it continues to work if the API is available? This seems somewhat weird in that actual availability of the ISA extension usually doesn't matter when it comes to compiling code (as the decision whether to use the code will be made at runtime). I guess this doesn't hold up if the specified target doesn't support it in any configuration... |
df717a9
to
0520357
Compare
Ok, this needs slight update. The
And by manually adding (I am running Debian buster arm64 in schroot using qemu-user-static FWIW...) |
It is weird, but from distro perspective it's the decision that's being made by the distros (e.g. what is the minimal denominator). This is already causing big problem on Raspbian because somebody made a decision that But there's not much you can do apart from having an emulator that would kick in everytime invalid instruction is encountered... well and properly detecting the features based on |
0520357
to
ac05894
Compare
Looks like an ltmain.sh update snuck in here. |
The CRC32 APIs are optional for armv8-a. They became mandatory since armv8.1-a.
ac05894
to
1450dcf
Compare
Ooops, sorry, removed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, CI failures are unrelated.
Should we apply these changes to Line 69 in 623911f
as well? |
@carusogabriel As zend_multiply.h does not use crc32 instructions: No. |
The CRC32 APIs are optional for armv8-a. They became mandatory since
armv8.1-a.