Title: Duplicate symbol _Py_jit_entry when built with --enable-exterimental-jit · Issue #144712 · python/cpython · GitHub
Open Graph Title: Duplicate symbol _Py_jit_entry when built with --enable-exterimental-jit · Issue #144712 · python/cpython
X Title: Duplicate symbol _Py_jit_entry when built with --enable-exterimental-jit · Issue #144712 · python/cpython
Description: Bug report Bug description: When building with the --enable-experimental-jit option, the _Py_jit_entry symbol is duplicated in Python/ceval.o and Modules/_testinternalcapi/interpreter.o preventing them from being linked into the same DSO...
Open Graph Description: Bug report Bug description: When building with the --enable-experimental-jit option, the _Py_jit_entry symbol is duplicated in Python/ceval.o and Modules/_testinternalcapi/interpreter.o preventing ...
X Description: Bug report Bug description: When building with the --enable-experimental-jit option, the _Py_jit_entry symbol is duplicated in Python/ceval.o and Modules/_testinternalcapi/interpreter.o preventing ...
Opengraph URL: https://github.com/python/cpython/issues/144712
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Duplicate symbol _Py_jit_entry when built with --enable-exterimental-jit","articleBody":"# Bug report\n\n### Bug description:\n\nWhen building with the `--enable-experimental-jit` option, the `_Py_jit_entry` symbol is duplicated in `Python/ceval.o` and `Modules/_testinternalcapi/interpreter.o` preventing them from being linked into the same DSO.\n\nThe later symbol was added in #143944. This symbol should likely be marked as `extern`.\n\nI found this issue when building 3.15.0a6 for python-build-standalone, astral-sh/python-build-standalone#981. The build is configured so that the _testinternalcapi module is statically linked into the interpreter. \n\n[Example build log](https://github.com/astral-sh/python-build-standalone/actions/runs/21909181789/job/63257981473)\n```\ncpython-3.15> ld64.lld: error: duplicate symbol: _Py_jit_entry\ncpython-3.15> >>> defined in Python/ceval.o\ncpython-3.15> >>> defined in Modules/_testinternalcapi/interpreter.o\ncpython-3.15> clang: error: linker command failed with exit code 1 (use -v to see invocation)\n```\n\n### CPython versions tested on:\n\nCPython main branch, 3.15\n\n### Operating systems tested on:\n\nmacOS\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-144713\n* gh-145840\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/jjhelmus","@type":"Person","name":"jjhelmus"},"datePublished":"2026-02-11T15:42:41Z","url":"https://github.com/python/cpython/issues/144712"}
| 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:21a0197d-8d0e-3024-30f6-a89f9d6c1ff8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CAA2:1EBCAA:2966DB:381829:6AECB635 |
| html-safe-nonce | 8c08a665418d7e4a71ed19503bfe3ea14940075fa137b25ff4df5b717b9585b4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQUEyOjFFQkNBQToyOTY2REI6MzgxODI5OjZBRUNCNjM1IiwidmlzaXRvcl9pZCI6Ijc1Njc1NDE1NzM0MjM3NzMyMzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | cc2a0edc5801a1ca6e08e26e68f316dfdc5f5a8916cdee86b2423be2ad8ba7b1 |
| hovercard-subject-tag | issue:3927256034 |
| 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/144712/issue_layout |
| twitter:image | https://opengraph.githubassets.com/39ac95975fffd2117ee66e7ccf08611da24176b83c22842d5982a9d3962dd83e/python/cpython/issues/144712 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/39ac95975fffd2117ee66e7ccf08611da24176b83c22842d5982a9d3962dd83e/python/cpython/issues/144712 |
| og:image:alt | Bug report Bug description: When building with the --enable-experimental-jit option, the _Py_jit_entry symbol is duplicated in Python/ceval.o and Modules/_testinternalcapi/interpreter.o preventing ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jjhelmus |
| hostname | github.com |
| expected-hostname | github.com |
| None | 95ae5445dec4cded2bc4f9d97ede92b9116c0bf381a08a5c844b60b5bddcbc97 |
| 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 | db4ef601a7f034ae2a68e17d6eeaeb7ee9470192 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width