Skip to content
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

Fixes issue with 32 bit builds of desync #95

Merged
merged 1 commit into from
Jan 29, 2019

Conversation

svishwanath-tw
Copy link
Contributor

Alignment issues with 64 bit fields in the struct causes 32 bit builds of desync to not work (panic in sync/atomic package).
Re-arranging the members of the struct fixes this problem
Based on suggestions found at golang/go#599 and golang/go#23345.

Alignment issues with 64 bit fields in the struct causes 32 bit builds of desync to not work (panic in sync/atomic package).
Re-arranging the members of the struct fixes this problem
Based on suggestions found at golang/go#599 and golang/go#23345.
@svishwanath-tw
Copy link
Contributor Author

Discovered the problem and solution when trying to run this tool on a 32 bit machine.

@folbricht
Copy link
Owner

Thank you. I didn't know that, even though it actually says as much in https://golang.org/pkg/sync/atomic/#pkg-note-BUG

@folbricht folbricht merged commit 34c728a into folbricht:master Jan 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants