9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: ROuNIN <rounin.urashima@gmail.com>
To: 9fans@9fans.net
Subject: [9fans] building go on VMWare gives fatal error: malloc/free -
Date: Wed,  6 Mar 2013 11:02:11 +0000	[thread overview]
Message-ID: <507bdcc8-52b9-4f5d-9dbd-2e5e0e4cd297@k14g2000vbv.googlegroups.com> (raw)

Hello all,
I am trying to build Go on a new Plan9 install, but I get the
following:


term%  hg pull
pulling from https://code.google.com/p/go/
searching for changes
adding changesets
adding manifests
adding file changes
added 14 changesets with 40 changes to 37 files
(run 'hg update' to get a working copy)
term% hg update tip
37 files updated, 0 files merged, 0 files removed, 0 files unresolved
term% make.rc
# Building C bootstrap tool.
cmd/dist

# Building compilers and Go bootstrap tool for host, plan9/386.
lib9
libbio
libmach
misc/pprof
cmd/addr2line
cmd/cov
cmd/nm
cmd/objdump
cmd/pack
cmd/prof
cmd/cc
warning: /usr/glenda/go/src/cmd/cc/y.tab.c:1733[/usr/glenda/go/src/cmd/
cc/y.tab.c:3413] result of operation not used
warning: /usr/glenda/go/src/cmd/cc/y.tab.c:1733[/usr/glenda/go/src/cmd/
cc/y.tab.c:3413] result of operation not used
warning: /usr/glenda/go/src/cmd/cc/y.tab.c:1736[/usr/glenda/go/src/cmd/
cc/y.tab.c:3416] set and not used: yymsg
warning: /usr/glenda/go/src/cmd/cc/y.tab.c:1924[/usr/glenda/go/src/cmd/
cc/y.tab.c:3592] set and not used: yyptr
cmd/gc
warning: /usr/glenda/go/src/cmd/gc/closure.c:132[/usr/glenda/go/src/
cmd/gc/closure.c:2463] param declared and not used: nowrap
warning: /usr/glenda/go/src/cmd/gc/const.c:1113[/usr/glenda/go/src/cmd/
gc/const.c:3437] set and not used: t1
warning: /usr/glenda/go/src/cmd/gc/y.tab.c:2053[/usr/glenda/go/src/cmd/
gc/y.tab.c:4356] result of operation not used
warning: /usr/glenda/go/src/cmd/gc/y.tab.c:2053[/usr/glenda/go/src/cmd/
gc/y.tab.c:4356] result of operation not used
warning: /usr/glenda/go/src/cmd/gc/y.tab.c:2056[/usr/glenda/go/src/cmd/
gc/y.tab.c:4359] set and not used: yymsg
warning: /usr/glenda/go/src/cmd/gc/y.tab.c:4891[/usr/glenda/go/src/cmd/
gc/y.tab.c:7170] useless or misleading comparison: UINT <= 0xffffffff
warning: /usr/glenda/go/src/cmd/gc/y.tab.c:4905[/usr/glenda/go/src/cmd/
gc/y.tab.c:7184] useless or misleading comparison: 0 < UINT
warning: /usr/glenda/go/src/cmd/gc/y.tab.c:4907[/usr/glenda/go/src/cmd/
gc/y.tab.c:7186] result of operation not used
warning: /usr/glenda/go/src/cmd/gc/y.tab.c:2243[/usr/glenda/go/src/cmd/
gc/y.tab.c:4534] set and not used: yyptr
cmd/8l
cmd/8a
warning: /usr/glenda/go/src/cmd/8a/y.tab.c:1396[/usr/glenda/go/src/cmd/
8a/y.tab.c:3159] result of operation not used
warning: /usr/glenda/go/src/cmd/8a/y.tab.c:1396[/usr/glenda/go/src/cmd/
8a/y.tab.c:3159] result of operation not used
warning: /usr/glenda/go/src/cmd/8a/y.tab.c:1399[/usr/glenda/go/src/cmd/
8a/y.tab.c:3162] set and not used: yymsg
warning: /usr/glenda/go/src/cmd/8a/y.tab.c:1484[/usr/glenda/go/src/cmd/
8a/y.tab.c:3242] set and not used: yytoken
warning: /usr/glenda/go/src/cmd/8a/y.tab.c:1568[/usr/glenda/go/src/cmd/
8a/y.tab.c:3322] set and not used: yyptr
cmd/8c
cmd/8g
pkg/runtime
pkg/errors
pkg/sync/atomic
pkg/sync
pkg/io
pkg/unicode
pkg/unicode/utf8
pkg/unicode/utf16
pkg/bytes
pkg/math
pkg/strings
pkg/strconv
pkg/bufio
pkg/sort
pkg/container/heap
pkg/encoding/base64
pkg/syscall
pkg/time
pkg/os
pkg/reflect
pkg/fmt
pkg/encoding/json
pkg/flag
pkg/path/filepath
pkg/path
pkg/io/ioutil
pkg/log
pkg/regexp/syntax
pkg/regexp
pkg/go/token
pkg/go/scanner
pkg/go/ast
pkg/go/parser
pkg/os/exec
pkg/os/signal
pkg/net/url
pkg/text/template/parse
pkg/text/template
pkg/go/doc
pkg/go/build
cmd/go
fatal error: malloc/free - deadlock
[signal 0x2 code=0x0 addr=0x0 pc=0x51f04]

