-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
linker error "undefined symbol: __aeabi_uidiv" for target thumbv6m-none-eabi #60782
Comments
Please post a way to reproduce this. What code are you trying to build? |
This is test-code for microcontrollers using my own framework called dust.
|
Maybe these two are related? #60747 |
(removing regression label since this never built on stable) |
#60491 was merged on 2019-05-09 and modifies EDIT: Related commit rust-lang/compiler-builtins@4bbc838 |
This commit fixes a bug accidentally introduced in rust-lang#285 where some lingering references remained to `#[cfg(thumbv6m)]` but this, since the historical revert, was renamed to `#[cfg(thumb_1)]`. This caused on the thumbv6m platform for the intrinsics to be accidentally omitted because the build script didn't actually compile them but the Rust code thought the C code was in use. After correcting the `#[cfg]` statements the CI configuration for the `thumb*` family of targets was all updated. The support for xargo testing was removed from `run.sh` since it had long since bitrotted, and the script was updated to simply build the intrinsics example to attempt to link for each of these targets. This in turn exposed the bug locally and allowed to confirm a fix once the `#[cfg]` statements were corrected. cc rust-lang/rust#60782
Thanks for the report @starblue and the cc @mati865, this should be fixed in rust-lang/compiler-builtins#290. |
triage: P-high. (I'm not 100% sure that prioritization is warranted for this target, but given that it may already be fixed, I don't mind err'ing on the side of too-high a priority.) |
This updates to 0.1.13 for `compiler_builtins`, published to fix a few issues. The feature changes here are updated because `compiler_builtins` no longer enables the `c` feature by default but we want to do so through our build still. Closes rust-lang#60747 Closes rust-lang#60782
Beginning with nightly-2019-05-10 I get the following linker error:
The text was updated successfully, but these errors were encountered: