carlosedp / riscv-bringup

Risc-V journey thru containers and new projects
270 stars 43 forks source link

/usr/local/go/pkg/tool/linux_riscv64/link: signal: killed when build moby #26

Closed jiangxiaobin96 closed 3 years ago

jiangxiaobin96 commented 3 years ago

The following error when run "./hack/make.sh binary"

Package devmapper was not found in the pkg-config search path.
Perhaps you should add the directory containing `devmapper.pc'
to the PKG_CONFIG_PATH environment variable
No package 'devmapper' found
Removing bundles/

---> Making bundle: binary (in bundles/binary)
Building: bundles/binary-daemon/dockerd-dev
GOOS="linux" GOARCH="riscv64" GOARM=""
/usr/local/go/pkg/tool/linux_riscv64/link: signal: killed

how to solve this problem? Is the problem occured because of lack of memory?

jiangxiaobin96 commented 3 years ago

free -m

               total        used        free      shared  buff/cache   available
Mem:             988         300         497          17         190         645
Swap:              0           0           0
jiangxiaobin96 commented 3 years ago

I have solved the problem.THX.