openwrt-kcptun icon indicating copy to clipboard operation
openwrt-kcptun copied to clipboard

编译报错.高手请指导下

Open 725216 opened this issue 2 years ago • 0 comments

错误如下: os/user runtime/debug runtime/race testing testing/iotest testing/quick text/scanner

( cd "/home/ubuntu/1/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/host/go-1.19.5/src" ; GOROOT_FINAL="/home/ubuntu/1/staging_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/host/lib/go-cross" GOROOT_BOOTSTRAP="/home/ubuntu/1/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/host/go-1.19.5/.go_bootstrap" GO_LDFLAGS="-buildmode pie" GOCACHE="/home/ubuntu/1/tmp/go-build" GOENV=off CC="gcc" CXX="g++" bash make.bash --no-banner ; ) Building Go cmd/dist using /home/ubuntu/1/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/host/go-1.19.5/.go_bootstrap. (go1.4-bootstrap-20170531 linux/amd64) Building Go toolchain1 using /home/ubuntu/1/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/host/go-1.19.5/.go_bootstrap.

bootstrap/cmd/compile/internal/ssa

/home/ubuntu/1/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/host/go-1.19.5/src/cmd/compile/internal/ssa/rewritedec64.go:63[/home/ubuntu/1/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/host/go-1.19.5/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ssa/rewritedec64.go:67]: out of memory go tool dist: FAILED: /home/ubuntu/1/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/host/go-1.19.5/.go_bootstrap/bin/go install -gcflags=-l -tags=math_big_pure_go compiler_bootstrap purego bootstrap/cmd/...: exit status 2 Makefile:366: recipe for target '/home/ubuntu/1/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/host/go-1.19.5/.built' failed make[2]: *** [/home/ubuntu/1/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/host/go-1.19.5/.built] Error 2 make[2]: Leaving directory '/home/ubuntu/1/feeds/packages/lang/golang/golang' package/Makefile:105: recipe for target 'package/feeds/packages/golang/host/compile' failed make[1]: *** [package/feeds/packages/golang/host/compile] Error 2 make[1]: Leaving directory '/home/ubuntu/1' /home/ubuntu/1/include/toplevel.mk:192: recipe for target 'package/openwrt-kcptun/compile' failed make: *** [package/openwrt-kcptun/compile] Error 2

725216 avatar Feb 15 '23 01:02 725216