-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Targets which use openamp get build errors when configured without any optimization (-O0) #12489
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Targets which use openamp need to be configured with an optimization level setting other that -O0 to be compiled correctly.
I tested this with these targets
When compiled with -O0 then this linker error appears:
It's weird that it only fails without any optimization. Maybe it doesn't use HW instructions for atomic operations in that case..? I don't know.
Reproduce:
The text was updated successfully, but these errors were encountered: