4ad/go.arm64

arm64 native build

ikitayama opened this issue · 6 comments

I am wondering if either branch, dev.arm64 or mwhudson-bits can be checked out for
native build.

Here's what I got using that branch:
$ ./all.bash

Building Go bootstrap tool.

cmd/dist
ERROR: Cannot find /home/itaru.kitayama/go1.4/bin/go.
Set $GOROOT_BOOTSTRAP to a working Go tree >= Go 1.4.
./make.bash: line 124: /home/itaru.kitayama/go1.4/bin/go: No such file or directory

In the src dir,
$ CC='arm-linux-gnu-gcc -static' GOARCH=7 GOHOSTARCH=arm CGO_ENABLED=0 ./make.bash

it still looks for Go 1.4.

You need to have Go 1.4 available at $HOME/go1.4.

There is no way to get around that requirement.

See https://golang.org/s/go15bootstrap for details on how to bootstrap Go 1.5.

4ad commented

Working as intended.