-
Notifications
You must be signed in to change notification settings - Fork 18k
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
misc/cgo/test: failure with gcc 10 #50987
Comments
I think |
Change https://golang.org/cl/382956 mentions this issue: |
@gopherbot, please backport to Go 1.17. The |
Backport issue(s) opened: #53050 (for 1.17). Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://go.dev/wiki/MinorReleases. |
Change https://go.dev/cl/408074 mentions this issue: |
Example build log: https://build.golang.org/log/193a8f825e6a894f5e435df6958df8ad54a97306
I added a
netbsd-arm64-bsiegert
machine running a current development snapshot of NetBSD. Its gcc is version 10.3.0.At the end of a test run, the cgo tests fail because of a warning generated by the verification for issue #5242:
This is due to a bugfix in how bitfields are passed by value in gcc 9.1, which technically breaks the ABI.
Since this is precisely the case that is being tested, I don't see how the code could be changed to prevent the warning. We could pass
-Wno-psabi
to gcc maybe?/cc @ianlancetaylor @mdempsky
The text was updated successfully, but these errors were encountered: