-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
ruff can not run on aarch64 machine #3791
Comments
Thanks for reporting this bug. What's the linux distribution/ CPU that you use? The issue seems to be that jemalloc is compiled with fixed page sizes and using a larger page size than what it is compiled for segfaults. But jemalloc supports running on systems with smaller page sizes then configured at compile time. |
Looks like the fix is easy, just set |
Would someone with an aarch64 architecture be willing to try this (first compile with |
I ran ruff |
I tried with I wonder what is the recommended linux distribution version for aarch64. I may take some time to test this issue now.
|
(Thank you for doing that!) |
@konstin would you recommend setting the environment variable using wheels or in the GitHub action that performs the cross-compilation? |
I'd set it in the github action. The only case that then still fails is if someone cross-compiles for aarch64 themselves. I've asked in gnzlbg/jemallocator#170 (comment) if that could be upstreamed, but it seems that repository is abandoned and only https://github.com/tikv/jemallocator is still somewhat active, so it might make sense to upstream it to the latter. |
reproducible steps with docker container (same as bare metal)
The text was updated successfully, but these errors were encountered: