Skycoin Forum
go install -> gcc can't allocate - Printable Version

+- Skycoin Forum (https://skywug.net/forum)
+-- Forum: General Discussions (https://skywug.net/forum/Forum-General-Discussions)
+--- Forum: Skycoin Project (https://skywug.net/forum/Forum-Skycoin-Project)
+---- Forum: Skywire (https://skywug.net/forum/Forum-Skywire)
+---- Thread: go install -> gcc can't allocate (/Thread-go-install-gcc-can-t-allocate)



go install -> gcc can't allocate - mrtom31 - 05-08-2019

Code:
/usr/local/go/pkg/tool/linux_arm64/link: running gcc failed: fork/exec /usr/bin/gcc: cannot allocate memory

github.com/skycoin/skywire/cmd/ssh/sshc
github.com/skycoin/skywire/cmd/ssh/sshs
user@node1:~/go/src/github.com/skycoin/skywire/cmd$ free -h
             total        used        free      shared  buff/cache   available
Mem:           481M         78M        294M        644K        108M        392M
Swap:          240M         63M        176M

user@node1:~/go/src/github.com/skycoin/skywire/cmd$ go version
go version go1.9.2 linux/arm64

Hi,
During go install process gcc can't allocate but I have 13GB free disk space.
Idk what's going on.


RE: go install -> gcc can't allocate - mrtom31 - 05-09-2019

Just found the answer their : https://github.com/golang/go/wiki/GoArm