$ ./all.bash Building Go cmd/dist using /usr/pkg/go. Building Go toolchain1 using /usr/pkg/go. Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1. Building Go toolchain2 using go_bootstrap and Go toolchain1. warning: GOPATH set to GOROOT (/public/go) has no effect Building Go toolchain3 using go_bootstrap and Go toolchain2. warning: GOPATH set to GOROOT (/public/go) has no effect Building packages and commands for netbsd/amd64. warning: GOPATH set to GOROOT (/public/go) has no effect warning: GOPATH set to GOROOT (/public/go) has no effect ##### Testing packages. ok archive/tar 0.074s ok archive/zip 1.597s ok bufio 0.128s ok bytes 0.299s ok compress/bzip2 0.178s ok compress/flate 2.338s ok compress/gzip 0.062s ok compress/lzw 0.006s ok compress/zlib 0.187s ok container/heap 0.022s ok container/list 0.004s ok container/ring 0.012s ok context 1.308s ok crypto 0.003s ok crypto/aes 0.021s ok crypto/cipher 0.010s ok crypto/des 0.007s ok crypto/dsa 0.005s ok crypto/ecdsa 0.208s ok crypto/elliptic 0.021s ok crypto/hmac 0.003s ok crypto/md5 0.005s ok crypto/rand 0.077s ok crypto/rc4 0.099s ok crypto/rsa 0.152s ok crypto/sha1 0.005s ok crypto/sha256 0.007s ok crypto/sha512 0.019s ok crypto/subtle 0.006s ok crypto/tls 1.128s ok crypto/x509 1.458s ok database/sql 0.870s ok database/sql/driver 0.004s ok debug/dwarf 0.055s ok debug/elf 0.064s ok debug/gosym 0.179s ok debug/macho 0.024s ok debug/pe 0.086s ok debug/plan9obj 0.056s ok encoding/ascii85 0.004s ok encoding/asn1 0.006s ok encoding/base32 0.019s ok encoding/base64 0.014s ok encoding/binary 0.003s ok encoding/csv 0.007s ok encoding/gob 0.049s ok encoding/hex 0.005s ok encoding/json 0.600s ok encoding/pem 0.015s ok encoding/xml 0.020s ok errors 0.003s ok expvar 0.007s ok flag 0.004s ok fmt 0.117s ok go/ast 0.006s ok go/build 0.882s ok go/constant 0.018s ok go/doc 0.319s ok go/format 0.009s ok go/importer 0.125s ok go/internal/gccgoimporter 0.050s ok go/internal/gcimporter 0.581s ok go/internal/srcimporter 1.069s ok go/parser 0.059s ok go/printer 0.696s ok go/scanner 0.005s ok go/token 0.028s ok go/types 1.083s ok hash 0.007s ok hash/adler32 0.008s ok hash/crc32 0.007s ok hash/crc64 0.004s ok hash/fnv 0.005s ok html 0.004s ok html/template 0.101s ok image 0.141s ok image/color 0.033s ok image/draw 0.136s ok image/gif 1.053s ok image/jpeg 0.307s ok image/png 0.089s ok index/suffixarray 0.042s ok internal/cpu 0.003s ok internal/poll 0.029s ok internal/singleflight 0.026s ok internal/trace 1.574s ok io 0.296s ok io/ioutil 0.048s ok log 0.006s ok log/syslog 1.331s ok math 0.005s ok math/big 2.356s ok math/bits 0.006s ok math/cmplx 0.008s ok math/rand 0.404s ok mime 0.025s ok mime/multipart 1.099s ok mime/quotedprintable 0.261s ok net 3.215s ok net/http 4.345s ok net/http/cgi 0.332s ok net/http/cookiejar 0.020s ok net/http/fcgi 0.010s ok net/http/httptest 0.023s ok net/http/httptrace 0.007s ok net/http/httputil 0.143s ok net/http/internal 0.011s ok net/http/pprof 2.086s ok net/internal/socktest 0.003s ok net/mail 0.007s ok net/rpc 0.042s ok net/rpc/jsonrpc 0.017s ok net/smtp 0.023s ok net/textproto 0.022s ok net/url 0.008s ok os 1.462s ok os/exec 0.668s ok os/signal 4.900s ok os/user 0.004s ok path 0.005s ok path/filepath 0.018s ok reflect 0.672s ok regexp 0.334s ok regexp/syntax 0.524s ok runtime 32.779s ok runtime/debug 0.072s ok runtime/internal/atomic 0.115s ok runtime/internal/sys 0.011s ok runtime/pprof 15.077s ok runtime/pprof/internal/profile 0.004s ok runtime/trace 5.022s ok sort 0.105s ok strconv 0.527s ok strings 0.315s ok sync 1.976s ok sync/atomic 0.150s ok syscall 0.025s ok testing 1.665s ok testing/quick 0.107s ok text/scanner 0.005s ok text/tabwriter 0.004s ok text/template 0.406s ok text/template/parse 0.007s ok time 5.412s ok unicode 0.005s ok unicode/utf16 0.003s ok unicode/utf8 0.014s ok vendor/golang_org/x/crypto/chacha20poly1305 0.054s ok vendor/golang_org/x/crypto/cryptobyte 0.003s ok vendor/golang_org/x/crypto/curve25519 0.023s ok vendor/golang_org/x/crypto/internal/chacha20 0.082s ok vendor/golang_org/x/crypto/poly1305 0.007s ok vendor/golang_org/x/net/dns/dnsmessage 0.122s ok vendor/golang_org/x/net/http/httpguts 0.012s ok vendor/golang_org/x/net/http/httpproxy 0.007s ok vendor/golang_org/x/net/http2/hpack 0.007s ok vendor/golang_org/x/net/idna 0.032s ok vendor/golang_org/x/net/nettest 1.117s ok vendor/golang_org/x/net/route 0.006s ok vendor/golang_org/x/text/transform 0.004s ok vendor/golang_org/x/text/unicode/norm 0.003s ok cmd/addr2line 2.038s ok cmd/api 0.035s ok cmd/asm/internal/asm 0.712s ok cmd/asm/internal/lex 0.004s ok cmd/compile 10.205s ok cmd/compile/internal/gc 16.909s ok cmd/compile/internal/ssa 0.407s ok cmd/compile/internal/syntax 0.051s ok cmd/compile/internal/test 0.003s [no tests to run] ok cmd/compile/internal/types 0.004s ok cmd/cover 1.482s ok cmd/doc 0.081s ok cmd/fix 4.912s ok cmd/go 47.522s ok cmd/go/internal/cache 0.304s ok cmd/go/internal/generate 0.007s ok cmd/go/internal/get 0.013s ok cmd/go/internal/load 0.029s ok cmd/go/internal/work 0.047s ok cmd/gofmt 0.182s ok cmd/internal/buildid 0.344s ok cmd/internal/dwarf 0.003s ok cmd/internal/edit 0.003s ok cmd/internal/goobj 0.658s ok cmd/internal/obj 0.003s ok cmd/internal/obj/arm64 0.025s ok cmd/internal/obj/x86 0.333s ok cmd/internal/objabi 0.008s ok cmd/internal/src 0.004s ok cmd/internal/test2json 0.249s ok cmd/link 2.436s ok cmd/link/internal/ld 23.794s ok cmd/nm 4.268s ok cmd/objdump 2.729s ok cmd/pack 2.070s ok cmd/trace 0.153s ok cmd/vendor/github.com/google/pprof/internal/binutils 0.059s ok cmd/vendor/github.com/google/pprof/internal/driver 1.088s ok cmd/vendor/github.com/google/pprof/internal/elfexec 0.003s ok cmd/vendor/github.com/google/pprof/internal/graph 0.023s ok cmd/vendor/github.com/google/pprof/internal/measurement 0.004s ok cmd/vendor/github.com/google/pprof/internal/report 0.035s ok cmd/vendor/github.com/google/pprof/internal/symbolizer 0.029s ok cmd/vendor/github.com/google/pprof/internal/symbolz 0.008s ok cmd/vendor/github.com/google/pprof/profile 0.238s ok cmd/vendor/github.com/ianlancetaylor/demangle 0.052s ok cmd/vendor/golang.org/x/arch/arm/armasm 0.016s ok cmd/vendor/golang.org/x/arch/arm64/arm64asm 0.931s ok cmd/vendor/golang.org/x/arch/ppc64/ppc64asm 0.044s ok cmd/vendor/golang.org/x/arch/x86/x86asm 0.444s ok cmd/vendor/golang.org/x/crypto/ssh/terminal 0.006s ok cmd/vendor/golang.org/x/sys/unix 0.114s ok cmd/vet 1.640s ok cmd/vet/internal/cfg 0.006s ##### os/user with tag osusergo ok os/user 0.003s ##### GOMAXPROCS=2 runtime -cpu=1,2,4 -quick ok runtime 20.105s ##### Testing without libgcc. ok crypto/x509 0.806s ok net 0.009s ok os/user 0.003s ##### sync -cpu=10 ok sync 1.776s ##### ../misc/cgo/stdio ##### ../misc/cgo/life ##### ../misc/cgo/test PASS ok _/public/go/misc/cgo/test 1.559s PASS ok _/public/go/misc/cgo/test 1.390s PASS ok _/public/go/misc/cgo/test 1.417s PASS ok _/public/go/misc/cgo/testtls 0.005s PASS ok _/public/go/misc/cgo/testtls 0.003s ##### ../misc/cgo/testgodefs ##### ../misc/cgo/testso ##### ../misc/cgo/testsovar ##### ../misc/cgo/errors PASS ##### ../test/bench/go1 testing: warning: no tests to run PASS ok _/public/go/test/bench/go1 3.803s ##### ../test ##### API check +pkg crypto/cipher, func NewGCMWithNonceAndTagSize(Block, int, int) (AEAD, error) +pkg crypto/rsa, method (*PrivateKey) Size() int +pkg crypto/rsa, method (*PublicKey) Size() int +pkg crypto/tls, type ConnectionState struct, ExportKeyingMaterial func(string, []uint8, int) ([]uint8, bool) +pkg database/sql, method (IsolationLevel) String() string +pkg database/sql, type DBStats struct, Idle int +pkg database/sql, type DBStats struct, InUse int +pkg database/sql, type DBStats struct, MaxIdleClosed int64 +pkg database/sql, type DBStats struct, MaxLifetimeClosed int64 +pkg database/sql, type DBStats struct, MaxOpenConnections int +pkg database/sql, type DBStats struct, WaitCount int64 +pkg database/sql, type DBStats struct, WaitDuration time.Duration +pkg debug/elf, const ELFOSABI_AROS = 15 +pkg debug/elf, const ELFOSABI_AROS OSABI +pkg debug/elf, const ELFOSABI_CLOUDABI = 17 +pkg debug/elf, const ELFOSABI_CLOUDABI OSABI +pkg debug/elf, const ELFOSABI_FENIXOS = 16 +pkg debug/elf, const ELFOSABI_FENIXOS OSABI +pkg debug/elf, const EM_56800EX = 200 +pkg debug/elf, const EM_56800EX Machine +pkg debug/elf, const EM_68HC05 = 72 +pkg debug/elf, const EM_68HC05 Machine +pkg debug/elf, const EM_68HC08 = 71 +pkg debug/elf, const EM_68HC08 Machine +pkg debug/elf, const EM_68HC11 = 70 +pkg debug/elf, const EM_68HC11 Machine +pkg debug/elf, const EM_68HC16 = 69 +pkg debug/elf, const EM_68HC16 Machine +pkg debug/elf, const EM_78KOR = 199 +pkg debug/elf, const EM_78KOR Machine +pkg debug/elf, const EM_8051 = 165 +pkg debug/elf, const EM_8051 Machine +pkg debug/elf, const EM_ALTERA_NIOS2 = 113 +pkg debug/elf, const EM_ALTERA_NIOS2 Machine +pkg debug/elf, const EM_AMDGPU = 224 +pkg debug/elf, const EM_AMDGPU Machine +pkg debug/elf, const EM_ARCA = 109 +pkg debug/elf, const EM_ARCA Machine +pkg debug/elf, const EM_ARC_COMPACT = 93 +pkg debug/elf, const EM_ARC_COMPACT Machine +pkg debug/elf, const EM_ARC_COMPACT2 = 195 +pkg debug/elf, const EM_ARC_COMPACT2 Machine +pkg debug/elf, const EM_AVR = 83 +pkg debug/elf, const EM_AVR Machine +pkg debug/elf, const EM_AVR32 = 185 +pkg debug/elf, const EM_AVR32 Machine +pkg debug/elf, const EM_BA1 = 201 +pkg debug/elf, const EM_BA1 Machine +pkg debug/elf, const EM_BA2 = 202 +pkg debug/elf, const EM_BA2 Machine +pkg debug/elf, const EM_BLACKFIN = 106 +pkg debug/elf, const EM_BLACKFIN Machine +pkg debug/elf, const EM_BPF = 247 +pkg debug/elf, const EM_BPF Machine +pkg debug/elf, const EM_C166 = 116 +pkg debug/elf, const EM_C166 Machine +pkg debug/elf, const EM_CDP = 215 +pkg debug/elf, const EM_CDP Machine +pkg debug/elf, const EM_CE = 119 +pkg debug/elf, const EM_CE Machine +pkg debug/elf, const EM_CLOUDSHIELD = 192 +pkg debug/elf, const EM_CLOUDSHIELD Machine +pkg debug/elf, const EM_COGE = 216 +pkg debug/elf, const EM_COGE Machine +pkg debug/elf, const EM_COOL = 217 +pkg debug/elf, const EM_COOL Machine +pkg debug/elf, const EM_COREA_1ST = 193 +pkg debug/elf, const EM_COREA_1ST Machine +pkg debug/elf, const EM_COREA_2ND = 194 +pkg debug/elf, const EM_COREA_2ND Machine +pkg debug/elf, const EM_CR = 103 +pkg debug/elf, const EM_CR Machine +pkg debug/elf, const EM_CR16 = 177 +pkg debug/elf, const EM_CR16 Machine +pkg debug/elf, const EM_CRAYNV2 = 172 +pkg debug/elf, const EM_CRAYNV2 Machine +pkg debug/elf, const EM_CRIS = 76 +pkg debug/elf, const EM_CRIS Machine +pkg debug/elf, const EM_CRX = 114 +pkg debug/elf, const EM_CRX Machine +pkg debug/elf, const EM_CSR_KALIMBA = 219 +pkg debug/elf, const EM_CSR_KALIMBA Machine +pkg debug/elf, const EM_CUDA = 190 +pkg debug/elf, const EM_CUDA Machine +pkg debug/elf, const EM_CYPRESS_M8C = 161 +pkg debug/elf, const EM_CYPRESS_M8C Machine +pkg debug/elf, const EM_D10V = 85 +pkg debug/elf, const EM_D10V Machine +pkg debug/elf, const EM_D30V = 86 +pkg debug/elf, const EM_D30V Machine +pkg debug/elf, const EM_DSP24 = 136 +pkg debug/elf, const EM_DSP24 Machine +pkg debug/elf, const EM_DSPIC30F = 118 +pkg debug/elf, const EM_DSPIC30F Machine +pkg debug/elf, const EM_DXP = 112 +pkg debug/elf, const EM_DXP Machine +pkg debug/elf, const EM_ECOG1 = 168 +pkg debug/elf, const EM_ECOG1 Machine +pkg debug/elf, const EM_ECOG16 = 176 +pkg debug/elf, const EM_ECOG16 Machine +pkg debug/elf, const EM_ECOG1X = 168 +pkg debug/elf, const EM_ECOG1X Machine +pkg debug/elf, const EM_ECOG2 = 134 +pkg debug/elf, const EM_ECOG2 Machine +pkg debug/elf, const EM_ETPU = 178 +pkg debug/elf, const EM_ETPU Machine +pkg debug/elf, const EM_EXCESS = 111 +pkg debug/elf, const EM_EXCESS Machine +pkg debug/elf, const EM_F2MC16 = 104 +pkg debug/elf, const EM_F2MC16 Machine +pkg debug/elf, const EM_FIREPATH = 78 +pkg debug/elf, const EM_FIREPATH Machine +pkg debug/elf, const EM_FR30 = 84 +pkg debug/elf, const EM_FR30 Machine +pkg debug/elf, const EM_FT32 = 222 +pkg debug/elf, const EM_FT32 Machine +pkg debug/elf, const EM_FX66 = 66 +pkg debug/elf, const EM_FX66 Machine +pkg debug/elf, const EM_HUANY = 81 +pkg debug/elf, const EM_HUANY Machine +pkg debug/elf, const EM_INTEL205 = 205 +pkg debug/elf, const EM_INTEL205 Machine +pkg debug/elf, const EM_INTEL206 = 206 +pkg debug/elf, const EM_INTEL206 Machine +pkg debug/elf, const EM_INTEL207 = 207 +pkg debug/elf, const EM_INTEL207 Machine +pkg debug/elf, const EM_INTEL208 = 208 +pkg debug/elf, const EM_INTEL208 Machine +pkg debug/elf, const EM_INTEL209 = 209 +pkg debug/elf, const EM_INTEL209 Machine +pkg debug/elf, const EM_IP2K = 101 +pkg debug/elf, const EM_IP2K Machine +pkg debug/elf, const EM_JAVELIN = 77 +pkg debug/elf, const EM_JAVELIN Machine +pkg debug/elf, const EM_K10M = 181 +pkg debug/elf, const EM_K10M Machine +pkg debug/elf, const EM_KM32 = 210 +pkg debug/elf, const EM_KM32 Machine +pkg debug/elf, const EM_KMX16 = 212 +pkg debug/elf, const EM_KMX16 Machine +pkg debug/elf, const EM_KMX32 = 211 +pkg debug/elf, const EM_KMX32 Machine +pkg debug/elf, const EM_KMX8 = 213 +pkg debug/elf, const EM_KMX8 Machine +pkg debug/elf, const EM_KVARC = 214 +pkg debug/elf, const EM_KVARC Machine +pkg debug/elf, const EM_L10M = 180 +pkg debug/elf, const EM_L10M Machine +pkg debug/elf, const EM_LANAI = 244 +pkg debug/elf, const EM_LANAI Machine +pkg debug/elf, const EM_LATTICEMICO32 = 138 +pkg debug/elf, const EM_LATTICEMICO32 Machine +pkg debug/elf, const EM_M16C = 117 +pkg debug/elf, const EM_M16C Machine +pkg debug/elf, const EM_M32C = 120 +pkg debug/elf, const EM_M32C Machine +pkg debug/elf, const EM_M32R = 88 +pkg debug/elf, const EM_M32R Machine +pkg debug/elf, const EM_MANIK = 171 +pkg debug/elf, const EM_MANIK Machine +pkg debug/elf, const EM_MAX = 102 +pkg debug/elf, const EM_MAX Machine +pkg debug/elf, const EM_MAXQ30 = 169 +pkg debug/elf, const EM_MAXQ30 Machine +pkg debug/elf, const EM_MCHP_PIC = 204 +pkg debug/elf, const EM_MCHP_PIC Machine +pkg debug/elf, const EM_MCST_ELBRUS = 175 +pkg debug/elf, const EM_MCST_ELBRUS Machine +pkg debug/elf, const EM_METAG = 174 +pkg debug/elf, const EM_METAG Machine +pkg debug/elf, const EM_MICROBLAZE = 189 +pkg debug/elf, const EM_MICROBLAZE Machine +pkg debug/elf, const EM_MMDSP_PLUS = 160 +pkg debug/elf, const EM_MMDSP_PLUS Machine +pkg debug/elf, const EM_MMIX = 80 +pkg debug/elf, const EM_MMIX Machine +pkg debug/elf, const EM_MN10200 = 90 +pkg debug/elf, const EM_MN10200 Machine +pkg debug/elf, const EM_MN10300 = 89 +pkg debug/elf, const EM_MN10300 Machine +pkg debug/elf, const EM_MOXIE = 223 +pkg debug/elf, const EM_MOXIE Machine +pkg debug/elf, const EM_MSP430 = 105 +pkg debug/elf, const EM_MSP430 Machine +pkg debug/elf, const EM_NDS32 = 167 +pkg debug/elf, const EM_NDS32 Machine +pkg debug/elf, const EM_NORC = 218 +pkg debug/elf, const EM_NORC Machine +pkg debug/elf, const EM_NS32K = 97 +pkg debug/elf, const EM_NS32K Machine +pkg debug/elf, const EM_OPEN8 = 196 +pkg debug/elf, const EM_OPEN8 Machine +pkg debug/elf, const EM_OPENRISC = 92 +pkg debug/elf, const EM_OPENRISC Machine +pkg debug/elf, const EM_PDP10 = 64 +pkg debug/elf, const EM_PDP10 Machine +pkg debug/elf, const EM_PDP11 = 65 +pkg debug/elf, const EM_PDP11 Machine +pkg debug/elf, const EM_PDSP = 63 +pkg debug/elf, const EM_PDSP Machine +pkg debug/elf, const EM_PJ = 91 +pkg debug/elf, const EM_PJ Machine +pkg debug/elf, const EM_PRISM = 82 +pkg debug/elf, const EM_PRISM Machine +pkg debug/elf, const EM_QDSP6 = 164 +pkg debug/elf, const EM_QDSP6 Machine +pkg debug/elf, const EM_R32C = 162 +pkg debug/elf, const EM_R32C Machine +pkg debug/elf, const EM_RISCV = 243 +pkg debug/elf, const EM_RISCV Machine +pkg debug/elf, const EM_RL78 = 197 +pkg debug/elf, const EM_RL78 Machine +pkg debug/elf, const EM_RS08 = 132 +pkg debug/elf, const EM_RS08 Machine +pkg debug/elf, const EM_RX = 173 +pkg debug/elf, const EM_RX Machine +pkg debug/elf, const EM_SCORE7 = 135 +pkg debug/elf, const EM_SCORE7 Machine +pkg debug/elf, const EM_SEP = 108 +pkg debug/elf, const EM_SEP Machine +pkg debug/elf, const EM_SE_C17 = 139 +pkg debug/elf, const EM_SE_C17 Machine +pkg debug/elf, const EM_SE_C33 = 107 +pkg debug/elf, const EM_SE_C33 Machine +pkg debug/elf, const EM_SHARC = 133 +pkg debug/elf, const EM_SHARC Machine +pkg debug/elf, const EM_SLE9X = 179 +pkg debug/elf, const EM_SLE9X Machine +pkg debug/elf, const EM_SNP1K = 99 +pkg debug/elf, const EM_SNP1K Machine +pkg debug/elf, const EM_ST19 = 74 +pkg debug/elf, const EM_ST19 Machine +pkg debug/elf, const EM_ST200 = 100 +pkg debug/elf, const EM_ST200 Machine +pkg debug/elf, const EM_ST7 = 68 +pkg debug/elf, const EM_ST7 Machine +pkg debug/elf, const EM_ST9PLUS = 67 +pkg debug/elf, const EM_ST9PLUS Machine +pkg debug/elf, const EM_STM8 = 186 +pkg debug/elf, const EM_STM8 Machine +pkg debug/elf, const EM_STXP7X = 166 +pkg debug/elf, const EM_STXP7X Machine +pkg debug/elf, const EM_SVX = 73 +pkg debug/elf, const EM_SVX Machine +pkg debug/elf, const EM_TILE64 = 187 +pkg debug/elf, const EM_TILE64 Machine +pkg debug/elf, const EM_TILEGX = 191 +pkg debug/elf, const EM_TILEGX Machine +pkg debug/elf, const EM_TILEPRO = 188 +pkg debug/elf, const EM_TILEPRO Machine +pkg debug/elf, const EM_TI_ARP32 = 143 +pkg debug/elf, const EM_TI_ARP32 Machine +pkg debug/elf, const EM_TI_C2000 = 141 +pkg debug/elf, const EM_TI_C2000 Machine +pkg debug/elf, const EM_TI_C5500 = 142 +pkg debug/elf, const EM_TI_C5500 Machine +pkg debug/elf, const EM_TI_C6000 = 140 +pkg debug/elf, const EM_TI_C6000 Machine +pkg debug/elf, const EM_TI_PRU = 144 +pkg debug/elf, const EM_TI_PRU Machine +pkg debug/elf, const EM_TMM_GPP = 96 +pkg debug/elf, const EM_TMM_GPP Machine +pkg debug/elf, const EM_TPC = 98 +pkg debug/elf, const EM_TPC Machine +pkg debug/elf, const EM_TRIMEDIA = 163 +pkg debug/elf, const EM_TRIMEDIA Machine +pkg debug/elf, const EM_TSK3000 = 131 +pkg debug/elf, const EM_TSK3000 Machine +pkg debug/elf, const EM_UNICORE = 110 +pkg debug/elf, const EM_UNICORE Machine +pkg debug/elf, const EM_V850 = 87 +pkg debug/elf, const EM_V850 Machine +pkg debug/elf, const EM_VAX = 75 +pkg debug/elf, const EM_VAX Machine +pkg debug/elf, const EM_VIDEOCORE = 95 +pkg debug/elf, const EM_VIDEOCORE Machine +pkg debug/elf, const EM_VIDEOCORE3 = 137 +pkg debug/elf, const EM_VIDEOCORE3 Machine +pkg debug/elf, const EM_VIDEOCORE5 = 198 +pkg debug/elf, const EM_VIDEOCORE5 Machine +pkg debug/elf, const EM_VISIUM = 221 +pkg debug/elf, const EM_VISIUM Machine +pkg debug/elf, const EM_XCORE = 203 +pkg debug/elf, const EM_XCORE Machine +pkg debug/elf, const EM_XGATE = 115 +pkg debug/elf, const EM_XGATE Machine +pkg debug/elf, const EM_XIMO16 = 170 +pkg debug/elf, const EM_XIMO16 Machine +pkg debug/elf, const EM_XTENSA = 94 +pkg debug/elf, const EM_XTENSA Machine +pkg debug/elf, const EM_Z80 = 220 +pkg debug/elf, const EM_Z80 Machine +pkg debug/elf, const EM_ZSP = 79 +pkg debug/elf, const EM_ZSP Machine +pkg debug/elf, const R_RISCV_32 = 1 +pkg debug/elf, const R_RISCV_32 R_RISCV +pkg debug/elf, const R_RISCV_64 = 2 +pkg debug/elf, const R_RISCV_64 R_RISCV +pkg debug/elf, const R_RISCV_ADD16 = 34 +pkg debug/elf, const R_RISCV_ADD16 R_RISCV +pkg debug/elf, const R_RISCV_ADD32 = 35 +pkg debug/elf, const R_RISCV_ADD32 R_RISCV +pkg debug/elf, const R_RISCV_ADD64 = 36 +pkg debug/elf, const R_RISCV_ADD64 R_RISCV +pkg debug/elf, const R_RISCV_ADD8 = 33 +pkg debug/elf, const R_RISCV_ADD8 R_RISCV +pkg debug/elf, const R_RISCV_ALIGN = 43 +pkg debug/elf, const R_RISCV_ALIGN R_RISCV +pkg debug/elf, const R_RISCV_BRANCH = 16 +pkg debug/elf, const R_RISCV_BRANCH R_RISCV +pkg debug/elf, const R_RISCV_CALL = 18 +pkg debug/elf, const R_RISCV_CALL R_RISCV +pkg debug/elf, const R_RISCV_CALL_PLT = 19 +pkg debug/elf, const R_RISCV_CALL_PLT R_RISCV +pkg debug/elf, const R_RISCV_COPY = 4 +pkg debug/elf, const R_RISCV_COPY R_RISCV +pkg debug/elf, const R_RISCV_GNU_VTENTRY = 42 +pkg debug/elf, const R_RISCV_GNU_VTENTRY R_RISCV +pkg debug/elf, const R_RISCV_GNU_VTINHERIT = 41 +pkg debug/elf, const R_RISCV_GNU_VTINHERIT R_RISCV +pkg debug/elf, const R_RISCV_GOT_HI20 = 20 +pkg debug/elf, const R_RISCV_GOT_HI20 R_RISCV +pkg debug/elf, const R_RISCV_GPREL_I = 47 +pkg debug/elf, const R_RISCV_GPREL_I R_RISCV +pkg debug/elf, const R_RISCV_GPREL_S = 48 +pkg debug/elf, const R_RISCV_GPREL_S R_RISCV +pkg debug/elf, const R_RISCV_HI20 = 26 +pkg debug/elf, const R_RISCV_HI20 R_RISCV +pkg debug/elf, const R_RISCV_JAL = 17 +pkg debug/elf, const R_RISCV_JAL R_RISCV +pkg debug/elf, const R_RISCV_JUMP_SLOT = 5 +pkg debug/elf, const R_RISCV_JUMP_SLOT R_RISCV +pkg debug/elf, const R_RISCV_LO12_I = 27 +pkg debug/elf, const R_RISCV_LO12_I R_RISCV +pkg debug/elf, const R_RISCV_LO12_S = 28 +pkg debug/elf, const R_RISCV_LO12_S R_RISCV +pkg debug/elf, const R_RISCV_NONE = 0 +pkg debug/elf, const R_RISCV_NONE R_RISCV +pkg debug/elf, const R_RISCV_PCREL_HI20 = 23 +pkg debug/elf, const R_RISCV_PCREL_HI20 R_RISCV +pkg debug/elf, const R_RISCV_PCREL_LO12_I = 24 +pkg debug/elf, const R_RISCV_PCREL_LO12_I R_RISCV +pkg debug/elf, const R_RISCV_PCREL_LO12_S = 25 +pkg debug/elf, const R_RISCV_PCREL_LO12_S R_RISCV +pkg debug/elf, const R_RISCV_RELATIVE = 3 +pkg debug/elf, const R_RISCV_RELATIVE R_RISCV +pkg debug/elf, const R_RISCV_RELAX = 51 +pkg debug/elf, const R_RISCV_RELAX R_RISCV +pkg debug/elf, const R_RISCV_RVC_BRANCH = 44 +pkg debug/elf, const R_RISCV_RVC_BRANCH R_RISCV +pkg debug/elf, const R_RISCV_RVC_JUMP = 45 +pkg debug/elf, const R_RISCV_RVC_JUMP R_RISCV +pkg debug/elf, const R_RISCV_RVC_LUI = 46 +pkg debug/elf, const R_RISCV_RVC_LUI R_RISCV +pkg debug/elf, const R_RISCV_SET16 = 55 +pkg debug/elf, const R_RISCV_SET16 R_RISCV +pkg debug/elf, const R_RISCV_SET32 = 56 +pkg debug/elf, const R_RISCV_SET32 R_RISCV +pkg debug/elf, const R_RISCV_SET6 = 53 +pkg debug/elf, const R_RISCV_SET6 R_RISCV +pkg debug/elf, const R_RISCV_SET8 = 54 +pkg debug/elf, const R_RISCV_SET8 R_RISCV +pkg debug/elf, const R_RISCV_SUB16 = 38 +pkg debug/elf, const R_RISCV_SUB16 R_RISCV +pkg debug/elf, const R_RISCV_SUB32 = 39 +pkg debug/elf, const R_RISCV_SUB32 R_RISCV +pkg debug/elf, const R_RISCV_SUB6 = 52 +pkg debug/elf, const R_RISCV_SUB6 R_RISCV +pkg debug/elf, const R_RISCV_SUB64 = 40 +pkg debug/elf, const R_RISCV_SUB64 R_RISCV +pkg debug/elf, const R_RISCV_SUB8 = 37 +pkg debug/elf, const R_RISCV_SUB8 R_RISCV +pkg debug/elf, const R_RISCV_TLS_DTPMOD32 = 6 +pkg debug/elf, const R_RISCV_TLS_DTPMOD32 R_RISCV +pkg debug/elf, const R_RISCV_TLS_DTPMOD64 = 7 +pkg debug/elf, const R_RISCV_TLS_DTPMOD64 R_RISCV +pkg debug/elf, const R_RISCV_TLS_DTPREL32 = 8 +pkg debug/elf, const R_RISCV_TLS_DTPREL32 R_RISCV +pkg debug/elf, const R_RISCV_TLS_DTPREL64 = 9 +pkg debug/elf, const R_RISCV_TLS_DTPREL64 R_RISCV +pkg debug/elf, const R_RISCV_TLS_GD_HI20 = 22 +pkg debug/elf, const R_RISCV_TLS_GD_HI20 R_RISCV +pkg debug/elf, const R_RISCV_TLS_GOT_HI20 = 21 +pkg debug/elf, const R_RISCV_TLS_GOT_HI20 R_RISCV +pkg debug/elf, const R_RISCV_TLS_TPREL32 = 10 +pkg debug/elf, const R_RISCV_TLS_TPREL32 R_RISCV +pkg debug/elf, const R_RISCV_TLS_TPREL64 = 11 +pkg debug/elf, const R_RISCV_TLS_TPREL64 R_RISCV +pkg debug/elf, const R_RISCV_TPREL_ADD = 32 +pkg debug/elf, const R_RISCV_TPREL_ADD R_RISCV +pkg debug/elf, const R_RISCV_TPREL_HI20 = 29 +pkg debug/elf, const R_RISCV_TPREL_HI20 R_RISCV +pkg debug/elf, const R_RISCV_TPREL_I = 49 +pkg debug/elf, const R_RISCV_TPREL_I R_RISCV +pkg debug/elf, const R_RISCV_TPREL_LO12_I = 30 +pkg debug/elf, const R_RISCV_TPREL_LO12_I R_RISCV +pkg debug/elf, const R_RISCV_TPREL_LO12_S = 31 +pkg debug/elf, const R_RISCV_TPREL_LO12_S R_RISCV +pkg debug/elf, const R_RISCV_TPREL_S = 50 +pkg debug/elf, const R_RISCV_TPREL_S R_RISCV +pkg debug/elf, method (R_RISCV) GoString() string +pkg debug/elf, method (R_RISCV) String() string +pkg debug/elf, type R_RISCV int +pkg debug/macho, const CpuArm64 = 16777228 +pkg debug/macho, const CpuArm64 Cpu +pkg debug/pe, const IMAGE_DIRECTORY_ENTRY_ARCHITECTURE = 7 +pkg debug/pe, const IMAGE_DIRECTORY_ENTRY_ARCHITECTURE ideal-int +pkg debug/pe, const IMAGE_DIRECTORY_ENTRY_BASERELOC = 5 +pkg debug/pe, const IMAGE_DIRECTORY_ENTRY_BASERELOC ideal-int +pkg debug/pe, const IMAGE_DIRECTORY_ENTRY_BOUND_IMPORT = 11 +pkg debug/pe, const IMAGE_DIRECTORY_ENTRY_BOUND_IMPORT ideal-int +pkg debug/pe, const IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR = 14 +pkg debug/pe, const IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR ideal-int +pkg debug/pe, const IMAGE_DIRECTORY_ENTRY_DEBUG = 6 +pkg debug/pe, const IMAGE_DIRECTORY_ENTRY_DEBUG ideal-int +pkg debug/pe, const IMAGE_DIRECTORY_ENTRY_DELAY_IMPORT = 13 +pkg debug/pe, const IMAGE_DIRECTORY_ENTRY_DELAY_IMPORT ideal-int +pkg debug/pe, const IMAGE_DIRECTORY_ENTRY_EXCEPTION = 3 +pkg debug/pe, const IMAGE_DIRECTORY_ENTRY_EXCEPTION ideal-int +pkg debug/pe, const IMAGE_DIRECTORY_ENTRY_EXPORT = 0 +pkg debug/pe, const IMAGE_DIRECTORY_ENTRY_EXPORT ideal-int +pkg debug/pe, const IMAGE_DIRECTORY_ENTRY_GLOBALPTR = 8 +pkg debug/pe, const IMAGE_DIRECTORY_ENTRY_GLOBALPTR ideal-int +pkg debug/pe, const IMAGE_DIRECTORY_ENTRY_IAT = 12 +pkg debug/pe, const IMAGE_DIRECTORY_ENTRY_IAT ideal-int +pkg debug/pe, const IMAGE_DIRECTORY_ENTRY_IMPORT = 1 +pkg debug/pe, const IMAGE_DIRECTORY_ENTRY_IMPORT ideal-int +pkg debug/pe, const IMAGE_DIRECTORY_ENTRY_LOAD_CONFIG = 10 +pkg debug/pe, const IMAGE_DIRECTORY_ENTRY_LOAD_CONFIG ideal-int +pkg debug/pe, const IMAGE_DIRECTORY_ENTRY_RESOURCE = 2 +pkg debug/pe, const IMAGE_DIRECTORY_ENTRY_RESOURCE ideal-int +pkg debug/pe, const IMAGE_DIRECTORY_ENTRY_SECURITY = 4 +pkg debug/pe, const IMAGE_DIRECTORY_ENTRY_SECURITY ideal-int +pkg debug/pe, const IMAGE_DIRECTORY_ENTRY_TLS = 9 +pkg debug/pe, const IMAGE_DIRECTORY_ENTRY_TLS ideal-int +pkg go/ast, type CompositeLit struct, Incomplete bool +pkg go/token, method (*File) AddLineColumnInfo(int, string, int, int) +pkg go/types, func NewInterface2([]*Func, []Type) *Interface +pkg go/types, method (*Interface) EmbeddedType(int) Type +pkg go/types, method (*Var) Embedded() bool +pkg net, method (*ListenConfig) Listen(context.Context, string, string) (Listener, error) +pkg net, method (*ListenConfig) ListenPacket(context.Context, string, string) (PacketConn, error) +pkg net, type Dialer struct, Control func(string, string, syscall.RawConn) error +pkg net, type ListenConfig struct +pkg net, type ListenConfig struct, Control func(string, string, syscall.RawConn) error +pkg net/http, const StatusMisdirectedRequest = 421 +pkg net/http, const StatusMisdirectedRequest ideal-int +pkg os, const ModeIrregular = 524288 +pkg os, const ModeIrregular FileMode +pkg os, const ModeType = 2399666176 +pkg os, func UserCacheDir() string +pkg os/signal, func Ignored(os.Signal) bool +pkg regexp/syntax, method (Op) String() string +pkg runtime/trace, func IsEnabled() bool +pkg runtime/trace, func Log(context.Context, string, string) +pkg runtime/trace, func Logf(context.Context, string, string, ...interface{}) +pkg runtime/trace, func NewTask(context.Context, string) (context.Context, *Task) +pkg runtime/trace, func StartRegion(context.Context, string) *Region +pkg runtime/trace, func WithRegion(context.Context, string, func()) +pkg runtime/trace, method (*Region) End() +pkg runtime/trace, method (*Task) End() +pkg runtime/trace, type Region struct +pkg runtime/trace, type Task struct +pkg syscall (netbsd-386), func Accept4(int, int) (int, Sockaddr, error) +pkg syscall (netbsd-386), func Pipe2([]int, int) error +pkg syscall (netbsd-386-cgo), func Accept4(int, int) (int, Sockaddr, error) +pkg syscall (netbsd-386-cgo), func Pipe2([]int, int) error +pkg syscall (netbsd-amd64), func Accept4(int, int) (int, Sockaddr, error) +pkg syscall (netbsd-amd64), func Pipe2([]int, int) error +pkg syscall (netbsd-amd64-cgo), func Accept4(int, int) (int, Sockaddr, error) +pkg syscall (netbsd-amd64-cgo), func Pipe2([]int, int) error +pkg syscall (netbsd-arm), func Accept4(int, int) (int, Sockaddr, error) +pkg syscall (netbsd-arm), func Pipe2([]int, int) error +pkg syscall (netbsd-arm-cgo), func Accept4(int, int) (int, Sockaddr, error) +pkg syscall (netbsd-arm-cgo), func Pipe2([]int, int) error +pkg syscall (openbsd-386), const SOCK_CLOEXEC = 32768 +pkg syscall (openbsd-386), const SOCK_CLOEXEC ideal-int +pkg syscall (openbsd-386), const SOCK_NONBLOCK = 16384 +pkg syscall (openbsd-386), const SOCK_NONBLOCK ideal-int +pkg syscall (openbsd-386), const SYS_ACCEPT4 = 93 +pkg syscall (openbsd-386), const SYS_ACCEPT4 ideal-int +pkg syscall (openbsd-386), const SYS_PIPE2 = 101 +pkg syscall (openbsd-386), const SYS_PIPE2 ideal-int +pkg syscall (openbsd-386), func Accept4(int, int) (int, Sockaddr, error) +pkg syscall (openbsd-386), func Pipe2([]int, int) error +pkg syscall (openbsd-386-cgo), const SOCK_CLOEXEC = 32768 +pkg syscall (openbsd-386-cgo), const SOCK_CLOEXEC ideal-int +pkg syscall (openbsd-386-cgo), const SOCK_NONBLOCK = 16384 +pkg syscall (openbsd-386-cgo), const SOCK_NONBLOCK ideal-int +pkg syscall (openbsd-386-cgo), const SYS_ACCEPT4 = 93 +pkg syscall (openbsd-386-cgo), const SYS_ACCEPT4 ideal-int +pkg syscall (openbsd-386-cgo), const SYS_PIPE2 = 101 +pkg syscall (openbsd-386-cgo), const SYS_PIPE2 ideal-int +pkg syscall (openbsd-386-cgo), func Accept4(int, int) (int, Sockaddr, error) +pkg syscall (openbsd-386-cgo), func Pipe2([]int, int) error +pkg syscall (openbsd-amd64), const SOCK_CLOEXEC = 32768 +pkg syscall (openbsd-amd64), const SOCK_CLOEXEC ideal-int +pkg syscall (openbsd-amd64), const SOCK_NONBLOCK = 16384 +pkg syscall (openbsd-amd64), const SOCK_NONBLOCK ideal-int +pkg syscall (openbsd-amd64), const SYS_ACCEPT4 = 93 +pkg syscall (openbsd-amd64), const SYS_ACCEPT4 ideal-int +pkg syscall (openbsd-amd64), const SYS_PIPE2 = 101 +pkg syscall (openbsd-amd64), const SYS_PIPE2 ideal-int +pkg syscall (openbsd-amd64), func Accept4(int, int) (int, Sockaddr, error) +pkg syscall (openbsd-amd64), func Pipe2([]int, int) error +pkg syscall (openbsd-amd64-cgo), const SOCK_CLOEXEC = 32768 +pkg syscall (openbsd-amd64-cgo), const SOCK_CLOEXEC ideal-int +pkg syscall (openbsd-amd64-cgo), const SOCK_NONBLOCK = 16384 +pkg syscall (openbsd-amd64-cgo), const SOCK_NONBLOCK ideal-int +pkg syscall (openbsd-amd64-cgo), const SYS_ACCEPT4 = 93 +pkg syscall (openbsd-amd64-cgo), const SYS_ACCEPT4 ideal-int +pkg syscall (openbsd-amd64-cgo), const SYS_PIPE2 = 101 +pkg syscall (openbsd-amd64-cgo), const SYS_PIPE2 ideal-int +pkg syscall (openbsd-amd64-cgo), func Accept4(int, int) (int, Sockaddr, error) +pkg syscall (openbsd-amd64-cgo), func Pipe2([]int, int) error +pkg syscall (windows-386), type CertChainPolicyPara struct, ExtraPolicyPara Pointer +pkg syscall (windows-386), type CertChainPolicyStatus struct, ExtraPolicyStatus Pointer +pkg syscall (windows-386), type CertContext struct, CertInfo *CertInfo +pkg syscall (windows-386), type CertInfo struct +pkg syscall (windows-386), type CertRevocationCrlInfo struct +pkg syscall (windows-386), type CertRevocationInfo struct, CrlInfo *CertRevocationCrlInfo +pkg syscall (windows-386), type CertRevocationInfo struct, OidSpecificInfo Pointer +pkg syscall (windows-386), type CertSimpleChain struct, TrustListInfo *CertTrustListInfo +pkg syscall (windows-386), type CertTrustListInfo struct +pkg syscall (windows-386), type Pointer *struct +pkg syscall (windows-amd64), type CertChainPolicyPara struct, ExtraPolicyPara Pointer +pkg syscall (windows-amd64), type CertChainPolicyStatus struct, ExtraPolicyStatus Pointer +pkg syscall (windows-amd64), type CertContext struct, CertInfo *CertInfo +pkg syscall (windows-amd64), type CertInfo struct +pkg syscall (windows-amd64), type CertRevocationCrlInfo struct +pkg syscall (windows-amd64), type CertRevocationInfo struct, CrlInfo *CertRevocationCrlInfo +pkg syscall (windows-amd64), type CertRevocationInfo struct, OidSpecificInfo Pointer +pkg syscall (windows-amd64), type CertSimpleChain struct, TrustListInfo *CertTrustListInfo +pkg syscall (windows-amd64), type CertTrustListInfo struct +pkg syscall (windows-amd64), type Pointer *struct +pkg syscall, const ImplementsGetwd = true +pkg text/template/parse, method (*AssignNode) Copy() Node +pkg text/template/parse, method (*AssignNode) String() string +pkg text/template/parse, method (AssignNode) Position() Pos +pkg text/template/parse, method (AssignNode) Type() NodeType +pkg text/template/parse, type AssignNode struct +pkg text/template/parse, type AssignNode struct, Ident []string +pkg text/template/parse, type AssignNode struct, embedded NodeType +pkg text/template/parse, type AssignNode struct, embedded Pos +pkg text/template/parse, type PipeNode struct, Decl bool +pkg text/template/parse, type PipeNode struct, Vars []*AssignNode ALL TESTS PASSED --- Installed Go for netbsd/amd64 in /public/go Installed commands in /public/go/bin *** You need to add /public/go/bin to your PATH. $ ./race.bash Building Go cmd/dist using /usr/pkg/go. Building Go toolchain1 using /usr/pkg/go. Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1. Building Go toolchain2 using go_bootstrap and Go toolchain1. warning: GOPATH set to GOROOT (/public/go) has no effect Building Go toolchain3 using go_bootstrap and Go toolchain2. warning: GOPATH set to GOROOT (/public/go) has no effect Building packages and commands for netbsd/amd64. warning: GOPATH set to GOROOT (/public/go) has no effect warning: GOPATH set to GOROOT (/public/go) has no effect warning: GOPATH set to GOROOT (/public/go) has no effect warning: GOPATH set to GOROOT (/public/go) has no effect warning: GOPATH set to GOROOT (/public/go) has no effect warning: GOPATH set to GOROOT (/public/go) has no effect ##### Testing packages. warning: GOPATH set to GOROOT (/public/go) has no effect ok archive/tar 0.203s ok archive/zip 0.964s ok bufio 0.663s ok bytes 7.347s ok compress/bzip2 1.112s ok compress/flate 7.625s ok compress/gzip 0.247s ok compress/lzw 0.198s ok compress/zlib 0.690s ok container/heap 0.027s ok container/list 0.012s ok container/ring 0.132s ok context 1.315s ok crypto 0.010s ok crypto/aes 0.066s ok crypto/cipher 0.061s ok crypto/des 0.085s ok crypto/dsa 0.017s ok crypto/ecdsa 1.280s ok crypto/elliptic 0.134s ok crypto/hmac 0.017s ok crypto/md5 0.022s ok crypto/rand 0.787s ok crypto/rc4 1.275s ok crypto/rsa 1.208s ok crypto/sha1 0.023s ok crypto/sha256 0.022s ok crypto/sha512 0.027s ok crypto/subtle 0.022s ok crypto/tls 2.683s ok crypto/x509 3.172s ok database/sql 1.070s ok database/sql/driver 0.016s ok debug/dwarf 0.061s ok debug/elf 0.132s ok debug/gosym 0.325s ok debug/macho 0.017s ok debug/pe 0.031s ok debug/plan9obj 0.019s ok encoding/ascii85 0.028s ok encoding/asn1 0.035s ok encoding/base32 0.098s ok encoding/base64 0.025s ok encoding/binary 0.027s ok encoding/csv 0.052s ok encoding/gob 0.231s ok encoding/hex 0.019s ok encoding/json 16.887s ok encoding/pem 0.126s ok encoding/xml 0.236s ok errors 0.013s ok expvar 0.018s ok flag 0.024s ok fmt 1.751s ok go/ast 0.022s ok go/build 0.734s ok go/constant 0.024s ok go/doc 0.364s ok go/format 0.063s panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x762323] goroutine 8 [running]: testing.tRunner.func1(0xc0000d2300) /public/go/src/testing/testing.go:792 +0x6a7 panic(0x7aa8e0, 0xa49f40) /public/go/src/runtime/panic.go:494 +0x1b9 go/importer.TestFor.func1(0xc0000d2300) /public/go/src/go/importer/importer_test.go:37 +0x73 testing.tRunner(0xc0000d2300, 0xc00000c460) /public/go/src/testing/testing.go:827 +0x163 created by testing.(*T).Run /public/go/src/testing/testing.go:878 +0x651 FAIL go/importer 0.134s ok go/internal/gccgoimporter 0.048s ok go/internal/gcimporter 2.422s ok go/internal/srcimporter 5.557s ok go/parser 0.385s ok go/printer 3.008s ok go/scanner 0.024s ok go/token 0.224s ok go/types 8.815s ok hash 0.019s ok hash/adler32 0.080s ok hash/crc32 0.121s ok hash/crc64 0.036s ok hash/fnv 0.014s ok html 0.014s ok html/template 0.191s ok image 1.450s ok image/color 0.099s ok image/draw 0.775s ok image/gif 4.170s ok image/jpeg 3.237s ok image/png 0.422s ok index/suffixarray 0.071s ok internal/cpu 0.014s ok internal/poll 0.073s ok internal/singleflight 0.034s ok internal/trace 11.963s ok io 0.313s ok io/ioutil 0.017s ok log 0.038s ok log/syslog 1.355s ok math 0.031s ok math/big 11.303s ok math/bits 0.026s ok math/cmplx 0.018s ok math/rand 4.032s ok mime 0.047s ok mime/multipart 6.300s ok mime/quotedprintable 0.820s ok net 7.378s ok net/http 6.990s ok net/http/cgi 0.154s ok net/http/cookiejar 0.034s ok net/http/fcgi 0.027s ok net/http/httptest 0.077s ok net/http/httptrace 0.018s ok net/http/httputil 0.232s ok net/http/internal 0.025s ok net/http/pprof 2.061s ok net/internal/socktest 0.013s ok net/mail 0.021s ok net/rpc 0.077s ok net/rpc/jsonrpc 0.035s ok net/smtp 0.042s ok net/textproto 0.023s ok net/url 0.023s ok os 1.653s ok os/exec 1.711s ok os/signal 5.081s ok os/user 0.011s ok path 0.014s ok path/filepath 0.049s ok reflect 1.079s ok regexp 2.761s ok regexp/syntax 8.580s --- FAIL: TestCgoSignalDeadlock (0.46s) crash_test.go:160: go list -f {{.Stale}} runtime: warning: GOPATH set to GOROOT (/public/go) has no effect false crash_test.go:165: go list -f {{.StaleReason}} runtime: warning: GOPATH set to GOROOT (/public/go) has no effect crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestCrashHandler (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestSimpleDeadlock (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestInitDeadlock (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestLockedDeadlock (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestLockedDeadlock2 (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestGoexitDeadlock (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestStackOverflow (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestThreadExhaustion (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestRecursivePanic (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestGoexitCrash (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestGoNil (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestMainGoroutineID (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestNoHelperGoroutines (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestBreakpoint (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestGoexitInPanic (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestPanicAfterGoexit (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestRecoveredPanicAfterGoexit (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestPanicDeadlockGosched (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestPanicDeadlockSyscall (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestPanicLoop (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestMemPprof (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestPanicRace (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestBadTraceback (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestTimePprof (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestAbort (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestCrashDumpsAllThreads (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestSignalExitStatus (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestSignalIgnoreSIGTRAP (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestSignalDuringExec (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestGcSys (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestGCFairness (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestGCFairness2 (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestNumGoroutine (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestLockOSThreadExit (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestTracebackAncestors (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestLargeStringConcat (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestCgoCrashHandler (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestCgoCheckBytes (0.04s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestCgoExternalThreadSIGPROF (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestCgoExternalThreadSignal (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestCgoTraceback (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestCgoTracebackContext (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestCgoNumGoroutine (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestEnsureDropM (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestCgoTracebackSigpanic (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestCgoLockOSThreadExit (0.04s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestCgoExecSignalMask (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestPanicTraceback (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestCatchPanic (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestCgoExternalThreadPanic (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestCgoPanicDeadlock (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestNetpollDeadlock (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestSigStackSwapping (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestCgoCallbackGC (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. --- FAIL: TestCgoCCodeSIGPROF (0.00s) crash_test.go:170: Stale runtime.a. Run 'go install runtime'. FAIL FAIL runtime 22.359s ok runtime/debug 0.142s ok runtime/internal/atomic 0.151s ok runtime/internal/sys 0.009s ok runtime/pprof 34.300s ok runtime/pprof/internal/profile 0.015s --- FAIL: TestOutput (6.27s) output_test.go:76: failed test case exitcode, expect: exit status 13 got: warning: GOPATH set to GOROOT (/public/go) has no effect ================== WARNING: DATA RACE Write at 0x00c000018128 by goroutine 5: main.main.func1() /tmp/go-build271749368/main.go:7 +0x38 Previous write at 0x00c000018128 by main goroutine: main.main() /tmp/go-build271749368/main.go:10 +0xb5 Goroutine 5 (running) created at: main.main() /tmp/go-build271749368/main.go:6 +0xa7 ================== Found 1 data race(s) exit status 66 NoRaceAtomicAddInt64 . RaceAtomicAddInt64 . NoRaceAtomicAddInt32 . NoRaceAtomicLoadAddInt32 . NoRaceAtomicLoadStoreInt32 . NoRaceAtomicStoreCASInt32 . NoRaceAtomicCASLoadInt32 . NoRaceAtomicCASCASInt32 . NoRaceAtomicCASCASInt32_2 . NoRaceAtomicLoadInt64 . NoRaceAtomicCASCASUInt64 . NoRaceAtomicLoadStorePointer . NoRaceAtomicStoreCASUint64 . RaceAtomicStoreLoad . RaceAtomicLoadStore . RaceAtomicAddLoad . RaceAtomicAddStore . NoRaceAtomicCrash . NoRaceCgoSync . NoRaceChanSync . NoRaceChanSyncRev . NoRaceChanAsync . RaceChanAsyncRev . NoRaceChanAsyncCloseRecv . NoRaceChanAsyncCloseRecv2 . NoRaceChanAsyncCloseRecv3 . NoRaceChanSyncCloseRecv . NoRaceChanSyncCloseRecv2 . NoRaceChanSyncCloseRecv3 . RaceChanSyncCloseSend . RaceChanAsyncCloseSend . RaceChanCloseClose . RaceChanSendLen . RaceChanRecvLen . RaceChanSendSend . NoRaceChanPtr . RaceChanWrongSend . RaceChanWrongClose . RaceChanSendClose . RaceChanSendSelectClose . RaceSelectReadWriteAsync . RaceSelectReadWriteSync . NoRaceSelectReadWriteAsync . RaceChanReadWriteAsync . RaceChanReadWriteSync . NoRaceChanReadWriteAsync . NoRaceProducerConsumerUnbuffered . RaceChanItselfSend . RaceChanItselfRecv . RaceChanItselfNil . RaceChanItselfClose . RaceChanItselfLen . RaceChanItselfCap . RaceChanCloseLen . RaceChanCloseSend . NoRaceChanMutex . NoRaceSelectMutex . RaceChanSem . NoRaceChanWaitGroup . NoRaceBlockedSendSync . NoRaceBlockedSelectSendSync . NoRaceComp . NoRaceComp2 . RaceComp . RaceComp2 . RaceComp3 . RaceCompArray . RaceConv1 . RaceConv2 . RaceConv3 . RaceConv4 . NoRaceCompPtr . NoRaceCompPtr2 . RaceCompPtr . RaceCompPtr2 . NoRaceFin . NoRaceFinGlobal . RaceFin . NoRaceIOFile . NoRaceIOHttp . RaceIssue12664 . RaceIssue12664_2 . RaceIssue12664_3 . RaceIssue12664_4 . RaceMapRW . RaceMapRW2 . RaceMapRWArray . NoRaceMapRR . RaceMapRange . RaceMapRange2 . NoRaceMapRangeRange . RaceMapLen . RaceMapDelete . RaceMapLenDelete . RaceMapVariable . RaceMapVariable2 . RaceMapVariable3 . RaceMapLookupPartKey . RaceMapLookupPartKey2 . RaceMapDeletePartKey . RaceMapInsertPartKey . RaceMapInsertPartVal . RaceMapAssignMultipleReturn . RaceMapBigKeyAccess1 . RaceMapBigKeyAccess2 . RaceMapBigKeyInsert . RaceMapBigKeyDelete . RaceMapBigValInsert . RaceMapBigValAccess1 . RaceMapBigValAccess2 . RaceIntRWGlobalFuncs . RaceIntRWClosures . NoRaceIntRWClosures . RaceInt32RWClosures . NoRaceCase . RaceCaseCondition . RaceCaseCondition2 . RaceCaseBody . NoRaceCaseFallthrough . RaceCaseFallthrough . RaceCaseIssue6418 . RaceCaseType . RaceCaseTypeBody . RaceCaseTypeIssue5890 . NoRaceRange . NoRaceRangeIssue5446 . RaceRange FAILED RaceForInit . NoRaceForInit . RaceForTest . RaceForIncr . NoRaceForIncr . RacePlus . RacePlus2 . NoRacePlus . RaceComplement . RaceDiv . RaceDivConst . RaceMod . RaceModConst . RaceRotate . NoRaceEnoughRegisters . RaceFuncArgument . RaceFuncArgument2 . RaceSprint . RaceArrayCopy . RaceNestedArrayCopy . RaceStructRW . RaceStructFieldRW1 . NoRaceStructFieldRW1 . NoRaceStructFieldRW2 . RaceStructFieldRW2 . RaceStructFieldRW3 . RaceEfaceWW . RaceIfaceWW . RaceIfaceCmp . RaceIfaceCmpNil . RaceEfaceConv . RaceIfaceConv . RaceError . RaceIntptrRW . RaceStringRW . RaceStringPtrRW . RaceFloat64WW . RaceComplex128WW . RaceUnsafePtrRW . RaceFuncVariableRW . RaceFuncVariableWW . RacePanic . NoRaceBlank . RaceAppendRW . RaceAppendLenRW . RaceAppendCapRW . NoRaceFuncArgsRW . RaceFuncArgsRW . RaceCrawl . RaceIndirection . RaceRune . RaceEmptyInterface1 . RaceEmptyInterface2 . RaceTLS . NoRaceHeapReallocation . RaceAnd FAILED RaceAnd2 . NoRaceAnd . RaceOr . RaceOr2 . NoRaceOr . NoRaceShortCalc . NoRaceShortCalc2 . RaceFuncItself FAILED NoRaceFuncUnlock . RaceStructInit . RaceArrayInit . RaceMapInit . RaceMapInit2 . RaceInterCall . RaceInterCall2 . RaceFuncCall . RaceMethodCall . RaceMethodCall2 FAILED RaceMethodValue . RaceMethodValue2 . RaceMethodValue3 . NoRaceMethodValue . RacePanicArg . RaceDeferArg . RaceDeferArg2 . NoRaceAddrExpr . RaceAddrExpr . RaceTypeAssert . RaceBlockAs . RaceBlockCall1 . RaceBlockCall2 . RaceBlockCall3 FAILED RaceBlockCall4 FAILED RaceBlockCall5 . RaceBlockCall6 . RaceSliceSlice . RaceSliceSlice2 . RaceSliceString . RaceSliceStruct . RaceAppendSliceStruct . RaceStructInd . RaceAsFunc1 . RaceAsFunc2 . RaceAsFunc3 FAILED NoRaceAsFunc4 . RaceHeapParam . NoRaceEmptyStruct . RaceNestedStruct . RaceIssue5567 . RaceIssue5654 . NoRaceMethodThunk . RaceMethodThunk . RaceMethodThunk2 . RaceMethodThunk3 . RaceMethodThunk4 . NoRaceTinyAlloc . NoRaceMutex . RaceMutex . RaceMutex2 . NoRaceMutexPureHappensBefore . NoRaceMutexSemaphore . NoRaceMutexExampleFromHtml . RaceMutexOverwrite . RacePool . NoRacePool . RaceReflectRW . RaceReflectWW . RaceReflectCopyWW . RaceUnaddressableMapLen . NoRaceStackPushPop . NoRaceRpcChan . NoRaceReturn . NoRaceForInfiniteLoop . RaceMutexRWMutex . NoRaceRWMutex . RaceRWMutexMultipleReaders . NoRaceRWMutexMultipleReaders . NoRaceRWMutexTransitive . NoRaceSelect1 . NoRaceSelect2 . NoRaceSelect3 . NoRaceSelect4 . NoRaceSelect5 . RaceSelect1 . RaceSelect2 . RaceSelect3 . RaceSelect4 . RaceSelect5 . RaceSliceRW . NoRaceSliceRW . RaceSliceWW . NoRaceArrayWW . RaceArrayWW . NoRaceSliceWriteLen . NoRaceSliceWriteCap . RaceSliceCopyRead . NoRaceSliceWriteCopy . RaceSliceCopyWrite2 . RaceSliceCopyWrite3 . NoRaceSliceCopyRead . RacePointerSliceCopyRead . NoRacePointerSliceWriteCopy . RacePointerSliceCopyWrite2 . NoRacePointerSliceCopyRead . NoRaceSliceWriteSlice2 . RaceSliceWriteSlice . NoRaceSliceWriteSlice . NoRaceSliceLenCap . NoRaceStructSlicesRangeWrite . RaceSliceDifferent . RaceSliceRangeWrite . NoRaceSliceRangeWrite . RaceSliceRangeAppend . NoRaceSliceRangeAppend . RaceSliceVarWrite . RaceSliceVarRead . RaceSliceVarRange . RaceSliceVarAppend . RaceSliceVarCopy . RaceSliceVarCopy2 . RaceSliceAppend . RaceSliceAppendWrite . RaceSliceAppendSlice . RaceSliceAppendSlice2 . RaceSliceAppendString . RacePointerSliceAppend . RacePointerSliceAppendWrite . RacePointerSliceAppendSlice . RacePointerSliceAppendSlice2 . NoRaceSliceIndexAccess . NoRaceSliceIndexAccess2 . RaceSliceIndexAccess . RaceSliceIndexAccess2 . RaceSliceByteToString . RaceSliceRuneToString . RaceConcatString . RaceCompareString . RaceSlice3 . NoRaceCond . RaceCond . RaceAnnounceThreads . NoRaceAfterFunc1 . NoRaceAfterFunc2 . NoRaceAfterFunc3 . RaceAfterFunc3 . RaceGoroutineCreationStack . NoRaceNilMutexCrash . NoRaceWaitGroup . RaceWaitGroup . NoRaceWaitGroup2 . RaceWaitGroupAsMutex . RaceWaitGroupWrongWait . RaceWaitGroupWrongAdd . NoRaceWaitGroupMultipleWait . NoRaceWaitGroupMultipleWait2 . NoRaceWaitGroupMultipleWait3 . RaceWaitGroup2 . NoRaceWaitGroupPanicRecover . NoRaceWaitGroupPanicRecover2 . NoRaceWaitGroupTransitive . NoRaceWaitGroupReuse . NoRaceWaitGroupReuse2 . RaceWaitGroupReuse . NoRaceWaitGroupConcurrentAdd . Passed 340 of 347 tests (97.98%, 0+, 7-) 0 expected failures (0 has not fail) --- FAIL: TestRace (6.87s) FAIL FAIL runtime/race 13.168s ok runtime/trace 24.362s ok sort 1.343s ok strconv 8.290s ok strings 3.942s ok sync 2.126s ok sync/atomic 0.836s ok syscall 0.041s ok testing 2.561s ok testing/quick 0.669s ok text/scanner 0.547s ok text/tabwriter 0.016s ok text/template 1.121s ok text/template/parse 0.065s ok time 5.365s ok unicode 0.018s ok unicode/utf16 0.018s ok unicode/utf8 0.041s ok vendor/golang_org/x/crypto/chacha20poly1305 0.323s ok vendor/golang_org/x/crypto/cryptobyte 0.026s ok vendor/golang_org/x/crypto/curve25519 0.044s ok vendor/golang_org/x/crypto/internal/chacha20 1.138s ok vendor/golang_org/x/crypto/poly1305 0.053s ok vendor/golang_org/x/net/dns/dnsmessage 0.082s ok vendor/golang_org/x/net/http/httpguts 0.010s ok vendor/golang_org/x/net/http/httpproxy 0.013s ok vendor/golang_org/x/net/http2/hpack 0.039s ok vendor/golang_org/x/net/idna 0.014s ok vendor/golang_org/x/net/nettest 2.138s ok vendor/golang_org/x/net/route 0.021s ok vendor/golang_org/x/text/transform 0.010s ok vendor/golang_org/x/text/unicode/norm 0.012s 2018/06/03 23:24:04 Failed: exit status 1 diff --git a/src/cmd/go/internal/work/init.go b/src/cmd/go/internal/work/init.go index 4d3c5cbd17..43b5b49213 100644 --- a/src/cmd/go/internal/work/init.go +++ b/src/cmd/go/internal/work/init.go @@ -43,8 +43,8 @@ func instrumentInit() { fmt.Fprintf(os.Stderr, "-msan is not supported on %s/%s\n", cfg.Goos, cfg.Goarch) os.Exit(2) } - if cfg.BuildRace && (cfg.Goarch != "amd64" || cfg.Goos != "linux" && cfg.Goos != "freebsd" && cfg.Goos != "darwin" && cfg.Goos != "windows") { - fmt.Fprintf(os.Stderr, "go %s: -race is only supported on linux/amd64, freebsd/amd64, darwin/amd64 and windows/amd64\n", flag.Args()[0]) + if cfg.BuildRace && (cfg.Goarch != "amd64" || cfg.Goos != "linux" && cfg.Goos != "freebsd" && cfg.Goos != "netbsd" && cfg.Goos != "darwin" && cfg.Goos != "windows") { + fmt.Fprintf(os.Stderr, "go %s: -race is only supported on linux/amd64, freebsd/amd64, netbsd/amd64, darwin/amd64 and windows/amd64\n", flag.Args()[0]) os.Exit(2) } diff --git a/src/race.bash b/src/race.bash index cafd834777..ca6f82b45c 100755 --- a/src/race.bash +++ b/src/race.bash @@ -9,7 +9,7 @@ set -e function usage { - echo 'race detector is only supported on linux/amd64, freebsd/amd64 and darwin/amd64' 1>&2 + echo 'race detector is only supported on linux/amd64, freebsd/amd64, netbsd/amd64 and darwin/amd64' 1>&2 exit 1 } @@ -30,6 +30,11 @@ case $(uname) in usage fi ;; +"NetBSD") + if [ $(uname -m) != "amd64" ]; then + usage + fi + ;; *) usage ;; diff --git a/src/runtime/cgo/netbsd.go b/src/runtime/cgo/netbsd.go index 2cecd0c57a..74d0aed014 100644 --- a/src/runtime/cgo/netbsd.go +++ b/src/runtime/cgo/netbsd.go @@ -14,6 +14,8 @@ import _ "unsafe" // for go:linkname //go:linkname _environ environ //go:linkname _progname __progname +//go:linkname ___ps_strings __ps_strings var _environ uintptr var _progname uintptr +var ___ps_strings uintptr diff --git a/src/runtime/race/race.go b/src/runtime/race/race.go index 15e20112a8..ac479fd65a 100644 --- a/src/runtime/race/race.go +++ b/src/runtime/race/race.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build race,linux,amd64 race,freebsd,amd64 race,darwin,amd64 race,windows,amd64 +// +build race,linux,amd64 race,freebsd,amd64 race,netbsd,amd64 race,darwin,amd64 race,windows,amd64 package race