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

gh-99108: Inform HACL when explicit_bzero is unavailable #123027

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

mhsmith
Copy link
Member

@mhsmith mhsmith commented Aug 14, 2024

For context, see #99108 (comment).

This PR fixes the build on Android and RHEL7 by defining LINUX_NO_EXPLICIT_BZERO when explicit_bzero is unavailable. It turns out there was already an autoconf check for this function, so I reused it.

Instead of creating a new Makefile variable, I appended the definition to LIBHACL_CFLAGS. This may be useful if HACL uses it in other files in the future.

@mhsmith
Copy link
Member Author

mhsmith commented Aug 14, 2024

!buildbot RHEL7

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @mhsmith for commit c903381 🤖

The command will test the builders whose names match following regular expression: RHEL7

The builders matched are:

  • PPC64LE RHEL7 LTO + PGO PR
  • PPC64LE RHEL7 PR
  • PPC64LE RHEL7 LTO PR
  • AMD64 RHEL7 LTO + PGO PR
  • PPC64LE RHEL7 Refleaks PR
  • AMD64 RHEL7 Refleaks PR
  • AMD64 RHEL7 PR
  • AMD64 RHEL7 LTO PR

Copy link
Contributor

@msprotz msprotz left a comment

Choose a reason for hiding this comment

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

Ok that makes a lot of sense. Thank you!

@encukou encukou merged commit 3950392 into python:main Aug 15, 2024
49 of 51 checks passed
@encukou
Copy link
Member

encukou commented Aug 15, 2024

Thank you!

blhsing pushed a commit to blhsing/cpython that referenced this pull request Aug 22, 2024
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.

5 participants