From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) From: Jeff Sickel In-Reply-To: Date: Tue, 3 Dec 2013 02:14:14 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <63064D18-61F9-4B5C-8F88-2EC793E1A558@corpus-callosum.com> References: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] Go and 21-bit runes (and a bit of Go status) Topicbox-Message-UUID: 90ea23b2-ead8-11e9-9d60-3106f5b1d025 On Dec 3, 2013, at 1:31 AM, lucio@proxima.alt.za wrote: >=20 > I am totally with you on this one. But the macros are in , so > we may be able to avoid them. They are obscene and trigger many > annoying warnings. See https://codereview.appspot.com/15750047 as it gets around the issue w/o using the current go supplied but the Plan 9 system supplied bio.h (+ a little mingling in of the additions to $GOROOT/include/plan9). I=92m still not completely satisfied, but once I figure out cmd/dist internals a little more then the file I=92ve currently dropped in $GOROOT/src/lib9/bio_plan9.c can be moved to $GOROOT/src/libbio and just compiled storing the $O in $GOROOT/pkg/obj/plan9_$objtype and linked in addition to Plan 9=92s /$objtype/lib/libbio.a. I use: cmd/8g: work around 64-bit bug in 8c for Plan 9 https://codereview.appspot.com/14521056 runtime: do not use memmove in the Plan 9 signal handler https://codereview.appspot.com/34640045 libbio mod (not full replacement, just funcs and macros) https://codereview.appspot.com/15750047 libbio to build go for 386 off a standard sources release with my ape patch and an install of python 2.7.5 + hg. There are still issues in trying to get amd64 working that require changes to cmd/dist source and some of the pkg/runtime. I=92m close, but need to eliminate some X11 distractions before really finishing it up. There is one little bit I=92d also like to figure out how to work around: the install location of go & gofmt: the go_bootstrap puts those binaries into $GOROOT/bin even though the actual $objtype targets get installed into $GOROOT/pkg/*$objtype. It=92s a small mess, but still one that makes multi-architecture file servers a little awkward (no nearly as awkward as Python=92s attempt at cross-compilation). -jas