Skip to content

document GOHOSTARCH/GOHOSTOS in install.html #1303

@gopherbot

Description

@gopherbot

by sorosj:

What steps will reproduce the problem?
1. Compile a 64bit kernel (with 32bit executables support)
2. boot into a 32bit environment with that kernel (32bit compiler, gnu utiles & all)
3. try to run ./all.bash

What is the expected output?
golang compiles fine

What do you see instead?
==snip==
%%%% making lib9 %%%%

quietgcc -I"/home/johnny/dev/golang/include" -ggdb -O2 -c
"/home/johnny/dev/golang/src/lib9/_p9dir.c"
quietgcc -I"/home/johnny/dev/golang/include" -ggdb -O2 -c
"/home/johnny/dev/golang/src/lib9/_exits.c"
quietgcc -I"/home/johnny/dev/golang/include" -ggdb -O2 -c
"/home/johnny/dev/golang/src/lib9/argv0.c"
quietgcc -I"/home/johnny/dev/golang/include" -ggdb -O2 -c
"/home/johnny/dev/golang/src/lib9/atoi.c"
/home/johnny/dev/golang/src/lib9/_exits.c:1:0: sorry, unimplemented: 64-bit mode not
compiled in
/home/johnny/dev/golang/src/lib9/atoi.c:1:0: sorry, unimplemented: 64-bit mode not
compiled in
/home/johnny/dev/golang/src/lib9/argv0.c:1:0: sorry, unimplemented: 64-bit mode not
compiled in
make: *** [atoi.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [_exits.o] Error 1
make: *** [argv0.o] Error 1
/home/johnny/dev/golang/src/lib9/_p9dir.c:1:0: sorry, unimplemented: 64-bit mode not
compiled in
make: *** [_p9dir.o] Error 1
==snip==

Which operating system are you using?
Linux 2.6.36 (gentoo ~x86)

Which revision are you using?  (hg identify)
f1939161b11a tip

Please provide any additional information below.
I changed to a 64 bit kernel because i needed to support 64bit chroots, i have a
cross-compilation toolchain installed which is how I compiled the kernel.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions