Skip to content

hash: Consistently check for PHP_HASH_INTRIN_SHA_* to guard compilation of SHA256_Transform_shani #15404

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

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

TimWolla
Copy link
Member

This fixes the build for amd64 platforms that do not have HAVE_FUNC_ATTRIBUTE_TARGET, specifically Alpine/Musl as of now.

Closes GH-15384.
Related to GH-15312.

…on of SHA256_Transform_shani

This fixes the build for amd64 platforms that do not have
`HAVE_FUNC_ATTRIBUTE_TARGET`, specifically Alpine/Musl as of now.

Closes phpGH-15384.
Related to phpGH-15312.
Copy link
Member

@arnaud-lb arnaud-lb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! I confirm it fixes the build on Alpine

@TimWolla TimWolla merged commit a2a3c5b into php:master Aug 14, 2024
10 checks passed
@TimWolla TimWolla deleted the sha-ni-check branch August 14, 2024 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Building 8.4beta1 fail with clang on x86(64)
2 participants