From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 15 Apr 2013 01:10:57 -0700 Message-ID: From: Christopher Nielsen To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=089e01176d8fe7a70f04da61ca0b Subject: Re: [9fans] Go Plan9 ARM Dreamplug Topicbox-Message-UUID: 4162eaa4-ead8-11e9-9d60-3106f5b1d025 --089e01176d8fe7a70f04da61ca0b Content-Type: text/plain; charset=UTF-8 Thanks! I'm quite pleased to have managed to get this far with a little weekend hacking. I followed the directions from http://mercurial.selenic.com/wiki/Plan9FromBellLabs Nice doc to whomever wrote it. So using contrib, I installed the following: fgb/z fgb/bz2 fgb/openssl bichued/python stallion/mercurial A small caveat, I had to use mercurial on x86 (my cpufsauth server is an x86 vmware instance), since there wasn't an arm binary. Other than that, it was all pretty painless. On Mon, Apr 15, 2013 at 12:04 AM, andrey mirtchovski wrote: > congrats! which mercurial and python did you install? > > On Mon, Apr 15, 2013 at 1:00 AM, Christopher Nielsen > wrote: > > After a little work, I have a Plan 9 dev environment setup. My dreamplug > > boots with no problems, and after installing python and mercurial, I was > > able to clone the go repo. The build completes fine on 386, but on the > > dreamplug I get the errors below. Yes, I know I should probably be > running > > as a user other than bootes; this was a quick and dirty install to get > > things running. Also, opnames.h does exist. > > > > dreamplug# ls -l /usr/bootes/src/go-plan9-arm/src/cmd/gc/opnames.h > > --rw-rw-r-- M 15 bootes bootes 3273 Apr 15 02:47 > > /usr/bootes/src/go-plan9-arm/src/cmd/gc/opnames.h > > > > Also, it doesn't look like the tests are being run on 386. Forgive my > > ignorance, but is that currently intentional? I haven't had time to > search > > the list. > > > > cmd/gc > > > /usr/bootes/src/go-plan9-arm/src/cmd/gc/reflect.c:1022[/usr/bootes/src/go-plan9-arm/src/cmd/gc/reflect.c:3400] > > switch expression must be integer > > go tool dist: FAILED: /bin/5c -FTVw -Bp+ > > -I/usr/bootes/src/go-plan9-arm/include/plan9 > > -I/usr/bootes/src/go-plan9-arm/include/plan9/arm -I > > /usr/bootes/src/go-plan9-arm/src/cmd/gc -o $WORK/reflect.5 > > /usr/bootes/src/go-plan9-arm/src/cmd/gc/reflect.c: > > '/usr/bootes/src/go-plan9-arm/src/cmd/gc/opnames.h' does not exist > > > /usr/bootes/src/go-plan9-arm/src/cmd/gc/subr.c:665[/usr/bootes/src/go-plan9-arm/src/cmd/gc/subr.c:3240] > > switch expression must be integer > > > /usr/bootes/src/go-plan9-arm/src/cmd/gc/subr.c:2863[/usr/bootes/src/go-plan9-arm/src/cmd/gc/subr.c:5373] > > switch expression must be integer > > warning: > > > /usr/bootes/src/go-plan9-arm/src/cmd/gc/subr.c:2846[/usr/bootes/src/go-plan9-arm/src/cmd/gc/subr.c:5356] > > used and not set: fn > > go tool dist: FAILED: /bin/5c -FTVw -Bp+ > > -I/usr/bootes/src/go-plan9-arm/include/plan9 > > -I/usr/bootes/src/go-plan9-arm/include/plan9/arm -I > > /usr/bootes/src/go-plan9-arm/src/cmd/gc -o $WORK/subr.5 > > /usr/bootes/src/go-plan9-arm/src/cmd/gc/subr.c: > > '/usr/bootes/src/go-plan9-arm/src/cmd/gc/opnames.h' does not exist > > > > -- > > Christopher Nielsen > > "They who can give up essential liberty for temporary safety, deserve > > neither liberty nor safety." --Benjamin Franklin > > "The tree of liberty must be refreshed from time to time with the blood > of > > patriots & tyrants." --Thomas Jefferson > > -- Christopher Nielsen "They who can give up essential liberty for temporary safety, deserve neither liberty nor safety." --Benjamin Franklin "The tree of liberty must be refreshed from time to time with the blood of patriots & tyrants." --Thomas Jefferson --089e01176d8fe7a70f04da61ca0b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks! I'm quite pleased to have managed t= o get this far with a little weekend hacking.

