You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.
Describe the bug
While trying to cargo run this project on my Mac OS 13.5 M1, with rustc 1.71.1 (eb26296b5 2023-08-03) I have the following error:
Compiling rs-nrf-fw v0.1.0 (/Users/adrien/Dev/rust/rs-nrf-fw)
Finished dev [unoptimized + debuginfo] target(s) in 30.20s
Running `target/thumbv7em-none-eabihf/debug/rs-nrf-fw`
target/thumbv7em-none-eabihf/debug/rs-nrf-fw: target/thumbv7em-none-eabihf/debug/rs-nrf-fw: cannot execute binary file
I suspect it is linked to the fact I am using thumbv7em-none-eabihf with hf at the end, and this nrf52840-sample, which is basically based on a bump version of defmt of a 3 year old example project from this tutorial, produces a similar error:
Finished dev [unoptimized + debuginfo] target(s) in 18.97s
Running `target/thumbv7em-none-eabihf/debug/nrf52840dk-sample`
target/thumbv7em-none-eabihf/debug/nrf52840dk-sample: target/thumbv7em-none-eabihf/debug/nrf52840dk-sample: cannot execute binary file```
The text was updated successfully, but these errors were encountered:
adrien3d
changed the title
Cannot build program: linking with rust-lld failed
Cannot execute binary file
Aug 12, 2023
Describe the bug
While trying to
cargo run
this project on my Mac OS 13.5 M1, with rustc 1.71.1 (eb26296b5 2023-08-03) I have the following error:I suspect it is linked to the fact I am using
thumbv7em-none-eabihf
withhf
at the end, and this nrf52840-sample, which is basically based on a bump version of defmt of a 3 year old example project from this tutorial, produces a similar error:The text was updated successfully, but these errors were encountered: