-
Notifications
You must be signed in to change notification settings - Fork 105
Linker error when building for ESP32-S2 #47
Comments
As strange as it sounds, it is a dupe of #45, which I'm about to fix soon (certain patches that have to be applied to ESP-IDF 3.4.1 are actually not applied; one of these is support for S2 atomics that brings this function that you see the linker complaining about). |
thanks Ivan! I did see your work & PRs over at ESP-IDF. for what it's worth, the esp-idf-template does work, if you choose to install ESP-IDF isw there another way I can force embuild to install ESP-IDF from master? |
But even then you have to build with
No. The fixes are related to how you build the thing. If you use the default
Read this.
See above. Branches other than v4.3.1 are only supported by the native builder. |
Right, that makes sense! I've done a bit more reading and am more up to speed now. Sorry to bother you with simple questions. For what it's worth though, |
hello! i'm getting a linker error when building for the ESP32-S2 variant.
the error is very similar to #24, except it's complaining about
undefined reference to '__sync_lock_test_and_set_4'
full error:
and, in case this is helpful:
esp-idf
via https://docs.espressif.com/projects/esp-idf/en/latest/esp32/esp-rs/rust
via https://github.com/esp-rs/rust-buildfor what it's worth, i'm getting the same error when using
cargo build
on theespressif/idf-rust-examples
docker image also (which, again, is using Ubuntu 20.04 as a base). maybe some library is missing in the minimal Ubuntu docker base?thanks!
The text was updated successfully, but these errors were encountered: