9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Jeff Sickel <jas@corpus-callosum.com>
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)
Date: Tue,  3 Dec 2013 02:14:14 -0600	[thread overview]
Message-ID: <63064D18-61F9-4B5C-8F88-2EC793E1A558@corpus-callosum.com> (raw)
In-Reply-To: <c1f9225c48269593f4139b9f6847ff46@proxima.alt.za>


On Dec 3, 2013, at 1:31 AM, lucio@proxima.alt.za wrote:
> 
> I am totally with you on this one.  But the macros are in <bio.h>, 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 <bio.h> but the Plan 9
system supplied bio.h (+ a little mingling in of the additions to
$GOROOT/include/plan9).

I’m still not completely satisfied, but once I figure out cmd/dist
internals a little more then the file I’ve 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’s /$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’m close, but need to
eliminate some X11 distractions before really finishing it up.

There is one little bit I’d 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’s
a small mess, but still one that makes multi-architecture
file servers a little awkward (no nearly as awkward as Python’s
attempt at cross-compilation).

-jas




  reply	other threads:[~2013-12-03  8:14 UTC|newest]

Thread overview: 125+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-02 10:53 lucio
2013-06-02 14:10 ` erik quanstrom
2013-06-02 15:24   ` lucio
2013-06-03  4:20     ` erik quanstrom
2013-06-03  5:38       ` lucio
2013-06-03 13:28         ` erik quanstrom
2013-06-03 16:34           ` lucio
2013-06-03 16:46             ` erik quanstrom
2013-06-03 17:04               ` lucio
2013-06-03 17:07                 ` erik quanstrom
2013-06-03 17:33                   ` Bakul Shah
2013-06-03 17:38                 ` Charles Forsyth
2013-06-03  5:48       ` [9fans] More Go status lucio
2013-06-03 17:53       ` [9fans] SSE in a note handler Steve Simon
2013-06-02 15:01 ` [9fans] Go and 21-bit runes (and a bit of Go status) cinap_lenrek
2013-06-02 15:22   ` lucio
2013-06-02 15:38     ` cinap_lenrek
2013-06-02 15:54       ` lucio
2013-06-02 15:59         ` Kurt H Maier
2013-06-02 16:08           ` lucio
2013-06-02 19:37   ` Anthony Martin
2013-12-02  2:10     ` Skip Tavakkolian
2013-12-02  8:22       ` Anthony Martin
2013-12-02 14:33         ` erik quanstrom
2013-12-02 14:59           ` lucio
2013-12-02 15:22             ` Kurt H Maier
2013-12-02 17:19               ` lucio
2013-12-02 18:39                 ` Kurt H Maier
2013-12-02 20:09                   ` Skip Tavakkolian
2013-12-02 20:11                     ` erik quanstrom
2013-12-02 20:22                       ` Skip Tavakkolian
2013-12-02 20:24                       ` David du Colombier
2013-12-02 20:38                         ` erik quanstrom
2013-12-02 20:44                           ` Bakul Shah
2013-12-02 20:45                             ` erik quanstrom
2013-12-02 20:59                               ` Bakul Shah
2013-12-02 21:03                                 ` erik quanstrom
2013-12-02 23:35                                   ` Bakul Shah
2013-12-03  0:11                                     ` erik quanstrom
2013-12-02 20:45                           ` David du Colombier
2013-12-02 21:06                           ` Skip Tavakkolian
2013-12-02 21:45                             ` Jeff Sickel
2013-12-02 21:47                               ` erik quanstrom
2013-12-02 21:51                             ` erik quanstrom
2013-12-02 23:26                               ` Skip Tavakkolian
2013-12-02 23:43                                 ` Steve Simon
2013-12-03  0:16                                   ` Anthony Martin
2013-12-03  2:55                                     ` erik quanstrom
2013-12-03  0:12                                 ` erik quanstrom
2013-12-03  0:21                                   ` Anthony Martin
2013-12-03  0:49                                   ` Aram Hăvărneanu
2013-12-03  0:52                                     ` erik quanstrom
2013-12-03  1:01                                       ` Anthony Martin
2013-12-03  1:06                                       ` Jeremy Jackins
2013-12-03  1:34                                         ` Jeff Sickel
2013-12-03  7:43                                           ` lucio
2013-12-03  7:33                                     ` lucio
2013-12-03  7:29                                   ` lucio
2013-12-03 15:20                                     ` erik quanstrom
2013-12-03  7:31                                   ` lucio
2013-12-03  8:14                                     ` Jeff Sickel [this message]
2013-12-03  9:16                                       ` lucio
2013-12-03  9:21                                       ` lucio
2013-12-03 14:51                                         ` erik quanstrom
2013-12-03  9:46                                       ` Charles Forsyth
2013-12-03 10:04                                         ` lucio
2013-12-03 11:39                                           ` Aram Hăvărneanu
2013-12-03 14:42                                           ` erik quanstrom
2013-12-03 14:51                                             ` Charles Forsyth
2013-12-03 15:54                                               ` Jeff Sickel
2013-12-03 16:04                                               ` lucio
2013-12-03 16:47                                                 ` Charles Forsyth
2013-12-03 17:44                                                   ` Skip Tavakkolian
2013-12-03 23:12                                                   ` john francis lee
2013-12-04  0:13                                                     ` sl
2013-12-04  4:25                                                   ` lucio
2013-12-04  4:35                                                     ` erik quanstrom
2013-12-04  6:19                                                       ` lucio
2013-12-04  7:04                                                         ` [9fans] Go port [was Re: Go and 21-bit runes (and a bit of Go status)] Jeff Sickel
2013-12-04  7:20                                                           ` [9fans] Go port [was Re: Go and 21-bit runes (and a bit of Go lucio
2013-12-04  7:52                                                             ` Jeff Sickel
2013-12-04 15:11                                                               ` lucio
2013-12-04  4:37                                                     ` [9fans] Go and 21-bit runes (and a bit of Go status) Jens Staal
2013-12-04  4:46                                                       ` erik quanstrom
2013-12-03  7:10                                 ` lucio
2013-12-03  7:23                                   ` Skip Tavakkolian
2013-12-03  7:37                                     ` lucio
2013-12-03 15:04                                     ` erik quanstrom
2013-12-03  9:48                                 ` Richard Miller
2013-12-03 10:08                                   ` lucio
2013-12-03 11:14                                     ` Charles Forsyth
2013-12-03 11:24                                       ` lucio
2013-12-03  6:53                     ` lucio
2013-12-03  4:49                   ` lucio
2013-12-03  8:02                     ` Kurt H Maier
2013-12-03  9:12                       ` lucio
2013-12-02 15:50             ` erik quanstrom
2013-12-02 17:23               ` lucio
2013-12-02 18:35                 ` erik quanstrom
2013-12-03  4:35                   ` lucio
2013-12-02 22:52               ` Anthony Martin
2013-12-03  6:20                 ` andrey mirtchovski
2013-12-02 16:10           ` Skip Tavakkolian
2013-12-02 17:25             ` lucio
2013-12-02 19:13               ` Skip Tavakkolian
2013-12-02 19:34                 ` erik quanstrom
2013-12-03  6:34                   ` lucio
2013-12-03  5:02                 ` lucio
2013-12-02 17:31             ` Jeff Sickel
2013-12-02 17:52               ` lucio
2013-12-02 18:33                 ` erik quanstrom
2013-12-02 19:16                   ` Skip Tavakkolian
2013-12-02 19:26                     ` erik quanstrom
2013-12-02 19:33                       ` Skip Tavakkolian
2013-12-02 19:31                   ` Christopher Nielsen
2013-12-02 20:17                     ` David du Colombier
2013-12-02 19:37                   ` Bakul Shah
2013-12-02 19:57                     ` Skip Tavakkolian
2013-12-03  6:47                       ` lucio
2013-12-03  6:45                     ` lucio
2013-12-03  4:32                   ` lucio
2013-12-03 17:22 erik quanstrom
2013-12-03 17:37 ` Bence Fábián
2013-12-03 17:59   ` erik quanstrom
2013-12-04  5:48 ` lucio

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=63064D18-61F9-4B5C-8F88-2EC793E1A558@corpus-callosum.com \
    --to=jas@corpus-callosum.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).