-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-125217: Turn off optimization around_PyEval_EvalFrameDefault to avoid MSVC crash #125477
gh-125217: Turn off optimization around_PyEval_EvalFrameDefault to avoid MSVC crash #125477
Conversation
mdboom
commented
Oct 14, 2024
•
edited by bedevere-app
bot
Loading
edited by bedevere-app
bot
- Issue: Compiler crash on MSVC when building with JIT and PGO #125217
.github/workflows/jit.yml
Outdated
@@ -41,7 +41,6 @@ jobs: | |||
./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3 | |||
jit: | |||
name: ${{ matrix.target }} (${{ matrix.debug && 'Debug' || 'Release' }}) | |||
needs: interpreter |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing the requirement on the Tier 2 interpreter pass here, since it seems to be failing consistently on test.test_asyncio.test_taskgroups
, and I'm not sure that's relevant to this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #125472.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, thanks. We won't merge these changes, then, but it's useful for now to illustrate that the fix here works.
… to avoid MSVC crash
bfcfe72
to
8340829
Compare
Python/jit.c
Outdated
@@ -18,6 +18,7 @@ | |||
#include "pycore_sliceobject.h" | |||
#include "pycore_jit.h" | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is to trigger the JIT CI, but I can remove this commit before merging.
a55510c
to
8340829
Compare