-
Notifications
You must be signed in to change notification settings - Fork 12.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
riscv64imac-unknown-nuttx-elf warns about abi/instruction-set mismatch #129825
Labels
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
rustbot
added
the
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
label
Aug 31, 2024
saethlin
added
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
and removed
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
labels
Aug 31, 2024
@saethlin Thanks for your report, I'll submit a fix soon, the support (include libstd/libc) for NuttX is in early stage, there are still many issues at present, sorry for that |
No need to apologize, just saying something because I saw something :) |
GuillaumeGomez
added a commit
to GuillaumeGomez/rust
that referenced
this issue
Sep 1, 2024
Fix LLVM ABI NAME for riscv64imac-unknown-nuttx-elf This patch fix rust-lang#129825 For the riscv64imac target, the LLVM ABI NAME should be "lp64", which is the default ABI if not specified for the riscv64imac target.
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Sep 2, 2024
Fix LLVM ABI NAME for riscv64imac-unknown-nuttx-elf This patch fix rust-lang#129825 For the riscv64imac target, the LLVM ABI NAME should be "lp64", which is the default ABI if not specified for the riscv64imac target.
workingjubilee
added a commit
to workingjubilee/rustc
that referenced
this issue
Sep 2, 2024
Fix LLVM ABI NAME for riscv64imac-unknown-nuttx-elf This patch fix rust-lang#129825 For the riscv64imac target, the LLVM ABI NAME should be "lp64", which is the default ABI if not specified for the riscv64imac target.
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
Sep 2, 2024
Rollup merge of rust-lang#129842 - no1wudi:master, r=saethlin Fix LLVM ABI NAME for riscv64imac-unknown-nuttx-elf This patch fix rust-lang#129825 For the riscv64imac target, the LLVM ABI NAME should be "lp64", which is the default ABI if not specified for the riscv64imac target.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
When using
-Zbuild-std=core --target=riscv64imac-unknown-nuttx-elf
I seewhich seems like an indicator that something is broken.
I think LLVM is seeing a mismatch between
rust/compiler/rustc_target/src/spec/targets/riscv64imac_unknown_nuttx_elf.rs
Line 24 in 9649706
and the lack of a
+d
inrust/compiler/rustc_target/src/spec/targets/riscv64imac_unknown_nuttx_elf.rs
Line 27 in 9649706
But of course I don't know this target, or whether this is somehow a bug in LLVM.
cc @no1wudi
The text was updated successfully, but these errors were encountered: