I'm trying to cross-compile go for plan9-386 using go-linux-amd64
(on a linux laptop) with the source tree mounted from a plan 9 server
via v9fs (mount -t 9p).

All goes well up to a point, then this happens:

/mnt/sys/lib/go1.17/pkg/tool/linux_amd64/link: mapping output file failed: 
invalid argument

It appears the go linker is now using mmap on its output file,
so it can write to different object code sections at multiple
offsets.

Should this be expected to work? Or is mmap not supported over v9fs?


------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T386b893f614f2b23-Ma99850de6a262031ebd727dc
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to