Repository navigation
gh-143632: Fix the musl check for PR_SET_VMA_ANON_NAME - #159886
Merged
serhiy-storchaka merged 1 commit intoOct 20, 2026
Merged
Conversation
serhiy-storchaka
requested review from
AA-Turner,
corona10,
emmatyping,
erlend-aasland and
itamaro
as code owners
October 20, 2026 15:03
The guard added by pythongh-143730 tested $ac_cv_libc, which is never set, so the check always ran and the build could fail on the struct prctl_mm_map redefinition it was meant to avoid. Match on the host triplet instead. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
serhiy-storchaka
force-pushed
the
gh-159885-musl-prctl
branch
from
October 20, 2026 15:53
4284433 to
dd58805
Compare
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.15. |
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14. |
|
Sorry, @serhiy-storchaka, I could not cleanly backport this to Please backport manually with cherry_picker, see the devguide for more information. |
|
GH-159919 is a backport of this pull request to the 3.15 branch. |
serhiy-storchaka
added a commit
that referenced
this pull request
Oct 20, 2026
) (GH-159919) The guard added by gh-143730 tested $ac_cv_libc, which is never set, so the check always ran and the build could fail on the struct prctl_mm_map redefinition it was meant to avoid. Match on the host triplet instead. (cherry picked from commit f37e821) Co-authored-by: Serhiy Storchaka <[email protected]> Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Match on the host triplet instead of the unset
$ac_cv_libc.configureregenerated with autoconf 2.72.Verified: glibc x86_64 unchanged (check runs, macro defined), musl x86_64 unchanged (skipped), musl i686 now builds without
ac_cv_have_decl_PR_SET_VMA_ANON_NAME=no.Matching the triplet rather than
__GLIBC__keeps the check enabled on Android/bionic, where the headers do not clash.🤖 Generated with Claude Code