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
github-actionsbot
changed the title
CONFIG_STDATOMIC_S32C1I_SPIRAM_WORKAROUND missing implementation for __atomic_test_and_set, breaks stdatomic
CONFIG_STDATOMIC_S32C1I_SPIRAM_WORKAROUND missing implementation for __atomic_test_and_set, breaks stdatomic (IDFGH-14597)
Feb 7, 2025
@nebkat , thank you for the report. The issue #15167 has already been fixed in the master branch and backport is on its way to v5.4.
You may cherry-pick the commit 793e394 until the backport is not in place.
Answers checklist.
IDF version.
v5.4
Operating System used.
Windows
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
PowerShell
What is the expected behavior?
std::atomic_flag
/stdatomic.h
should work withCONFIG_SPIRAM=y
.What is the actual behavior?
Linker error:
undefined reference to '__atomic_test_and_set'
.Steps to reproduce.
idf.py @profile/spiram build
Build or installation Logs.
More Information.
See also:
Appears to be introduced by 4f09fba, no linker error when reverted.
The text was updated successfully, but these errors were encountered: