[Buildroot] [Golang] Add support for a bootstrap binary

Kevin Vigouroux ke.vigouroux at laposte.net
Fri Apr 24 15:00:52 UTC 2020


Hello,

Currently, on the supported systems, one way to build Go on the host
machine is to build it from a binary bootstrap toolchain because the
source bootstrap toolchain (Go 1.4) does not target some supported
architectures (ppc64le, aarch64...).

In practice, I would like to be able to build Go on a *aarch64*
machine. Then, cross-compiled Go packages to run them on an *arm*
machine.

References:
  - https://golang.org/doc/install/source#bootstrapFromBinaryRelease
  - https://golang.org/doc/install/source#environment ($GOHOSTOS and
  $GOHOSTARCH)

Best regards,
Kevin Vigouroux.


More information about the buildroot mailing list