Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译报错,请高手帮忙 #13

Open
725216 opened this issue Feb 15, 2023 · 1 comment
Open

编译报错,请高手帮忙 #13

725216 opened this issue Feb 15, 2023 · 1 comment

Comments

@725216
Copy link

725216 commented Feb 15, 2023

错误如下: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
Copy link
Author

725216 commented Feb 15, 2023

已解决,是编译机内存小了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant