Title: GitHub · Where software is built
Open Graph Title: python/cpython
X Title: python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
X Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Opengraph URL: https://github.com/python/cpython
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Compiler crash on MSVC when building with JIT and PGO","articleBody":"# Bug report\n\n### Bug description:\n\nBuilding with the JIT and PGO simultaneously causes MSVC 1941 to crash:\n\n```\nMerging D:\\a\\cpython\\cpython\\PCbuild\\amd64\\python314!1.pgc\n D:\\a\\cpython\\cpython\\PCbuild\\amd64\\python314!1.pgc: Used 31.3% (19698312 / 62844928) of total space reserved. 0.0% of the counts were dropped due to overflow.\n Reading PGD file 1: D:\\a\\cpython\\cpython\\PCbuild\\amd64\\python314.pgd\n Creating library D:\\a\\cpython\\cpython\\PCbuild\\amd64\\python314.lib and object D:\\a\\cpython\\cpython\\PCbuild\\amd64\\python314.exp\n Generating code\n \n 0 of 0 ( 0.0%) original invalid call sites were matched.\n 0 new call sites were added.\n 291 of 16259 ( 1.79%) profiled functions will be compiled for speed, and the rest of the functions will be compiled for size\nD:\\a\\cpython\\cpython\\Python\\ceval.c(766): fatal error C1001: Internal compiler error. [D:\\a\\cpython\\cpython\\PCbuild\\pythoncore.vcxproj]\n (compiler file 'D:\\a\\_work\\1\\s\\src\\vctools\\Compiler\\Utc\\src\\p2\\main.c', line 247)\n To work around this problem, try simplifying or changing the program near the locations listed above.\n If possible please provide a repro here: https://developercommunity.visualstudio.com/ \n Please choose the Technical Support command on the Visual C++ \n Help menu, or open the Technical Support help file for more information\n link!InvokeCompilerPass()+0xd94ce\n link!InvokeCompilerPass()+0xd94ce\n link!InvokeCompilerPass()+0xd922d\n link!InvokeCompilerPass()+0xd610c\n link!InvokeCompilerPass()+0xd6011\n link!CloseTypeServerPDB()+0x12904\n link!InvokeCompilerPassW()+0x65cd9\n link!InvokeCompilerPassW()+0x65c9c\n link!time32()+0x83\n link!BaseThreadInitThunk()+0x19\n link!RtlGetFullPathName_UEx()+0xad\n link!RtlGetFullPathName_UEx()+0x7b\n```\n\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\nWindows\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-125218\n* gh-125477\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/mdboom","@type":"Person","name":"mdboom"},"datePublished":"2024-10-09T21:12:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/125217/cpython/issues/125217"}
| route-pattern | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:b92eef4e-92c4-ccf0-bac1-ac806d5d41dd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EB24:139CD4:12B37C6:188E539:696B7320 |
| html-safe-nonce | a689253128b408b74bf50fbc86987cea4de58566c08cfe624a66cd54b8e791e0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjI0OjEzOUNENDoxMkIzN0M2OjE4OEU1Mzk6Njk2QjczMjAiLCJ2aXNpdG9yX2lkIjoiMjM3MjgxMTg5NzcwMzE5OTUyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 49861ec386a92f87453ee6341abea9adde3f71499291e0cbae1c39b1214b4091 |
| hovercard-subject-tag | repository:81598961 |
| 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/python/cpython/issues/125217 |
| twitter:image | https://opengraph.githubassets.com/5372040abb365904ed93e8cc0b7832d033bdfb6682761c696af7e78402a06546/python/cpython |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5372040abb365904ed93e8cc0b7832d033bdfb6682761c696af7e78402a06546/python/cpython |
| og:image:alt | The Python programming language. Contribute to python/cpython development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-cache |
| 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 | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width