-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
armv7-sony-vita-newlibeabihf
should be named thumbv7a-sony-vita-newlibeabihf
#137422
Comments
I mean you are kinda right. Ideally you could make |
While renaming a target would break the old code, which I think is not justified just to make target name consistent. |
I'm not so interested in consistency just for consistencies sake. However, while targets triples are very far from well specified, we can (at least for Rust targets) rely on the the |
I personally think it would be good to get this fixed, the earlier the better. The reason the target name doesn't match the arch is because the arch was originally set as armv7a. I do agree with @zetanumbers' though, and would like to avoid breakage, especially around tooling (not too worried about code
|
There's no upstream LLVM target called Sorry if out of topic, trying to find information on what ABI commercial PS Vita games abide by (how it differs from standard ARMv7 EABI) and run across this. |
We're in the process to change it, probably to You can read more about how target triples work in Clang/LLVM here: https://clang.llvm.org/docs/CrossCompilation.html#target-triple So
AFAIK there are some differences in definitions for C types, like:
Not sure if there are other differences, you can find the target config we use for Rust here: https://github.com/rust-lang/rust/blob/2ea33b591050c4ca1a3752830b29112638faecf6/compiler/rustc_target/src/spec/targets/armv7_sony_vita_newlibeabihf.rs |
Looking through our target names I notice
armv7-sony-vita-newlibeabihf
is actually a thumb target (it uses the llvm targetthumbv7a-vita-eabihf
). So I think it should be namethumbv7a-sony-vita-newlibeabihf
to match our other thumb targets?cc target maintainers: @nikarh @pheki @zetanumbers
The text was updated successfully, but these errors were encountered: