-
Notifications
You must be signed in to change notification settings - Fork 61
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
Targeting a specific MIPS arch: internal compiler error on building compiler_builtins
stemming from ABI troubles.
#546
Comments
If you want to add a GCC flag, you can do it as such:
where However, this seems to be an error on the Rust side, so, we would need to fix it there, presumably by first adding a way to add targets not supported by LLVM. If you want to test before this is supported on the Rust side, please follow this doc, which says you will need to select an |
What are the current roadblocks to getting |
It needs to have a new parameter in the list of supported platforms. Like |
What do you mean by "support targets not supported by LLVM" in rustc_codegen_gcc? Also, there's a chicken-and-egg problem because it seems like you cannot add a target to |
target.json in question:
which, after some wrangling, can build
core
, but notcompiler_builtins
:https://gcc.gnu.org/onlinedocs/gcc/MIPS-Options.html documents a
from-abi
value that could fix this hopefully. No idea how to go about gettingrustc_codegen_gcc
to emit that though.The text was updated successfully, but these errors were encountered: