Skip to content

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

Merged
encukou merged 1 commit into
python:mainfrom
mhsmith:hacl-explicit-bzero
Aug 15, 2024
Merged

encukou merged 1 commit into
python:mainfrom
mhsmith:hacl-explicit-bzero

Conversation

@mhsmith

@mhsmith mhsmith commented Aug 14, 2024 •

Copy link
Copy Markdown
Member

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

mhsmith commented Aug 14, 2024

Copy link
Copy Markdown
Member Author

!buildbot RHEL7

@bedevere-bot

Copy link
Copy Markdown

🤖 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

@msprotz msprotz left a comment

Copy link
Copy Markdown
Contributor

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
@encukou

encukou commented Aug 15, 2024

Copy link
Copy Markdown
Member

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

5 participants