-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
[M68k] error: unknown register name 'sp' in asm when trying to build Linux kernel #78620
Labels
Comments
@llvm/issue-subscribers-backend-m68k Author: John Paul Adrian Glaubitz (glaubitz)
Trying to build the Linux/m68k kernel with clang has improved quite a bit, but unfortunately still fails early:
It seems that that the m68k backend needs to learn about register names or at least the SP register. CC @mshockwave @0x59616e |
tclin914
added a commit
that referenced
this issue
Apr 2, 2024
In M68kRegisterInfo.td, register SP is defined with name sp and alternate name a7. Fixes: #78620
qihangkong
pushed a commit
to rvgpu/llvm
that referenced
this issue
Apr 18, 2024
In M68kRegisterInfo.td, register SP is defined with name x7 and alternate name a7. Fixes: llvm/llvm-project#78620
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Trying to build the Linux/m68k kernel with clang has improved quite a bit, but unfortunately still fails early:
It seems that that the m68k backend needs to learn about register names or at least the SP register.
CC @mshockwave @0x59616e
The text was updated successfully, but these errors were encountered: