<p dir="auto">by <strong>sorosj</strong>:</p>
<pre class="notranslate">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 &amp; 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.</pre>
<pre class="notranslate">go version go1.3 darwin/amd64

Create two files:

"foo.go": 

package foo

func foo() {
    NOPE I AM A SYNTAX ERROR
}
j

"foo_test.go":

package foo

Then run `go test` and the test passes. If you add a single test case to `foo_test.go`,
then it errors as expected. I believe that this was not the behavior with Go 1.2 but
haven't verified. I have a lot of test cases for really basic packages that I just want
to test compilation, and it no longer is testing that, when it was before.</pre>