9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Gorka Guardiola <paurea@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Go Plan9 ARM Dreamplug
Date: Mon, 15 Apr 2013 09:08:05 +0200	[thread overview]
Message-ID: <CACm3i_i7_AqBLgOuZNjCdF3ZBoXptAcRCxm9MzqD3C-4Pzjt_w@mail.gmail.com> (raw)
In-Reply-To: <CAH7AAvph4jj=b0KL6Z5Bk_no-f3bs1NBZokyvsstvxNRh9XrPg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2619 bytes --]

This is a known problem with 5c. It cannot switch on vlong. As a stopgap,
you can
change the types of the things being switched on to integer (type, if I
remember right).

G.



On Mon, Apr 15, 2013 at 9:00 AM, Christopher Nielsen <cnielsen@pobox.com>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
>



--
- curiosity sKilled the cat

[-- Attachment #2: Type: text/html, Size: 3293 bytes --]

  parent reply	other threads:[~2013-04-15  7:08 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-15  7:00 Christopher Nielsen
2013-04-15  7:04 ` andrey mirtchovski
2013-04-15  8:10   ` Christopher Nielsen
2013-04-17  9:15     ` Yaroslav
2013-04-17 16:36       ` [9fans] Arm Python Was: " Matthew Veety
2013-04-17 16:40         ` Charles Forsyth
2013-04-17 16:42         ` erik quanstrom
2013-04-15  7:08 ` Gorka Guardiola [this message]
2013-04-15  8:12   ` [9fans] " Christopher Nielsen
2013-04-15  8:22     ` Skip Tavakkolian
2013-04-15  8:31       ` kernel panic
2013-04-15  8:43         ` Gorka Guardiola
2013-04-15  9:02           ` kernel panic
2013-04-15  9:55             ` lucio
2013-04-15 11:02               ` Charles Forsyth
2013-04-15 11:21                 ` lucio
2013-04-15  8:33       ` Christopher Nielsen
2013-04-15  8:34       ` Gorka Guardiola
2013-04-15  9:02         ` Skip Tavakkolian
2013-04-15 10:37         ` 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=CACm3i_i7_AqBLgOuZNjCdF3ZBoXptAcRCxm9MzqD3C-4Pzjt_w@mail.gmail.com \
    --to=paurea@gmail.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).