cmd/link,x/build: android-arm-corellium
tries to link using arm64
C toolchain
#58829
Labels
arch-arm
Issues solely affecting the 32-bit arm architecture.
Builders
x/build issues (builders, bots, dashboards)
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-Android
Milestone
In CL 472096, I am experimenting with enabling tests that use go build on android, because I don't see a good reason not to. Unfortunately, cgo linking seems to be broken on the
android-arm-corellium
builder.An example failure (https://storage.googleapis.com/go-build-log/1efd1f50/android-arm-corellium_80b1a8db.log):
It appears that for some reason the external linker thinks it is linking for
arm64
instead ofarm
.This builder runs on the
arm64
host, and it uses the sameCC
value:It also explicitly sets
CGO_ENABLED=1
, added in CL 174857 (CC @eliasnaur @bradfitz).It isn't clear to me whether this is a bug in
cmd/link
(failing to set a needed arch flag), or a misconfiguration in the builder itself (supplying the wrongCC
value, or erroneously settingCGO_ENABLED
when it should not be set).(attn @golang/android @steeve @changkun; CC @golang/compiler)
The text was updated successfully, but these errors were encountered: