9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Go 1.4.3 compilation on Raspberry Pi
@ 2017-10-11  7:49 Pavel Klinkovský
  2017-10-11 10:13 ` Richard Miller
  0 siblings, 1 reply; 5+ messages in thread
From: Pavel Klinkovský @ 2017-10-11  7:49 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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

Hi all,

I am trying to compile Go 1.4.3 on my Raspberry Pi following David's
instructions on https://github.com/golang/go/wiki/Plan9.

But still having errors...

term% make.rc
# Building C bootstrap tool.
cmd/dist

# Building compilers and Go bootstrap tool for host, plan9/arm.
lib9
libbio
liblink
/usr/glenda/go1.4/include/plan9/../link.h:56[/usr/glenda/go1.4/src/liblink/anames6.c:1487]
syntax error, last name: float64
/usr/glenda/go1.4/include/plan9/../link.h:56[/usr/glenda/go1.4/src/liblink/anames8.c:1487]
syntax error, last name: float64
go tool dist: FAILED: /bin/5c -FTVwp -DPLAN9 -D__STDC__=1
-D__SIZE_TYPE__=ulong -I/usr/glenda/go1.4/include/plan9
-I/usr/glenda/go1.4/include/plan9/arm -I /usr/glenda/go1.4/src/liblink -o
$WORK/anames6.5 /usr/glenda/go1.4/src/liblink/anames6.c:
'/usr/glenda/go1.4/src/liblink/anames8.c' does not exist
/usr/glenda/go1.4/include/plan9/../link.h:56[/usr/glenda/go1.4/src/liblink/asm5.c:1519]
syntax error, last name: float64
go tool dist: FAILED: /bin/5c -FTVwp -DPLAN9 -D__STDC__=1
-D__SIZE_TYPE__=ulong -I/usr/glenda/go1.4/include/plan9
-I/usr/glenda/go1.4/include/plan9/arm -I /usr/glenda/go1.4/src/liblink -o
$WORK/anames8.5 /usr/glenda/go1.4/src/liblink/anames8.c:
'/usr/glenda/go1.4/src/liblink/anames8.c' does not exist
/usr/glenda/go1.4/include/plan9/../link.h:56[/usr/glenda/go1.4/src/liblink/anames5.c:1487]
syntax error, last name: float64
go tool dist: FAILED: /bin/5c -FTVwp -DPLAN9 -D__STDC__=1
-D__SIZE_TYPE__=ulong -I/usr/glenda/go1.4/include/plan9
-I/usr/glenda/go1.4/include/plan9/arm -I /usr/glenda/go1.4/src/liblink -o
$WORK/asm5.5 /usr/glenda/go1.4/src/liblink/asm5.c:
'/usr/glenda/go1.4/src/liblink/anames8.c' does not exist
go tool dist: FAILED: /bin/5c -FTVwp -DPLAN9 -D__STDC__=1
-D__SIZE_TYPE__=ulong -I/usr/glenda/go1.4/include/plan9
-I/usr/glenda/go1.4/include/plan9/arm -I /usr/glenda/go1.4/src/liblink -o
$WORK/anames5.5 /usr/glenda/go1.4/src/liblink/anames5.c:
'/usr/glenda/go1.4/src/liblink/anames8.c' does not exist
term%

Any idea what I am doing wrong?

Thanks in advance.

Pavel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] Go 1.4.3 compilation on Raspberry Pi
  2017-10-11  7:49 [9fans] Go 1.4.3 compilation on Raspberry Pi Pavel Klinkovský
@ 2017-10-11 10:13 ` Richard Miller
  2017-10-11 12:23   ` Pavel Klinkovský
  2017-10-11 12:24   ` Chris McGee
  0 siblings, 2 replies; 5+ messages in thread
From: Richard Miller @ 2017-10-11 10:13 UTC (permalink / raw)
  To: 9fans

> I am trying to compile Go 1.4.3 on my Raspberry Pi following David's
> instructions on https://github.com/golang/go/wiki/Plan9.

I believe that route to bootstrapping go from scratch on Plan 9
will work only for 386.

On arm, you can either cross-compile go1.4 on another go platform
(eg plan9/386, plan9port on linux/386, or linux/arm), or start with
a pre-compiled plan9/arm package (there are several to choose from
on http://www.9legacy.org/download.html).

Once you have that, you can run it on Plan 9 on the Raspberry Pi to
bootstrap the current release of go.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] Go 1.4.3 compilation on Raspberry Pi
  2017-10-11 10:13 ` Richard Miller
@ 2017-10-11 12:23   ` Pavel Klinkovský
  2017-10-11 12:24   ` Chris McGee
  1 sibling, 0 replies; 5+ messages in thread
From: Pavel Klinkovský @ 2017-10-11 12:23 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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

>
> I believe that route to bootstrapping go from scratch on Plan 9
> will work only for 386.
>

I see.


> On arm, you can either cross-compile go1.4 on another go platform
> (eg plan9/386, plan9port on linux/386, or linux/arm), or start with
> a pre-compiled plan9/arm package (there are several to choose from
> on http://www.9legacy.org/download.html).
>

Excellent.

Once you have that, you can run it on Plan 9 on the Raspberry Pi to
> bootstrap the current release of go.
>

Perfect, going to follow your recommendation.

Thank you for such a hint

Pavel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] Go 1.4.3 compilation on Raspberry Pi
  2017-10-11 10:13 ` Richard Miller
  2017-10-11 12:23   ` Pavel Klinkovský
@ 2017-10-11 12:24   ` Chris McGee
  2017-10-11 13:33     ` Pavel Klinkovský
  1 sibling, 1 reply; 5+ messages in thread
From: Chris McGee @ 2017-10-11 12:24 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

There are some binaries available here if you want to use them to bootstrap:

http://www.9legacy.org/download.html

Chris

On Oct 11, 2017, at 6:13 AM, Richard Miller <9fans@hamnavoe.com> wrote:

>> I am trying to compile Go 1.4.3 on my Raspberry Pi following David's
>> instructions on https://github.com/golang/go/wiki/Plan9.
>
> I believe that route to bootstrapping go from scratch on Plan 9
> will work only for 386.
>
> On arm, you can either cross-compile go1.4 on another go platform
> (eg plan9/386, plan9port on linux/386, or linux/arm), or start with
> a pre-compiled plan9/arm package (there are several to choose from
> on http://www.9legacy.org/download.html).
>
> Once you have that, you can run it on Plan 9 on the Raspberry Pi to
> bootstrap the current release of go.
>
>



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] Go 1.4.3 compilation on Raspberry Pi
  2017-10-11 12:24   ` Chris McGee
@ 2017-10-11 13:33     ` Pavel Klinkovský
  0 siblings, 0 replies; 5+ messages in thread
From: Pavel Klinkovský @ 2017-10-11 13:33 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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

>
> There are some binaries available here if you want to use them to
> bootstrap:
>
> http://www.9legacy.org/download.html


Already done and working fine. ;)

Thank you.

Pavel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-10-11 13:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-11  7:49 [9fans] Go 1.4.3 compilation on Raspberry Pi Pavel Klinkovský
2017-10-11 10:13 ` Richard Miller
2017-10-11 12:23   ` Pavel Klinkovský
2017-10-11 12:24   ` Chris McGee
2017-10-11 13:33     ` Pavel Klinkovský

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).