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
It builds like any other architecture (this works with amd64, arm64, arm, s390x), but not ppc64le
What did you see instead?
hello.go:4:2: could not import fmt (open bazel-out/k8-fastbuild-ST-28dcfbc35f29/bin/external/io_bazel_rules_go/stdlib_/pkg/linux_ppc64le/fmt.a: no such file or directory)
It does not build, go dependencies are downloaded somewhere unexpected (pkg/linux_ppc64) instead of (pkg/linux_ppc64le).
What version of rules_go are you using?
0.39.0
What version of Bazel are you using?
6.1.1
Does this issue reproduce with the latest releases of all the above?
yes
What operating system and processor architecture are you using?
linux, amd64
Any other potentially useful information about your toolchain?
no
What did you do?
built a simple go binary using arch ppc64le
WORKSPACE.bazel
BUILD
hello.go
What did you expect to see?
It builds like any other architecture (this works with
amd64
,arm64
,arm
,s390x
), but notppc64le
What did you see instead?
It does not build, go dependencies are downloaded somewhere unexpected (
pkg/linux_ppc64
) instead of (pkg/linux_ppc64le
).One fix is to remove this line: https://github.com/bazelbuild/rules_go/blob/3125d8f0971bee56f069bbb33beb6686109fb71d/go/private/platforms.bzl#L34 but I assume that has some sort of side effect. I don't know enough bazel or go to debug any further yet.
The text was updated successfully, but these errors were encountered: