Turns out the compiler bug making the reflect tests fail to compile were masking another failure:
--- FAIL: TestFunc (0.00 seconds) panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal 0xb code=0x1 addr=0x28]
goroutine 37 [running]: testing.$nested3 ../../../src/libgo/go/testing/testing.go:342 reflect_test.dummy /build/buildd/gcc-4.8-4.8.2/build/aarch64-linux-gnu/libgo/gotest11948/test/all_test.go:1402 reflect.call ../../../src/libgo/runtime/go-reflect-call.c:527 reflect.call.N13_reflect.Value /build/buildd/gcc-4.8-4.8.2/build/aarch64-linux-gnu/libgo/gotest11948/test/value.go:483 reflect.Call.N13_reflect.Value /build/buildd/gcc-4.8-4.8.2/build/aarch64-linux-gnu/libgo/gotest11948/test/value.go:342 reflect_test.TestFunc /build/buildd/gcc-4.8-4.8.2/build/aarch64-linux-gnu/libgo/gotest11948/test/all_test.go:1407 testing.tRunner ../../../src/libgo/go/testing/testing.go:353 created by testing.RunTests ../../../src/libgo/go/testing/testing.go:433
goroutine 1 [chan receive]: testing.RunTests ../../../src/libgo/go/testing/testing.go:434 testing.Main ../../../src/libgo/go/testing/testing.go:365 main.main /build/buildd/gcc-4.8-4.8.2/build/aarch64-linux-gnu/libgo/gotest11948/test/_testmain.go:110
goroutine 36 [sleep]: reflect_test.selectWatcher /build/buildd/gcc-4.8-4.8.2/build/aarch64-linux-gnu/libgo/gotest11948/test/all_test.go:1346 created by reflect_test.$nested2 /build/buildd/gcc-4.8-4.8.2/build/aarch64-linux-gnu/libgo/gotest11948/test/all_test.go:1076 FAIL: reflect
Turns out the compiler bug making the reflect tests fail to compile were masking another failure:
--- FAIL: TestFunc (0.00 seconds)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x28]
goroutine 37 [running]: ../src/ libgo/go/ testing/ testing. go:342 buildd/ gcc-4.8- 4.8.2/build/ aarch64- linux-gnu/ libgo/gotest119 48/test/ all_test. go:1402 ../src/ libgo/runtime/ go-reflect- call.c: 527 call.N13_ reflect. Value buildd/ gcc-4.8- 4.8.2/build/ aarch64- linux-gnu/ libgo/gotest119 48/test/ value.go: 483 Call.N13_ reflect. Value buildd/ gcc-4.8- 4.8.2/build/ aarch64- linux-gnu/ libgo/gotest119 48/test/ value.go: 342 test.TestFunc buildd/ gcc-4.8- 4.8.2/build/ aarch64- linux-gnu/ libgo/gotest119 48/test/ all_test. go:1407 ../src/ libgo/go/ testing/ testing. go:353 ../src/ libgo/go/ testing/ testing. go:433
testing.$nested3
../../
reflect_test.dummy
/build/
reflect.call
../../
reflect.
/build/
reflect.
/build/
reflect_
/build/
testing.tRunner
../../
created by testing.RunTests
../../
goroutine 1 [chan receive]: ../src/ libgo/go/ testing/ testing. go:434 ../src/ libgo/go/ testing/ testing. go:365 buildd/ gcc-4.8- 4.8.2/build/ aarch64- linux-gnu/ libgo/gotest119 48/test/ _testmain. go:110
testing.RunTests
../../
testing.Main
../../
main.main
/build/
goroutine 36 [sleep]: test.selectWatc her buildd/ gcc-4.8- 4.8.2/build/ aarch64- linux-gnu/ libgo/gotest119 48/test/ all_test. go:1346 test.$nested2 buildd/ gcc-4.8- 4.8.2/build/ aarch64- linux-gnu/ libgo/gotest119 48/test/ all_test. go:1076
reflect_
/build/
created by reflect_
/build/
FAIL: reflect