-
Notifications
You must be signed in to change notification settings - Fork 223
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
Very weird error when compiling a very basic program: __addsf3 multiple defenitions #541
Comments
I think:
|
First of all, you really should be avoiding the use of That said, the error still shouldn't happen. It is most likely a compiler issue of some sorts, though. Ping @Patryk27 maybe you know something? |
It looks like I've accidentally forgotten to (tl;dr this function gets provided both by GCC's standard library and Rust's compiler-builtins, which creates a linking conflict) I've created rust-lang/compiler-builtins#601 to fix this; after it gets merged, I'll bump compiler-builtins within rustc and ping back, as always 🙂 |
In rustc where is the version of compiler-builtins defined? I'm not really familiar with the rustc codebase |
Right here :-) |
@Patryk27 |
I'm on it, but there are some (AVR-unrelated) crashes that I need to investigate. |
Status: together with my AVR fix, bumping compiler-builtins brought some extra (non-AVR-related) f16 & f128 changes which need special handling in the compiler, so it's not as easy of a merge as usual - the current pull request is: |
Status: same as #566 (comment). |
Okie, it should work on the newest toolchain 🙂 |
The text was updated successfully, but these errors were encountered: