linux/arm64 not built
lyderic opened this issue · comments
GOOS=linux GOARCH=arm64
I have a server that run arm64, 32-bit arm binaries don't work on it. Can we please add the above architecture?
Thanks,
L.
In some of the forks we have a fix for this. Look for that to land here soon.
Many thanks. L.
gentoo builds for arm64..
https://www.dropbox.com/sh/4u9gbhps0ek402e/AAC5VLBE32cwH2gGjkj0Yz9sa?dl=0 full repo
(i kinda dying to get a vps for hosting /packages-arm64....)
https://www.dropbox.com/s/4f13r0casrx2r4n/gox-0_pre20160725.tbz2?dl=0
emerge dev-go/gox ..
else
chroot gentoo
emerge --sync , emerge dev-lang/go
cd /usr/portage/dev-go/gox
emerge -av fakeroot alien ,
ok....
ebuild gox-ver-#.ebuild rpm /var/tmp/portage/dev-go/gox/......rpm cp to /root or etc
fakeroot alien --target=arm64 gox....aarch64.rpm. for a deb
Any plans of fixing this?
Would be very welcome!
Just tried to build with arm64, surprised to see that Gox does not support it.
I can do this:
env GOARCH=arm64 go build
but gox gives me this
gox -arch='arm64'
No valid platforms to build for. If you specified a value
for the 'os', 'arch', or 'osarch' flags, make sure you're
using a valid value.
OS: Fedora 33
GO: go version go1.15.2 linux/amd64
env GOARCH=arm64 go build
This is the correct parameter:
gox -osarch="linux/arm64"