Title: getpath_noop link failure with MODULE_BUILDTYPE=static and _testinternalcapi · Issue #157142 · python/cpython · GitHub
Open Graph Title: getpath_noop link failure with MODULE_BUILDTYPE=static and _testinternalcapi · Issue #157142 · python/cpython
X Title: getpath_noop link failure with MODULE_BUILDTYPE=static and _testinternalcapi · Issue #157142 · python/cpython
Description: Bug report Bug description: Minor issue when statically linking extension modules: Programs/_freeze_module is linked with Modules/getpath_noop.o rather than Modules/getpath.o. With MODULE_BUILDTYPE=static, _testinternalcapi.o is part of ...
Open Graph Description: Bug report Bug description: Minor issue when statically linking extension modules: Programs/_freeze_module is linked with Modules/getpath_noop.o rather than Modules/getpath.o. With MODULE_BUILDTYPE...
X Description: Bug report Bug description: Minor issue when statically linking extension modules: Programs/_freeze_module is linked with Modules/getpath_noop.o rather than Modules/getpath.o. With MODULE_BUILDTYPE...
Opengraph URL: https://github.com/python/cpython/issues/157142
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"getpath_noop link failure with MODULE_BUILDTYPE=static and _testinternalcapi","articleBody":"# Bug report\n\n### Bug description:\n\nMinor issue when statically linking extension modules:\n\nPrograms/_freeze_module is linked with Modules/getpath_noop.o rather than Modules/getpath.o. With MODULE_BUILDTYPE=static, _testinternalcapi.o is part of LIBRARY_OBJS_OMIT_FROZEN and its get_getpath_codeobject() left _Py_Get_Getpath_CodeObject() as an undefined reference.\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\nLinux\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-157143\n* gh-157148\n* gh-157149\n* gh-157150\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/gpshead","@type":"Person","name":"gpshead"},"datePublished":"2026-09-08T00:25:22Z","url":"https://github.com/python/cpython/issues/157142"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:265ade6f-ffea-6a0d-ee57-aa05fd517548 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9F30:215B92:331FDA4:441D82F:6B01F6EF |
| html-safe-nonce | b12b1237b47f92e32ca999832625c8a3ef7db36c755ced6f24c4926fb35633f4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjMwOjIxNUI5MjozMzFGREE0OjQ0MUQ4MkY6NkIwMUY2RUYiLCJ2aXNpdG9yX2lkIjoiMjE0NDgwNzMyNjgyNDEzNDM4MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 08ba82438b780e49a5108c758b01bc5a65c425222ab9c1b88b737dac994b15e0 |
| hovercard-subject-tag | issue:5380331737 |
| 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/157142/issue_layout |
| twitter:image | https://opengraph.githubassets.com/01ac5cff4adcb6a465421c39ee894d9997ae576ddc2dcbb0e549f397bb94aad2/python/cpython/issues/157142 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/01ac5cff4adcb6a465421c39ee894d9997ae576ddc2dcbb0e549f397bb94aad2/python/cpython/issues/157142 |
| og:image:alt | Bug report Bug description: Minor issue when statically linking extension modules: Programs/_freeze_module is linked with Modules/getpath_noop.o rather than Modules/getpath.o. With MODULE_BUILDTYPE... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gpshead |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width