From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 26 Jan 2016 23:19:53 +0100 Message-ID: From: David du Colombier <0intro@gmail.com> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] Go on Plan 9? Topicbox-Message-UUID: 7ff2dea4-ead9-11e9-9d60-3106f5b1d025 > All the errors seem related to the old Rune size. I suspect you're running > an old system and it's likely to not have nsec and tsemacquire syscalls > either. > > If you believe the system is up-to-date, you can cross compile a simple Go > program using 1.5 or later targeting GOOS=plan9 GOARCH=386 from a Linux/OSX > or Windows box and see if it runs on your system. That might give you more > info. Yes, Skip is right. On your system Rune is defined as ushort instead of uint. The change from ushort to uint was done in April 2013. While you could successfully cross-compile Go 1.5, it will probably not work on your machine. In fact, the nsec system call will likely be missing as well, since it was introduced in Plan 9 in May 2014. You should update your system. Since plan9.bell-labs.com is currently down, you could either change your 9fs script and change it to pull from 9p.io, like this: http://9legacy.org/9legacy/patch/9fs-9p.io.diff Or use the latest Plan 9 CD image: http://9p.io/plan9/download/plan9.iso.bz2 Then, you will be able to compile and execute Go 1.4, 1.5 and 1.6 successfully. -- David du Colombier