Title: _decimal fails to build with --with-pydebug --with-lto on GCC · Issue #94847 · python/cpython · GitHub
Open Graph Title: _decimal fails to build with --with-pydebug --with-lto on GCC · Issue #94847 · python/cpython
X Title: _decimal fails to build with --with-pydebug --with-lto on GCC · Issue #94847 · python/cpython
Description: Bug report GH-94474 caused several buildbots with GCC to fail to compile _decimal module with --with-pydebug --with-lto option. The problem did not show up when I was testing my PR on the build bot farm. I can reproduce the issue locally...
Open Graph Description: Bug report GH-94474 caused several buildbots with GCC to fail to compile _decimal module with --with-pydebug --with-lto option. The problem did not show up when I was testing my PR on the build bot...
X Description: Bug report GH-94474 caused several buildbots with GCC to fail to compile _decimal module with --with-pydebug --with-lto option. The problem did not show up when I was testing my PR on the build bot...
Opengraph URL: https://github.com/python/cpython/issues/94847
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"_decimal fails to build with --with-pydebug --with-lto on GCC","articleBody":"**Bug report**\r\n\r\nGH-94474 caused several buildbots with GCC to fail to compile ``_decimal`` module with ``--with-pydebug --with-lto`` option. The problem did not show up when I was testing my PR on the build bot farm. I can reproduce the issue locally with GCC 12.1.1. Build does not fail with non-debug builds. Only the combination of LTO and debug fails for me\r\n\r\n```\r\n../Modules/_decimal/libmpdec/mpdecimal.c: In function ‘exp_to_string’:\r\n../Modules/_decimal/libmpdec/mpdecimal.c:143:1: error: inlining failed in call to ‘always_inline’ ‘mpd_word_digits’: function not considered for inlining\r\n 143 | mpd_word_digits(mpd_uint_t word)\r\n | ^\r\n```","author":{"url":"https://github.com/tiran","@type":"Person","name":"tiran"},"datePublished":"2022-07-14T08:53:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/94847/cpython/issues/94847"}
| 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:7edcd3c8-54d5-46ca-f02e-b139bddce037 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B14E:1B7E6F:7E7F9C:AFD2FB:696A743D |
| html-safe-nonce | 2b6eff99f2126a26f53f8335cd600dfbc400b1406d4c5af17ac2022bed5ae671 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTRFOjFCN0U2Rjo3RTdGOUM6QUZEMkZCOjY5NkE3NDNEIiwidmlzaXRvcl9pZCI6IjU1OTkwNzE2NTk3ODQ1NjU4MjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4e1601bd0828df06be6495436900152bd53d26120da675b64369547ff22391ac |
| hovercard-subject-tag | issue:1304472889 |
| 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/94847/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d3dc8d8192b2826eb0684747f08a23ea3c815204b5f65c56139cb285c0cd207b/python/cpython/issues/94847 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d3dc8d8192b2826eb0684747f08a23ea3c815204b5f65c56139cb285c0cd207b/python/cpython/issues/94847 |
| og:image:alt | Bug report GH-94474 caused several buildbots with GCC to fail to compile _decimal module with --with-pydebug --with-lto option. The problem did not show up when I was testing my PR on the build bot... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tiran |
| hostname | github.com |
| expected-hostname | github.com |
| None | cfa223d62d272274e0b68350b4bd7741f3ca7498b8c4b8b1bc1e6deabbdbc09d |
| 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 | 6a0b6893c221f98f607598e939299fdf5763435d |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width