-
Notifications
You must be signed in to change notification settings - Fork 52
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
-C default-linker-libraries
breaks the build at link time (pthread multiple symbols) with recent ESP IDF toolchains
#178
Comments
Seems to me that linking to |
Digging a bit further: seems that the problem is with ESP IDF's own fork of newlib. Specifically, this thing: espressif/newlib-esp32@ff0b7d9 Still need to understand |
fyi in my case after removing My current dependencies are working and look like this: #[dependencies]
embedded-svc = "0.27"
embedded-hal = "1.0.0"
esp-idf-hal = "0.43"
esp-idf-svc = { version = "0.48", default-features = false,features = ["std"] }
|
Also see this.
Need to get to the bottom of this but the most likely hypothesis is as per the comment above. It does happen at least with riscv targets, and with ESP IDF 5.X. Unsure yet if xtensa targets are affected, or any targets with ESP IDF 4.4.
WORKAROUND: Remove
-C default-linker-libraries
from.cargo/config.toml
.The text was updated successfully, but these errors were encountered: