Title: The compiler may optimise away globals with debug offsets · Issue #129223 · python/cpython · GitHub
Open Graph Title: The compiler may optimise away globals with debug offsets · Issue #129223 · python/cpython
X Title: The compiler may optimise away globals with debug offsets · Issue #129223 · python/cpython
Description: Bug report Bug description: When compiling with LTO and other aggressive optimization levels, is possible that the compiler will optimise away globals containing debug offsets. This is currently happening in https://buildbot.python.org/#...
Open Graph Description: Bug report Bug description: When compiling with LTO and other aggressive optimization levels, is possible that the compiler will optimise away globals containing debug offsets. This is currently ha...
X Description: Bug report Bug description: When compiling with LTO and other aggressive optimization levels, is possible that the compiler will optimise away globals containing debug offsets. This is currently ha...
Opengraph URL: https://github.com/python/cpython/issues/129223
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The compiler may optimise away globals with debug offsets","articleBody":"# Bug report\n\n### Bug description:\n\nWhen compiling with LTO and other aggressive optimization levels, is possible that the compiler will optimise away globals containing debug offsets. This is currently happening in https://buildbot.python.org/#/builders/125/builds/6895 for the new AsyncioDebug section, making the test fail because the information is not burned in the binary.\n\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\nLinux\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-129225\n* gh-129262\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/pablogsal","@type":"Person","name":"pablogsal"},"datePublished":"2025-01-23T13:33:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/129223/cpython/issues/129223"}
| 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:56b65816-b577-cedd-3162-4ae0619c0fef |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B034:1672C1:32391BB:42110D8:696B8AC8 |
| html-safe-nonce | 26ad32ea162bdfe9caa2a772db2d3c406baff5ece708d2ab52686076d02e472a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDM0OjE2NzJDMTozMjM5MUJCOjQyMTEwRDg6Njk2QjhBQzgiLCJ2aXNpdG9yX2lkIjoiOTE4Mzc5NzM4NTMyNDM2NjUzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 39657e4cc1f6b15917a4e08d6d7874495f75a5bbf710d04063c3bb4c157a3cf9 |
| hovercard-subject-tag | issue:2806924882 |
| 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/129223/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ad8ef5e842ce5433fe8b1a1de68b2552537074f4dedb5be927c53cea74c59589/python/cpython/issues/129223 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ad8ef5e842ce5433fe8b1a1de68b2552537074f4dedb5be927c53cea74c59589/python/cpython/issues/129223 |
| og:image:alt | Bug report Bug description: When compiling with LTO and other aggressive optimization levels, is possible that the compiler will optimise away globals containing debug offsets. This is currently ha... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pablogsal |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width