Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
go install -> gcc can't allocate
#1
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.
Reply
#2
Just found the answer their : https://github.com/golang/go/wiki/GoArm
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)