unable to compile latest "pull"

18 views
Skip to first unread message

gnu.bash

unread,
Feb 2, 2011, 2:11:28 AM2/2/11
to golang-nuts
Hi, this is the error:

cp _obj/rpc/jsonrpc.a .../go/pkg/linux_amd64/rpc/jsonrpc.a"
make[1]: Leaving directory `.../src/go/src/pkg/rpc/jsonrpc'
gcc -m64 -g -fPIC -O2 -o _cgo_main.o -c _cgo_main.c
gcc -m64 -g -fPIC -O2 -o _cgo1_.o _cgo_main.o amd64.o linux_amd64.o
util.o -lpthread
cgo -dynimport _cgo1_.o >__cgo_import.c && mv -f __cgo_import.c
_cgo_import.c
6l -o godoc _go_.6
throw: runtime: cannot map pages in arena address space

throw: malloc/free - deadlock
double panic
make[1]: *** [_cgo_import.c] Error 3
make[1]: Leaving directory `.../go/src/pkg/runtime/cgo'
make: *** [runtime/cgo.install] Fehler 2
make: *** Warte auf noch nicht beendete Prozesse...
cp -f goinstall ...x86_64-suse-linux/bin
make[1]: Leaving directory `.../go/src/cmd/goinstall'
cp -f godoc .../x86_64-suse-linux/bin
make[1]: Leaving directory `.../go/src/cmd/godoc'

> hg identify
867d37fb41a4 release.2011-02-01.1/release

mfg, Andreas Otto

Mikio Hara

unread,
Feb 2, 2011, 2:39:23 AM2/2/11
to gnu.bash, golang-nuts
Hi,

On Wed, Feb 2, 2011 at 4:11 PM, gnu.bash <aott...@t-online.de> wrote:

> Hi, this is the error:

Seems like Issue 1464.
<http://code.google.com/p/go/issues/detail?id=1464>

> to Linux reporters: please let us know what:
>
> ulimit -a
> uname -a
>
> prints on your system.

I am running Ubuntu 10.4 w/ no errors, fortunately.

% uname -a
Linux vm1 2.6.32-28-generic #55-Ubuntu SMP Mon Jan 10 23:42:43 UTC
2011 x86_64 GNU/Linux

% ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 20
file size (blocks, -f) unlimited
pending signals (-i) 16382
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) unlimited
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited

gnu.bash

unread,
Feb 2, 2011, 3:05:17 AM2/2/11
to golang-nuts
Hi,

thanks for the hint ...

I use "ulimit -S -v 3000000" in my startup file.

after set to unlimited it works

-> good job, thanks


mfg, Andreas Otto

Reply all
Reply to author
Forward
0 new messages