You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We don't usually use the issue tracker for questions. You will get better answers on a forum such as golang-nuts; see https://golang.org/wiki/Questions. Thanks.
The file runtime/cgo/gcc_android.c is only used when building for Android systems, so deleting it will not cause a problem if you are not building for an Android system. If you have an Android cross-compiler installed, try running something like GOARCH=arm GOOS=android go build x.go where x.go is a program that uses cgo. I would expect that to fail if runtime/cgo/gcc_android.c is deleted.
I am trying to see how src/runtime/cgo/gcc_android.c is being used by golang while digging into #25035
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Delete
src/runtime/cgo/gcc_android.c
and build goland usingsrc/all.bash
.What did you expect to see?
If gcc_android.c is being used, I would have expected that with a high likelihood some compilation would have failed.
What did you see instead?
Compilation of golang succeeded without any issues.
The text was updated successfully, but these errors were encountered: