-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Add support for hexagon-unknown-qurt target #147173
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
base: master
Are you sure you want to change the base?
Conversation
These commits modify compiler targets. Some changes occurred in src/doc/rustc/src/platform-support cc @Noratrieb |
This comment has been minimized.
This comment has been minimized.
b098ed1
to
d51f18f
Compare
This comment has been minimized.
This comment has been minimized.
Procedurally, adding a new T3 target requires a MCP (Major Change Proposal), which is an issue template at https://github.com/rust-lang/compiler-team/issues. See rust-lang/compiler-team#911 for a recent example. |
(I believe that was revised to only require a PR (with the target tier policy for T3 filled out), and assigned to one of the compiler co-leads. For certain targets (especially the more obscure ones) we may ask for an MCP for further discusssions. This target seems... rather obscure, so an MCP seems beneficial.) r? compiler_leads |
|
||
## Cross-compilation toolchains and C code | ||
|
||
This target requires the [Hexagon SDK toolchain for C interoperability](https://softwarecenter.qualcomm.com/api/download/software/sdks/Hexagon_SDK/Linux/Debian/6.3.0.0/Hexagon_SDK.zip): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the license of this SDK? Maybe you could link to the page that links to the zip file and presumably also the license.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a proprietary SDK, hopefully the change makes this clearer.
This comment has been minimized.
This comment has been minimized.
Happy to fill out an MCP - that makes sense to me. But in filling it out, I think I've hit a roadblock that makes me consider abandoning this PR.
Of course - this policy makes perfect sense. For this particular target, it's generally targeted using the Sorry - perhaps this discussion might be better on the MCP issue rather than this PR. We already have an |
The job Click to see the possible cause of the failure (guessed by this bot)
|
Why doesn't Clang have a |
The Hexagon SDK toolchain ships with
The Hexagon Linux target is not supported by the Hexagon SDK and so far that's really the only toolchain that's used to target QuRT. In practice, no commercial users of Hexagon target anything other than QuRT on Hexagon architecture. So IMO it's an oversimplification that happens to work. The opensource clang+llvm toolchain (see build recipe ) could conceivably target QuRT but is missing a C library that would work with QuRT, so in practice no one uses it for that -- yet.
My understanding is that clang could take a |
No description provided.