-
Notifications
You must be signed in to change notification settings - Fork 213
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
Missing __truncdfsf2 for aarch64-unknown-none-softfloat #327
Comments
I have the same issue it seems on a project targeting
|
There are two bare-metal aarch64 targets for rustc: aarch64-unknown-none The latter is intended for Kernels or Hypervisors where floating point code would be concenptionally ill-suited in most cases. It just happens that the current rust compiler infrastructure does fall back to fixed point implementations of float operations if avail, hence the unusual target name. Hitting a case where a float intrinsic is missing with the softfloat target is probably either a good hint that you accidentally included float code where you should not, or that the aarch64-unknown-none target is what you want instead (which would run your float code heaps faster because it utilizes the hardware floating point units of the processor). |
Ran into the same linker error on |
Still this OS cannot build in the debug mode because of compiler's bugs. rust-lang/compiler-builtins#327
622: build: remove lines about the debug build r=toku-sa-n a=toku-sa-n Still this OS cannot build in the debug mode because of compiler's bugs. rust-lang/compiler-builtins#327 bors r+ Co-authored-by: toku-sa-n <[email protected]>
622: build: remove lines about the debug build r=toku-sa-n a=toku-sa-n Still this OS cannot build in the debug mode because of compiler's bugs. rust-lang/compiler-builtins#327 bors r+ Co-authored-by: toku-sa-n <[email protected]>
622: build: remove lines about the debug build r=toku-sa-n a=toku-sa-n Still this OS cannot build in the debug mode because of compiler's bugs. rust-lang/compiler-builtins#327 bors r+ Co-authored-by: toku-sa-n <[email protected]>
622: build: remove lines about the debug build r=toku-sa-n a=toku-sa-n Still this OS cannot build in the debug mode because of compiler's bugs. rust-lang/compiler-builtins#327 bors r+ Co-authored-by: toku-sa-n <[email protected]>
Just ran into this issue today whilst trying to target |
Same thing on mips2 with |
Looks like it will be fixed soon? #448 |
These should be available on nightly now that rust-lang/rust#91986 is merged. |
I took a look at the C files referenced in this repo's README.md but don't feel that I'm qualified to make the port to rust.
I'd be very grateful if this function could be prioritized for implementation. Thank you.
The text was updated successfully, but these errors were encountered: