<pre class="notranslate">What steps will reproduce the problem?

Make a package foo. Make a test in foo that imports a package bar. Add a compile error
to bar.

In your editor, make your build step:

go test -i -c foo

When this works, you know that your test is ready to run.

What is the expected output?

+ go test -i -c foo
# bar
src/bar/bar.go:3: undefined: net

What do you see instead?

+ go test -i -c foo
# bar
src/bar/bar.go:3: undefined: net
warning: building out-of-date packages:
    bar
installing these packages with 'go test -i foo' will speed future tests.

# bar
src/bar/bar.go:3: undefined: net

Which compiler are you using (5g, 6g, 8g, gccgo)?

6g

Which operating system are you using?

linux

Which version are you using?  (run 'go version')

go version devel +02e5cb24c95a Tue May 28 17:59:10 2013 -0700 linux/amd64

Please provide any additional information below.

Related to <a href="https://golang.org/issue/3104" rel="nofollow">issue #3104</a> maybe.</pre>
<p dir="auto">by <strong>rounin.urashima</strong>:</p>
<pre class="notranslate">What steps will reproduce the problem?
1. hg clone -u release <a href="https://code.google.com/p/go" rel="nofollow">https://code.google.com/p/go</a>
2. cd go/src
3. ./all.bash This gave an issue which I have logged as <a href="https://golang.org/issue/6952" rel="nofollow">issue #6952</a>
4. hg pull
5. hg update
6. hg update tip
7. time ./all.bash

What is the expected output?

ALL TESTS PASSED

---

What do you see instead?

rounin@LKG:~/go/src$ time ./all.bash
# Building C bootstrap tool.
cmd/dist

# Building compilers and Go bootstrap tool for host, linux/arm.
lib9
libbio
libmach
liblink
misc/pprof
cmd/addr2line
cmd/nm
cmd/objdump
cmd/pack
cmd/prof
cmd/cc
cmd/gc
cmd/5l
.
.
.

pkg/go/token
pkg/go/scanner
pkg/go/ast
pkg/go/parser
pkg/os/exec
pkg/os/signal
pkg/net/url
pkg/text/template/parse
pkg/text/template
pkg/go/doc
pkg/go/build
cmd/go
./make.bash: line 151:  5646 Illegal instruction     "$GOTOOLDIR"/go_bootstrap
clean -i std

real    161m16.413s
user    48m2.840s
sys     10m21.530s
rounin@LKG80B859:~/go/src$ 

Which compiler are you using (5g, 6g, 8g, gccgo)?


Which operating system are you using?
Debian

Which version are you using?  (run 'go version')
go not built on system

hg identify
24bc2c8febe3 tip


Please provide any additional information below.

This is a Debian Linux system running on an LINKSYS NSLU2 ARM device

Linux LKG 3.2.0-4-ixp4xx #1 Debian 3.2.41-2 armv5tel GNU/Linux

more /etc/issue
Debian GNU/Linux 7.0 \n \l</pre>