-
Notifications
You must be signed in to change notification settings - Fork 232
"LLVM ERROR: Not supported instr" on 'mips64-poky-linux-gnun32-gnu' target #489
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 tried changing the DATA_LAYOUT by referring https://llvm.org/docs/LangRef.html#data-layout & https://irix7.com/techpubs/007-2816-004.pdf docs but the error is still there. |
My build is for mips64-n32 abi. I could not see that this abi on the rust supported target list in https://doc.rust-lang.org/nightly/rustc/platform-support.html. Does this error because of n32 is a not supported target arch of rust? |
This probably isn't the right repo for this bug, you should submit this to rust-lang/rust. I have no experience with MIPS, but you could check against the settings used by Clang on that target. |
I am going to close this issue since there probably isn't anything to be done. As Amanieu noted the problems don't really look specific to compiler-builtins, so please open a rust-lang/rust bug if there are continued problems. |
Add checks via annotation that lists are sorted or exhaustive
I am getting this error when compiling the rust application for mips n32 arch abi on Yocto project.
What could be the reason for this error and how to fix it? I suspect the data layout causing this issue. Below is the data layout used.
How do I derive a correct data layout for a specific arch? (Like the one given in #400 (comment))
The text was updated successfully, but these errors were encountered: