-
-
Notifications
You must be signed in to change notification settings - Fork 31.3k
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
JIT build crashes on Windows on Arm #129964
Comments
|
Yeah, this is one of the downsides of building, but not testing, this. Did you want to dig into it, or should I? I'm guessing we're just relocating something wrong after both of our Clang upgrades. Hopefully something a manual review of the stencils can shake out. |
|
I'm off until Tuesday, I can take a look next week. |
|
After installing all dependencies and setup the environment on WoA, I was able to compile and run CPython with debug. It crashes here: After some debugging with Brandt we saw that basically the value to patch was returning a huge number hence the assert was failing. We tested it with clang-18 and it was working as expected. So it was a change of code generation between clang-18 and clang-19. Eventually Brandt found that PR is coming. |
Updating to clang-19 change the code generation of the JIT stencils. This caused some addresses of symbols to be far away hence it was impossible to reach them out. Enabling the -fplt restores the behaviour that we had with clang-18.
Crash report
What happened?
The JIT on Windows on Arm (tested on Windows 11 Pro) is broken. It builds successfully but then the first test fails straightaway crashing the binary.
Also if I run the REPL and start typing commands, it stays alive for a few seconds and then dies.
When Python is built without the JIT, the test suite passes.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Windows
Output from running 'python -VV' on the command line:
.\python.bat -VV
Running Release|ARM64 interpreter...
Python 3.14.0a4+ (heads/main:d7672e5d5a, Feb 10 2025, 15:21:49) [MSC v.1940 64 bit (ARM64)]
Linked PRs
The text was updated successfully, but these errors were encountered: