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
This is the compile command that fails:
/home/boger/golang/latest/go/pkg/tool/linux_ppc64le/compile -o $WORK/k8s.io/kubernetes/vendor/github.com/onsi/ginkgo/ginkgo/convert.a -trimpath $WORK -p k8s.io/kubernetes/vendor/github.com/onsi/ginkgo/ginkgo/convert -complete -buildid 012aed0fb8b7f70a3adf3f0ea5a764bef88f917c -D _/home/boger/kublatest/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/github.com/onsi/ginkgo/ginkgo/convert -I $WORK -pack ./ginkgo_ast_nodes.go ./import.go ./package_rewriter.go ./test_finder.go ./testfile_rewriter.go ./testing_t_rewriter.go
./import.go:13: internal error: importsForRootNode err (type error) recorded as live on entry, p.Pc=1209
I didn't try the build on other platforms so I'm not sure if it fails elsewhere. This error didn't occur about 2 weeks ago because I've been doing this build regularly but I don't have an exact date as to when it last worked.
The text was updated successfully, but these errors were encountered:
Create a file with just the first function from that file and the problem is reproduced:
go build import.go
//# command-line-arguments
./import.go:13: internal error: importsForRootNode err (type error) recorded as live on entry, p.Pc=0
go version
go version devel +3134ab3 Thu Sep 15 02:42:13 2016 +0000 linux/ppc64le
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version devel +cddddbc Thu Sep 22 17:36:39 2016 +0000 linux/ppc64le
What operating system and processor architecture are you using (
go env
)?Ubuntu 16.04
What did you do?
Tried to build Kubernetes for ppc64le with latest
What did you expect to see?
Successful build.
What did you see instead?
Build errors
This is needed to create go-bindata needed by the kubernetes build. Add go-bindata to your PATH:
go get -u github.com/jteeuwen/go-bindata/go-bindata
Use this patch to modify hack/lib/golang.sh so it will build ppc64le. It sets -x -work to save the tmp build files and see what's building.
kubscript.diff.txt
git clone https://github.com/kubernetes/kubernetes.git
cd kubernetes
apply the patch
make
This is the compile command that fails:
/home/boger/golang/latest/go/pkg/tool/linux_ppc64le/compile -o $WORK/k8s.io/kubernetes/vendor/github.com/onsi/ginkgo/ginkgo/convert.a -trimpath $WORK -p k8s.io/kubernetes/vendor/github.com/onsi/ginkgo/ginkgo/convert -complete -buildid 012aed0fb8b7f70a3adf3f0ea5a764bef88f917c -D _/home/boger/kublatest/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/github.com/onsi/ginkgo/ginkgo/convert -I $WORK -pack ./ginkgo_ast_nodes.go ./import.go ./package_rewriter.go ./test_finder.go ./testfile_rewriter.go ./testing_t_rewriter.go
./import.go:13: internal error: importsForRootNode err (type error) recorded as live on entry, p.Pc=1209
I didn't try the build on other platforms so I'm not sure if it fails elsewhere. This error didn't occur about 2 weeks ago because I've been doing this build regularly but I don't have an exact date as to when it last worked.
The text was updated successfully, but these errors were encountered: