Skip to content
Discussion options

You must be logged in to vote

Thanks, brew install --build-bottle seems to work for both 24.04 and 25.10.

HOMEBREW_ARCH=armv9.2-a brew install --build-from-source also 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=native seems to default to a weird configuration

Ubuntu 24.04:

$ gcc -march=native -v -E - < /dev/null 2>&1 | grep -E 'cc1|collect2'
 /usr/libexec/gcc/aarch64-linux-gnu/13/cc1 -E -quiet -v -imultiarch aarch64-linux-gnu - -mlittle-endian -mabi=lp64 -march=armv8-a+crc+lse+rcpc+rdma+dotprod+aes+sha3+fp16fml+sb+i8mm+bf16+flagm+pauth -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -f…

Replies: 2 comments 3 replies

Comment options

daeho-ro
Feb 28, 2026
Collaborator Sponsor

You must be logged in to vote
1 reply
@AkihiroSuda
Comment options

Comment options

You must be logged in to vote
2 replies
@AkihiroSuda
Comment options

Answer selected by AkihiroSuda
@cho-m
Comment options

cho-m Feb 28, 2026
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Linux
Labels
None yet
3 participants