-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
error in building 3.13.2 for arm free-threaded with jit #130834
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
Comments
@eyalk11 I want to check that passing |
@corona10 is right. I've just checked and in 3.13.2 the flag is not set. https://github.com/python/cpython/blob/v3.13.2/Tools/jit/_targets.py#L514 You can try installing the libatomic library.
CFLAGS are not passed down to the compilation of the JIT stencils. This because we don't use Makefile to compile the JIT stencils. Also because the compiler needed for compiling CPython might be different from clang (which is mandatory for the JIT stencils). Anyway we do this in 3.14: https://github.com/python/cpython/blob/main/Tools/jit/_targets.py#L524 and I'm wondering if it is worth to back port this change. @brandtbucher opinions? |
Hmm, I think that there is no reason not to backport it since we triage it as a bug. |
Yeah, I'm fine with backporting it. On my phone now, is anyone else able to do it? |
Patch sent: #132368 |
@eyalk11 I think that we can close the issue, please let us know if this is still an issue at the latest 3.13 branch or the next release. |
Bug report
Bug description:
CONFIGURE_OPTS="--disable-gil --enable-experimental-jit" pyenv install 3.13.2
CPython versions tested on:
3.13
Operating systems tested on:
Linux
Linked PRs
The text was updated successfully, but these errors were encountered: