Created attachment 409516 [details, diff] dev-lang/go: add support for cross-compiling This patch for the go live ebuild (works for 1.5 too) sets up the environment just the way make.bash and go want it. Tested with amd64-to-arm64 and amd64-to-amd64 builds. Should work with others too, those are just the two cases I have to deal with. The quirks involved are all documented in the patch. Let me know if you have any questions. :) Thanks go to Geoff Levand for an initial arm64 specific attempt at this.
This is added to the tree as the live ebuild and as go-1.5. Thanks for the report and your contribution. :-)