I followed the directions from=C2=A0http://mercurial.selenic.com/wiki/Plan9Fro= mBellLabs=C2=A0
Nice doc to whomever wrote it.

So using contrib, I installed the following:

=
fgb/z
fgb/bz2
fgb/openssl
bichued/python
stallion/mercurial

A small caveat, I had to use mercurial on x86 (my cp= ufsauth server is an x86 vmware instance), since there wasn't an arm bi= nary. Other than that, it was all pretty painless.


=

On Mon, Apr 15, 2013 at 12:04 AM, andrey= mirtchovski <mirtchovski@gmail.com> wrote:
congrats! which mercurial and python did you= install?

On Mon, Apr 15, 2013 at 1:00 AM, Christopher Nielsen <cnielsen@pobox.com> wrote:
> After a little work, I have a Plan 9 dev environment setup. My dreampl= ug
> boots with no problems, and after installing python and mercurial, I w= as
> able to clone the go repo. The build completes fine on 386, but on the=
> dreamplug I get the errors below. Yes, I know I should probably be run= ning
> as a user other than bootes; this was a quick and dirty install to get=
> things running. Also, opnames.h does exist.
>
> dreamplug# ls -l /usr/bootes/src/go-plan9-arm/src/cmd/gc/opnames.h
> --rw-rw-r-- M 15 bootes bootes 3273 Apr 15 02:47
> /usr/bootes/src/go-plan9-arm/src/cmd/gc/opnames.h
>
> Also, it doesn't look like the tests are being run on 386. Forgive= my
> ignorance, but is that currently intentional? I haven't had time t= o search
> the list.
>
> cmd/gc
> /usr/bootes/src/go-plan9-arm/src/cmd/gc/reflect.c:1022[/usr/bootes/src= /go-plan9-arm/src/cmd/gc/reflect.c:3400]
> switch expression must be integer
> go tool dist: FAILED: /bin/5c -FTVw -Bp+
> -I/usr/bootes/src/go-plan9-arm/include/plan9
> -I/usr/bootes/src/go-plan9-arm/include/plan9/arm -I
> /usr/bootes/src/go-plan9-arm/src/cmd/gc -o $WORK/reflect.5
> /usr/bootes/src/go-plan9-arm/src/cmd/gc/reflect.c:
> '/usr/bootes/src/go-plan9-arm/src/cmd/gc/opnames.h' does not e= xist
> /usr/bootes/src/go-plan9-arm/src/cmd/gc/subr.c:665[/usr/bootes/src/go-= plan9-arm/src/cmd/gc/subr.c:3240]
> switch expression must be integer
> /usr/bootes/src/go-plan9-arm/src/cmd/gc/subr.c:2863[/usr/bootes/src/go= -plan9-arm/src/cmd/gc/subr.c:5373]
> switch expression must be integer
> warning:
> /usr/bootes/src/go-plan9-arm/src/cmd/gc/subr.c:2846[/usr/bootes/src/go= -plan9-arm/src/cmd/gc/subr.c:5356]
> used and not set: fn
> go tool dist: FAILED: /bin/5c -FTVw -Bp+
> -I/usr/bootes/src/go-plan9-arm/include/plan9
> -I/usr/bootes/src/go-plan9-arm/include/plan9/arm -I
> /usr/bootes/src/go-plan9-arm/src/cmd/gc -o $WORK/subr.5
> /usr/bootes/src/go-plan9-arm/src/cmd/gc/subr.c:
> '/usr/bootes/src/go-plan9-arm/src/cmd/gc/opnames.h' does not e= xist
>
> --
> Christopher Nielsen
> "They who can give up essential liberty for temporary safety, des= erve
> neither liberty nor safety." --Benjamin Franklin
> "The tree of liberty must be refreshed from time to time with the= blood of
> patriots & tyrants." --Thomas Jefferson




--
= Christopher Nielsen
"They who can give up essential liberty for tem= porary safety, deserve neither liberty nor safety." --Benjamin Frankli= n
"The tree of liberty must be refreshed from time to time with the bloo= d of patriots & tyrants." --Thomas Jefferson
--089e01176d8fe7a70f04da61ca0b--