-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
cmd/cgo: Wrong types in compiler errors with clang 14 #53013
Comments
Change https://go.dev/cl/407514 mentions this issue: |
CC @golang/runtime, maybe @thanm? |
Change https://go.dev/cl/454415 mentions this issue: |
@gopherbot please backport to 1.18. |
Backport issue(s) opened: #57028 (for 1.18). Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://go.dev/wiki/MinorReleases. |
Fixes #57028 Updates #53013 Change-Id: I169d4eb2420a6da52cc9abe17da98c3092a91be6 Reviewed-on: https://go-review.googlesource.com/c/go/+/407514 Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> (cherry picked from commit 2cfbef4) Reviewed-on: https://go-review.googlesource.com/c/go/+/454415 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Run-TryBot: Heschi Kreinick <heschi@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
When compiling this code on FreeBSD 14-CURRENT with clang 14, go emits error messages with invalid types:
cgo tests also currently are failing:
The above was tested with
This issue seems to be similar to #13129 and #13635, CL incoming shortly.
The text was updated successfully, but these errors were encountered: