Skip to content
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

m1n1 make: src/utils_asm.S:115:5: error: instruction requires: fp-armv8 #393

Open
vasvasco opened this issue Jun 3, 2024 · 0 comments · May be fixed by #394
Open

m1n1 make: src/utils_asm.S:115:5: error: instruction requires: fp-armv8 #393

vasvasco opened this issue Jun 3, 2024 · 0 comments · May be fixed by #394

Comments

@vasvasco
Copy link

vasvasco commented Jun 3, 2024

I have an m3 apple and I am trying to make m1n1 from the GitHub repository https://github.com/AsahiLinux/m1n1.git

I did install the llvm clang and other chaintools from Homebrew but I get the following error:

src/utils_asm.S:115:5: error: instruction requires: fp-armv8

ayrtonm added a commit to ayrtonm/m1n1 that referenced this issue Jun 6, 2024
Unlike gcc, clang enforces -mgeneral-regs-only when used as the assembler so
this removes that flag to fix the error in AsahiLinux#393. This is only needed for
utils_asm.S which has code saving/restoring SIMD state, but this commit applies
it to all asm files for simplicity since code for fp regs shouldn't be generated
unless they're explicitly used anyway.

Signed-off-by: Ayrton Munoz <[email protected]>
@ayrtonm ayrtonm linked a pull request Jun 6, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant