“不能保留竞技场虚拟地址空间”同时在OpenBSD上编译Golang [英] "cannot reserve arena virtual address space" while compiling Golang on OpenBSD
本文介绍了“不能保留竞技场虚拟地址空间”同时在OpenBSD上编译Golang的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当在OpenBSD上用命令ksh all.bash编译golang时(也试过make.bash但没有工作),我得到错误无法保留舞台虚拟地址空间。这是输出:
I'm getting the error "cannot reserve arena virtual address space" while compiling golang on OpenBSD with command "ksh all.bash" (also tried make.bash but didn't work). This is the output:
$ ksh all.bash
# Building C bootstrap tool.
cmd/dist
# Building compilers and Go bootstrap tool for host, openbsd/386.
lib9
libbio
... (truncated)
pkg/go/doc
pkg/go/build
cmd/go
throw: runtime: cannot reserve arena virtual address space
我试着按照 http://code.google.com/p/go-wiki/wiki/OpenBSD ,但也有可能我没有正确地做。任何提示将不胜感激。
I tried following the directions on http://code.google.com/p/go-wiki/wiki/OpenBSD, but it is also possible I didn't do it correctly. Any tips would be greatly appreciated.
推荐答案
似乎不是与员工组合,改变默认的
Seems like rather than screwing with the "staff" group, changing the defaults for the "default" section solved the issue.
default:\
:path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin /usr/local/sbin:\
:umask=022:\
:datasize-max=infinity:\
:datasize-cur=infinity:\
:maxproc-max=256:\
:maxproc-cur=128:\
:openfiles-cur=128:\
:stacksize-cur=4M:\
:localcipher=blowfish,6:\
:ypcipher=old:\
:tc=auth-defaults:\
:tc=auth-ftp-defaults:
这篇关于“不能保留竞技场虚拟地址空间”同时在OpenBSD上编译Golang的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文