-
Notifications
You must be signed in to change notification settings - Fork 11.4k
Compilation failure on aarch64-linux in ggml SIMD code #622
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
I was able to reproduce this bug here: https://github.com/thomasantony/llamacpp-python/actions/runs/4563539473/jobs/8052152944 |
duplicate of #620 |
Update: there have been patches to this file in the ggml repo: ggml-org/ggml#51 and this should fix this issue as well (the changes in lines 1041/1042 in ggml.c,
from: https://gcc.gnu.org/onlinedocs/gcc/C-Dialect-Options.html
|
The problem persists on aarch64-linux, but I solved it by adding this to the Makefile:
For myself I put that before the |
Prerequisites
Please answer the following questions for yourself before submitting an issue.
Expected Behavior
Should compile on aarch64-linux
Current Behavior
Environment and Context
Julia's BinaryBuilder cross-compilation setup with gcc/g++ 8.1.0, i.e. building for a
aarch64-linux-gnu
target on ax86_64-linux-musl
host. See JuliaPackaging/Yggdrasil#6476 for more details.Proposed solution
Use
vmovl_u8
instead ofvmovl_s8
? Not sure about the intention of the code, and it seems to be just a day old.The text was updated successfully, but these errors were encountered: