-
Notifications
You must be signed in to change notification settings - Fork 18k
sync/atomic: 64-bit primitives are not supported on ARMv5 #6134
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
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Comments
armSwapUint64 appears to be dead code: nothing calls it. But what you wrote is true of armCompareAndSwapUint64, which is where non-Linux ARM systems end up. The only supported non-Linux ARM system is FreeBSD 10. Does FreeBSD 10 run on ARMv5? Maybe the issue is moot. Labels changed: added priority-later, removed priority-triage. |
What we've done for the 386 port is provide atomics that only work on newer chips and then avoid using them in the standard library. That's probably fine here for ARM too. I will update the docs in sync/atomic (CL 12880043) and leave this open for the question of whether to disallow ARMv5 on non-Linux systems. |
This issue was updated by revision 2642c6e. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/12880043 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
The text was updated successfully, but these errors were encountered: