Skip to content

Conversation

@priyanshu2282-cyber
Copy link

On Alpine Linux (musl libc), enabling PR_SET_VMA_ANON_NAME can cause build failures due to redefinition of
struct prctl_mm_map.
musl libc redefines this struct in sys/prctl.h, which conflicts with linux/prctl.h. The configure check for PR_SET_VMA_ANON_NAME is not realiable on musl and may pass on
some architectures but fail later during build.
This change disables the feature detection on musl to avoid the header conflict and keep the build behavior consistent.
Note: configure was not regenerated locally since CPython
does not support autoreconf on macOS.

Fixes gh-143632.

@bedevere-app
Copy link

bedevere-app bot commented Jan 12, 2026

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

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.

failure building Python 3.15.0a3 on Alpine

1 participant