From: Richard Miller <9fans@hamnavoe.com>
To: 9fans@9fans.net
Subject: Re: [9fans] v9fs vs mmap (not quite SOLVED)
Date: Mon, 25 Oct 2021 12:04:34 +0100 [thread overview]
Message-ID: <7afecf395b8acc0b6c878c87f31145a9@hamnavoe.com> (raw)
In-Reply-To: <32aabedb4368772dd5c606c66db01409@hamnavoe.com>
> adding 'cache=mmap' to the mount options
> makes it work beautifully!
Not quite beautifully, it turns out. The build proceeds a lot further,
but ends with a memory fault as reported below.
Can anyone suggest other mount options I should tweak?
$ GOOS=plan9 GOARCH=386 GOROOT_BOOTSTRAP=/usr/lib/go GOROOT_FINAL=/sys/lib/go1.17 ./make.bash
Building Go cmd/dist using /usr/lib/go. (go1.7.4 linux/amd64)
Building Go toolchain1 using /usr/lib/go.
Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1.
Building Go toolchain2 using go_bootstrap and Go toolchain1.
Building Go toolchain3 using go_bootstrap and Go toolchain2.
Building packages and commands for host, linux/amd64.
# cmd/vendor/github.com/google/pprof/third_party/d3
unexpected fault address 0x607c60
fatal error: fault
[signal SIGBUS: bus error code=0x2 addr=0x607c60 pc=0x607c60]
goroutine 1 [running]:
runtime.throw({0xce1702, 0xc00008d870})
/sys/lib/go1.17/src/runtime/panic.go:1198 +0x71 fp=0xc00008d828 sp=0xc00008d7f8 pc=0x435331
runtime.sigpanic()
/sys/lib/go1.17/src/runtime/signal_unix.go:732 +0x125 fp=0xc00008d878 sp=0xc00008d828 pc=0x44b325
cmd/compile/internal/typecheck.(*iexporter).pushDecl(0xc6e9c0, 0xc0000a2120)
/sys/lib/go1.17/src/cmd/compile/internal/typecheck/iexport.go:403 fp=0xc00008d880 sp=0xc00008d878 pc=0x607c60
cmd/compile/internal/typecheck.WriteExports(0xc0000b4000)
/sys/lib/go1.17/src/cmd/compile/internal/typecheck/iexport.go:272 +0x254 fp=0xc00008da58 sp=0xc00008d880 pc=0x606f34
cmd/compile/internal/gc.dumpexport(0xc0000ae010)
/sys/lib/go1.17/src/cmd/compile/internal/gc/export.go:39 +0x1d5 fp=0xc00008dba0 sp=0xc00008da58 pc=0xc02d55
cmd/compile/internal/gc.dumpCompilerObj(0xc0000ae010)
/sys/lib/go1.17/src/cmd/compile/internal/gc/obj.go:106 +0x28 fp=0xc00008dbc0 sp=0xc00008dba0 pc=0xc05748
cmd/compile/internal/gc.dumpobj1({0x7fffdfeb7fde, 0x23}, 0x3)
/sys/lib/go1.17/src/cmd/compile/internal/gc/obj.go:62 +0x178 fp=0xc00008dc70 sp=0xc00008dbc0 pc=0xc051d8
cmd/compile/internal/gc.dumpobj()
/sys/lib/go1.17/src/cmd/compile/internal/gc/obj.go:43 +0x36 fp=0xc00008dc98 sp=0xc00008dc70 pc=0xc04ff6
cmd/compile/internal/gc.Main(0xd16458)
/sys/lib/go1.17/src/cmd/compile/internal/gc/main.go:307 +0x105b fp=0xc00008df20 sp=0xc00008dc98 pc=0xc0495b
main.main()
/sys/lib/go1.17/src/cmd/compile/main.go:55 +0xdd fp=0xc00008df80 sp=0xc00008df20 pc=0xc26d9d
runtime.main()
/sys/lib/go1.17/src/runtime/proc.go:255 +0x227 fp=0xc00008dfe0 sp=0xc00008df80 pc=0x437a07
runtime.goexit()
/sys/lib/go1.17/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc00008dfe8 sp=0xc00008dfe0 pc=0x466f81
go tool dist: FAILED: /mnt/sys/lib/go1.17/pkg/tool/linux_amd64/go_bootstrap install -gcflags=all= -ldflags=all= std cmd: exit status 2
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tb065f4df67a8bab9-M21962d3e6cc1b1ab472b5700
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
next prev parent reply other threads:[~2021-10-25 11:04 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-24 11:03 [9fans] v9fs vs mmap Richard Miller
2021-10-24 19:50 ` [9fans] v9fs vs mmap (SOLVED) Richard Miller
2021-10-24 22:31 ` Conor Williams
2021-10-25 11:04 ` Richard Miller [this message]
2021-10-25 23:53 ` [9fans] v9fs vs mmap (not quite SOLVED) Conor Williams
2021-10-26 9:22 ` Richard Miller
2021-10-26 10:51 ` Richard Miller
2021-10-26 15:53 ` Dan Cross
2021-10-26 16:06 ` Conor Williams
2021-10-26 16:51 ` Richard Miller
2021-10-26 18:17 ` Skip Tavakkolian
2021-10-26 18:54 ` Conor Williams
2021-10-26 19:09 ` Richard Miller
2021-10-26 19:33 ` Skip Tavakkolian
2021-10-26 19:36 ` Skip Tavakkolian
2021-10-26 23:45 ` Skip Tavakkolian
2021-10-26 23:57 ` Charles Forsyth
2021-10-27 8:27 ` Richard Miller
2021-10-27 10:55 ` Richard Miller
2021-10-27 12:31 ` Dan Cross
2021-10-27 13:15 ` Richard Miller
2021-10-27 13:20 ` Dan Cross
2021-10-27 14:10 ` Richard Miller
2021-10-27 14:14 ` arnold
2021-10-27 14:39 ` Richard Miller
2021-10-27 14:45 ` arnold
2021-10-27 14:31 ` Dan Cross
2021-10-27 15:02 ` Bakul Shah
2021-10-27 15:37 ` Charles Forsyth
2021-10-27 16:34 ` Skip Tavakkolian
2021-10-27 18:37 ` Richard Miller
2021-10-27 19:12 ` Skip Tavakkolian
2021-10-27 19:30 ` [9fans] v9fs vs mmap (now SOLVED, we hope) Richard Miller
2021-10-27 20:18 ` Skip Tavakkolian
2021-11-03 14:44 ` Conor Williams
2021-11-03 16:39 ` Conor Williams
2021-11-01 2:58 ` [9fans] v9fs vs mmap (not quite SOLVED) Conor Williams
2021-11-04 0:32 ` Conor Williams
2021-11-04 3:15 ` Conor Williams
2021-11-04 11:49 ` Conor Williams
2021-11-05 3:16 ` Conor Williams
2021-11-05 10:21 ` Kenji Okamoto
2021-11-05 13:44 ` Conor Williams
2021-11-05 13:56 ` Conor Williams
2021-11-21 4:21 ` Conor Williams
2021-10-27 0:34 ` Conor Williams
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=7afecf395b8acc0b6c878c87f31145a9@hamnavoe.com \
--to=9fans@hamnavoe.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).