From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <21b11ae23f9d0eea02dd73e9225e8acb@hamnavoe.com> To: 9fans@9fans.net From: Richard Miller <9fans@hamnavoe.com> Date: Wed, 13 Apr 2016 10:10:08 +0100 In-Reply-To: <1A8D3234-4A50-4A23-AD20-BFDA49A73AB1@yahoo.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] Go on Plan 9? Topicbox-Message-UUID: 8d233b96-ead9-11e9-9d60-3106f5b1d025 > I tried a bootstrapped version on my RPi but it fails with a "fork/exec= ... virtual memory allocation failed=E2=80=9D error when I try to compil= e anything. Go needs a lot of virtual memory - it won't even pass the installation te= st suite if you give it less than a gigabyte. That was the reason for the change = to the definition in /sys/src/9/bcm/mem.h mentioned earlier: < #define USTKTOP 0x20000000 /* user segment end +1 */ --- > #define USTKTOP 0x40000000 /* user segment end +1 */ Are you running a 9pi kernel built with this change? There are newer ker= nel binaries in /n/sources/contrib/miller/9pi* with this and other tweaks applied. If= you are using an older pi with 512MB of ram, you'll need to activate swap(8). The plan9_arm version of go is expected to be in the 1.7 release. It is = already self hosting: if you look at the builder dashboard in http://build.golang= .org which tracks updates being built and tested on all platforms, the "plan9 = arm" column near the far right is a Raspberry Pi 3 managed by David du Colombi= er. It doesn't keep up with every update because a complete build and test su= ite run takes a bit over an hour.