Title: configure: the musl guard for PR_SET_VMA_ANON_NAME tests an unset variable · Issue #159885 · python/cpython · GitHub
Open Graph Title: configure: the musl guard for PR_SET_VMA_ANON_NAME tests an unset variable · Issue #159885 · python/cpython
X Title: configure: the musl guard for PR_SET_VMA_ANON_NAME tests an unset variable · Issue #159885 · python/cpython
Description: gh-143730 disabled the PR_SET_VMA_ANON_NAME check on musl, but the guard tests a variable that is never set: configure.ac:6009:AS_IF([test "$ac_cv_libc" != musl], [ ac_cv_libc appears nowhere else, so the check always runs. On x86_64 mus...
Open Graph Description: gh-143730 disabled the PR_SET_VMA_ANON_NAME check on musl, but the guard tests a variable that is never set: configure.ac:6009:AS_IF([test "$ac_cv_libc" != musl], [ ac_cv_libc appears nowhere else,...
X Description: gh-143730 disabled the PR_SET_VMA_ANON_NAME check on musl, but the guard tests a variable that is never set: configure.ac:6009:AS_IF([test "$ac_cv_libc" != musl], [ ac_cv_libc appears now...
Opengraph URL: https://github.com/python/cpython/issues/159885
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"configure: the musl guard for PR_SET_VMA_ANON_NAME tests an unset variable","articleBody":"gh-143730 disabled the `PR_SET_VMA_ANON_NAME` check on musl, but the guard tests a variable\nthat is never set:\n\n```\nconfigure.ac:6009:AS_IF([test \"$ac_cv_libc\" != musl], [\n```\n\n`ac_cv_libc` appears nowhere else, so the check always runs.\n\nOn x86_64 musl this goes unnoticed, because the conftest fails to compile anyway and the macro\nstays undefined. On i686 musl it compiles, `_Py_HAVE_PR_SET_VMA_ANON_NAME` gets defined, and the\nbuild then fails on the conflict the guard was meant to avoid:\n\n```\nIn file included from ../Include/internal/pycore_mmap.h:16, from ../Objects/obmalloc.c:5:\n/usr/include/sys/prctl.h:88:8: error: redefinition of 'struct prctl_mm_map'\n/usr/include/linux/prctl.h:134:8: note: originally defined here\n```\n\nWorkaround: `./configure ac_cv_have_decl_PR_SET_VMA_ANON_NAME=no`.\n\n3.14 is unaffected (no `pycore_mmap.h`).\n\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-159886\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/serhiy-storchaka","@type":"Person","name":"serhiy-storchaka"},"datePublished":"2026-10-20T14:20:19Z","url":"https://github.com/python/cpython/issues/159885"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2e2a2a29-4bca-72ed-a0bd-90f24a8da165 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BFCC:19704E:17C2C21:1F9F4A2:6AEE00B4 |
| html-safe-nonce | cabef853fe0ac56a196350005647739125729bff4f42da89e96e375abcc88b4a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkNDOjE5NzA0RToxN0MyQzIxOjFGOUY0QTI6NkFFRTAwQjQiLCJ2aXNpdG9yX2lkIjoiNjE2NDA0NDU5ODY2MjI2NzA2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 46843ab9159a066b6cf9c8f22981324514722365d0343d298bc57d37bd6ae746 |
| hovercard-subject-tag | issue:5943356462 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/159885/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e32d00d263e5eb20a41e2e67cd0425e805d13b29d190e8e558c1425107fc1fcc/python/cpython/issues/159885 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e32d00d263e5eb20a41e2e67cd0425e805d13b29d190e8e558c1425107fc1fcc/python/cpython/issues/159885 |
| og:image:alt | gh-143730 disabled the PR_SET_VMA_ANON_NAME check on musl, but the guard tests a variable that is never set: configure.ac:6009:AS_IF([test "$ac_cv_libc" != musl], [ ac_cv_libc appears nowhere else,... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | serhiy-storchaka |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0dd941b5245e608c751507bdb7c7016789050735e3c97662aac0f0791b67227a |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bf78b34e3533f50fdd2e62be099271a8641eefe7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width