goroutine 1 [syscall]:
[fp=0x30705008] syscall.Syscall()
	/usr/glenda/go/src/pkg/syscall/asm_plan9_386.s:17 +0x5
[fp=0x3070502c] syscall.Open(0x10736000, 0xd, 0x0, 0x0, 0x0, ...)
	/usr/glenda/go/src/pkg/syscall/zsyscall_plan9_386.go:70 +0x87
[fp=0x30705068] syscall.readenv(0x1792a8, 0x8, 0x0, 0x0, 0x0, ...)
	/usr/glenda/go/src/pkg/syscall/env_plan9.go:32 +0x7e
[fp=0x307050ac] syscall.Getenv(0x1792a8, 0x8, 0x0, 0x0,
0xc5000000, ...)
	/usr/glenda/go/src/pkg/syscall/env_plan9.go:101 +0xdf
[fp=0x307050cc] time.init()
	/usr/glenda/go/src/pkg/time/zoneinfo_read.go:-186 +0x143
[fp=0x307050ec] os.init()
	/usr/glenda/go/src/pkg/os/error.go:13 +0x46
[fp=0x30705100] path/filepath.init()
	/usr/glenda/go/src/pkg/path/filepath/symlink.go:67 +0x55
[fp=0x30705104] go/scanner.init()
	/usr/glenda/go/src/pkg/go/scanner/scanner.go:727 +0x45
[fp=0x30705110] go/parser.init()
	/usr/glenda/go/src/pkg/go/parser/parser.go:2410 +0x50
[fp=0x307051c4] main.init()
	/usr/glenda/go/src/cmd/go/vet.go:37 +0x4b
[fp=0x307051dc] runtime.main()
	/usr/glenda/go/src/pkg/runtime/proc.c:179 +0x8d
[fp=0x307051e0] runtime.goexit()
	/usr/glenda/go/src/pkg/runtime/proc.c:1151
term% ll
ll: '/bin/ll' file does not exist
term% hg identify
84a41a2c376b tip
term%

Any ideas how to fix this?
Many thanks,
ROuNIN



             reply	other threads:[~2013-03-06 11:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-06 11:02 ROuNIN [this message]
2013-03-06 15:41 ` Jeremy Jackins
2013-03-06 15:50   ` David Leimbach
2013-03-06 15:57     ` Bence Fábián
2013-03-06 15:58       ` erik quanstrom
2013-03-06 17:40         ` Matthew Veety
2013-03-06 17:53           ` erik quanstrom
2013-03-06 18:39             ` Aram Hăvărneanu
2013-03-06 18:49               ` erik quanstrom
2013-03-06 18:55                 ` Aram Hăvărneanu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=507bdcc8-52b9-4f5d-9dbd-2e5e0e4cd297@k14g2000vbv.googlegroups.com \
    --to=rounin.urashima@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).