-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
Can't build with mbedTLS MPI acceleration disabled & wpa_supplicant mbedTLS enabled (IDFGH-3344) #5321
Comments
Hi @sle118 , Thanks for providing this bug report. To check I understand correctly: you're reporting this bug when building the It seems like there is a configuration combination which leads to build failure. The combination is:
We will fix this ASAP. In the meantime, you can work around the bug by switching either of these config options (if possible to do so then enabling mbedTLS MPI acceleration is the recommended way - should result in smaller binary size and most MPI operations will be faster.) |
Thank you for pointing me to the configuration issue; I have changed the sdkconfig and this has resolved that linking problem. I chased the issue myself, but could not find a trace of the missing function anywhere. I guess this is because it's a chip function rather than an actual soft coded routine. Thank you for being so responsive! |
Hi @sle118, Glad you were able to resolve the problem. This is still a bug in IDF (any configuration combination that's allowed should be able to build), so I'm going to keep the issue open for now. It'll be closed automatically when the fix is merged.
For reference of anyone who finds this issue looking for the same function, it's here (part of the port-specific layer for mbedTLS hardware acceleration, although in this case the function isn't part of the upstream mbedTLS API): |
…re MPI Also disable the relevant function in bignum.h based on config, so fails at compile not link time. Closes #5321
…re MPI Also disable the relevant function in bignum.h based on config, so fails at compile not link time. Closes #5321
Environment
git describe --tags
to find it): v4.0-386-gb0f053d82xtensa-esp32-elf-gcc --version
to find it): 8.2.0Problem Description
Build fails with the following errors
Expected Behavior
the project should link without an error
Actual Behavior
linking errors when building
Steps to reproduce
Code to reproduce this issue
N/A
Debug Logs
N/A
Other items if possible
clone the squeezelite-esp32 project and try to build against the most recent esp-idf v4.0 commit
The text was updated successfully, but these errors were encountered: