runc crashes when built from source: Illegal instruction (core dumped) (binary bottle still works fine)
#6725
-
Additional Info
Output of
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
If you can fix the formula file, can you try it with |
Beta Was this translation helpful? Give feedback.
-
|
For Ubuntu 24.04 issue, After purging Homebrew's Go cache, you can try either For Ubuntu 25.10 issue, not too sure yet as that should be GCC 15 which should be more compatible with aarch64. Try taking a look at log file (maybe ~/.cache/Homebrew/Logs/runc/01.make.cc.log) to see if you can find the superenv modification related to SME/SVE2. It might be some autodetection code deciding to modify march to have |
Beta Was this translation helpful? Give feedback.
Thanks,
brew install --build-bottleseems to work for both 24.04 and 25.10.HOMEBREW_ARCH=armv9.2-a brew install --build-from-sourcealso seems to work for my M4 Max.Other people who are hitting the same issue may need to specify other march value, depending on their CPU.
-march=nativeseems to default to a weird configurationUbuntu 24.04: