Skip to content

Instantly share code, notes, and snippets.

@kgadek
Created February 13, 2015 20:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kgadek/79f55918a9f94223f9c3 to your computer and use it in GitHub Desktop.
Save kgadek/79f55918a9f94223f9c3 to your computer and use it in GitHub Desktop.
`go` from source (git checkout v1.4.1) on FreeBSD 10.1 @ Raspberry Pi B
[gogs@balrog ~/go/src]$ ./all.bash
# Building C bootstrap tool.
cmd/dist
# Building compilers and Go bootstrap tool for host, freebsd/arm.
lib9
libbio
liblink
cmd/cc
cmd/gc
cmd/5l
cmd/5a
cmd/5c
cmd/5g
runtime
errors
sync/atomic
sync
io
unicode
unicode/utf8
unicode/utf16
bytes
math
strings
strconv
bufio
sort
container/heap
encoding/base64
syscall
time
os
reflect
fmt
encoding
encoding/json
flag
path/filepath
path
io/ioutil
log
regexp/syntax
regexp
go/token
go/scanner
go/ast
go/parser
os/exec
os/signal
net/url
text/template/parse
text/template
go/doc
go/build
cmd/go
# Building packages and commands for freebsd/arm.
runtime
errors
sync/atomic
sync
io
unicode
unicode/utf8
bytes
bufio
math
syscall
time
os
strconv
reflect
fmt
strings
cmd/internal/goobj
encoding/binary
cmd/internal/rsc.io/arm/armasm
cmd/internal/rsc.io/x86/x86asm
debug/dwarf
debug/elf
debug/gosym
debug/macho
debug/pe
debug/plan9obj
sort
regexp/syntax
regexp
text/tabwriter
cmd/internal/objfile
flag
log
cmd/addr2line
hash
crypto
crypto/md5
go/token
path/filepath
go/scanner
go/ast
io/ioutil
go/parser
go/printer
os/exec
cmd/cgo
go/format
path
cmd/fix
container/heap
encoding
encoding/base64
unicode/utf16
encoding/json
encoding/xml
net/url
text/template/parse
text/template
go/doc
go/build
compress/flate
hash/crc32
compress/gzip
container/list
crypto/subtle
crypto/cipher
crypto/aes
crypto/des
math/rand
math/big
crypto/elliptic
encoding/asn1
crypto/ecdsa
crypto/hmac
crypto/rand
crypto/rc4
crypto/rsa
crypto/sha1
crypto/sha256
crypto/dsa
crypto/sha512
crypto/x509/pkix
encoding/hex
encoding/pem
runtime/cgo
net
crypto/x509
crypto/tls
mime
net/textproto
mime/multipart
net/http/internal
net/http
os/signal
cmd/go
runtime/pprof
cmd/gofmt
cmd/nm
cmd/objdump
cmd/pack
cmd/pprof/internal/profile
cmd/pprof/internal/plugin
html
html/template
cmd/pprof/internal/report
cmd/pprof/internal/svg
cmd/pprof/internal/tempfile
cmd/pprof/internal/commands
cmd/pprof/internal/driver
cmd/pprof/internal/fetch
cmd/pprof/internal/symbolizer
cmd/pprof/internal/symbolz
cmd/pprof
cmd/yacc
archive/tar
archive/zip
compress/bzip2
compress/lzw
hash/adler32
compress/zlib
container/ring
database/sql/driver
database/sql
encoding/ascii85
encoding/base32
encoding/csv
encoding/gob
expvar
hash/crc64
hash/fnv
image/color
image
image/color/palette
image/draw
image/gif
image/jpeg
image/png
index/suffixarray
log/syslog
math/cmplx
net/http/cgi
net/http/cookiejar
net/http/fcgi
net/http/httptest
net/http/httputil
net/http/pprof
net/mail
net/rpc
net/rpc/jsonrpc
net/smtp
os/user
runtime/debug
runtime/race
testing
testing/iotest
testing/quick
text/scanner
# Testing packages.
ok cmd/addr2line 12.811s
? cmd/cgo [no test files]
ok cmd/fix 0.402s
ok cmd/go 0.240s
ok cmd/gofmt 1.493s
ok cmd/nm 13.287s
ok cmd/objdump 32.590s
--- FAIL: TestLargeDefs (101.80s)
pack_test.go:313: [go tool 5g large.go]: exit status 1
go tool 5g: signal: killed
FAIL
FAIL cmd/pack 113.146s
? cmd/pprof [no test files]
? cmd/yacc [no test files]
ok archive/tar 0.294s
ok archive/zip 28.670s
ok bufio 8.179s
ok bytes 3.061s
ok cmd/internal/goobj 0.426s
? cmd/internal/objfile [no test files]
? cmd/pprof/internal/commands [no test files]
? cmd/pprof/internal/driver [no test files]
? cmd/pprof/internal/fetch [no test files]
? cmd/pprof/internal/plugin [no test files]
? cmd/pprof/internal/profile [no test files]
? cmd/pprof/internal/report [no test files]
? cmd/pprof/internal/svg [no test files]
? cmd/pprof/internal/symbolizer [no test files]
? cmd/pprof/internal/symbolz [no test files]
? cmd/pprof/internal/tempfile [no test files]
ok compress/bzip2 2.688s
ok compress/flate 18.570s
ok compress/gzip 0.194s
ok compress/lzw 1.738s
ok compress/zlib 30.923s
ok container/heap 0.069s
ok container/list 0.059s
ok container/ring 0.260s
? crypto [no test files]
ok crypto/aes 0.971s
ok crypto/cipher 0.105s
ok crypto/des 0.356s
ok crypto/dsa 0.235s
ok crypto/ecdsa 0.593s
ok crypto/elliptic 1.116s
ok crypto/hmac 0.071s
ok crypto/md5 0.092s
ok crypto/rand 0.300s
ok crypto/rc4 2.035s
ok crypto/rsa 5.371s
ok crypto/sha1 0.079s
ok crypto/sha256 0.089s
ok crypto/sha512 0.153s
ok crypto/subtle 0.182s
ok crypto/tls 46.884s
ok crypto/x509 48.929s
? crypto/x509/pkix [no test files]
ok database/sql 0.873s
ok database/sql/driver 0.057s
ok debug/dwarf 0.266s
ok debug/elf 0.394s
ok debug/gosym 0.064s
ok debug/macho 0.805s
ok debug/pe 0.903s
ok debug/plan9obj 0.068s
? encoding [no test files]
ok encoding/ascii85 0.091s
ok encoding/asn1 0.309s
ok encoding/base32 1.275s
ok encoding/base64 0.119s
ok encoding/binary 0.146s
ok encoding/csv 0.117s
ok encoding/gob 7.595s
ok encoding/hex 0.138s
ok encoding/json 11.774s
ok encoding/pem 0.082s
ok encoding/xml 0.387s
ok errors 0.095s
ok expvar 0.120s
ok flag 0.087s
ok fmt 1.309s
ok go/ast 0.169s
ok go/build 6.666s
ok go/doc 2.424s
ok go/format 0.255s
ok go/parser 3.313s
ok go/printer 17.077s
ok go/scanner 0.107s
ok go/token 1.013s
? hash [no test files]
ok hash/adler32 0.158s
ok hash/crc32 0.064s
ok hash/crc64 0.095s
ok hash/fnv 0.064s
ok html 0.118s
ok html/template 1.112s
ok image 2.155s
ok image/color 0.133s
? image/color/palette [no test files]
ok image/draw 1.938s
ok image/gif 1.291s
ok image/jpeg 55.825s
ok image/png 0.960s
ok index/suffixarray 0.231s
ok io 0.347s
ok io/ioutil 0.082s
ok log 0.168s
ok log/syslog 2.671s
--- FAIL: TestFrexp (0.01s)
all_test.go:2083: Frexp(0) = 0, 0, want 0.9999999999999998, -1022
all_test.go:2083: Frexp(0) = 0, 0, want 0.5, -1073
all_test.go:2083: Frexp(0) = 0, 0, want -0.9999999999999998, -1022
all_test.go:2083: Frexp(0) = 0, 0, want -0.5, -1073
--- FAIL: TestIlogb (0.00s)
all_test.go:2145: Ilogb(0) = -2147483648, want -1023
all_test.go:2145: Ilogb(0) = -2147483648, want -1074
all_test.go:2145: Ilogb(0) = -2147483648, want -1023
all_test.go:2145: Ilogb(0) = -2147483648, want -1074
--- FAIL: TestLdexp (0.01s)
all_test.go:2206: Ldexp(0.9999999999999998, -1022) = 2.225073858507201e-308, want 0
all_test.go:2206: Ldexp(0.5, -1073) = 5e-324, want 0
all_test.go:2206: Ldexp(-0.9999999999999998, -1022) = -2.225073858507201e-308, want 0
all_test.go:2206: Ldexp(-0.5, -1073) = -5e-324, want 0
all_test.go:2206: Ldexp(2.2250738585072014e-308, -52) = 5e-324, want 0
all_test.go:2206: Ldexp(0, 1074) = 0, want 1
all_test.go:2206: Ldexp(1.7976931348623157e+308, -2097) = 1e-323, want 0
--- FAIL: TestLogb (0.00s)
all_test.go:2266: Logb(0) = -Inf, want -1023
all_test.go:2266: Logb(0) = -Inf, want -1074
all_test.go:2266: Logb(0) = -Inf, want -1023
all_test.go:2266: Logb(0) = -Inf, want -1074
--- FAIL: TestNextafter32 (0.00s)
all_test.go:2352: Nextafter32(0, -1) = -1e-45 want 0
all_test.go:2352: Nextafter32(-0, 1) = 1e-45 want 0
all_test.go:2352: Nextafter32(-0, -1) = -1e-45 want 0
--- FAIL: TestNextafter64 (0.00s)
all_test.go:2365: Nextafter64(0, -1) = -5e-324 want 0
all_test.go:2365: Nextafter64(-0, 1) = 5e-324 want 0
all_test.go:2365: Nextafter64(-0, -1) = -5e-324 want 0
--- FAIL: TestFloatMinMax (0.00s)
all_test.go:2628: Sprint(SmallestNonzeroFloat64) = 0, want 5e-324
all_test.go:2628: Sprint(SmallestNonzeroFloat32) = 0, want 1e-45
FAIL
FAIL math 1.559s
ok math/big 12.148s
ok math/cmplx 0.282s
panic: test timed out after 6m0s
goroutine 13 [running]:
testing.func·008()
/home/gogs/go/src/testing/testing.go:681 +0x11c
created by time.goFunc
/home/gogs/go/src/time/sleep.go:129 +0x50
goroutine 1 [chan receive, 3 minutes]:
testing.RunTests(0x172294, 0x1d4378, 0x8, 0x8, 0x1d101)
/home/gogs/go/src/testing/testing.go:556 +0x814
testing.(*M).Run(0x302f4180, 0x1d41d0)
/home/gogs/go/src/testing/testing.go:485 +0x74
main.main()
math/rand/_test/_testmain.go:90 +0x1b4
goroutine 12 [runnable]:
math/rand.(*Rand).Float32(0x302de1f0, 0x3f64b15c)
/home/gogs/go/src/math/rand/rand.go:131
math/rand.TestFloat32(0x3030e1e0)
/home/gogs/go/src/math/rand/rand_test.go:329 +0xb0
testing.tRunner(0x3030e1e0, 0x1d43c0)
/home/gogs/go/src/testing/testing.go:447 +0xf4
created by testing.RunTests
/home/gogs/go/src/testing/testing.go:555 +0x7e0
FAIL math/rand 360.178s
ok mime 0.240s
ok mime/multipart 5.799s
go build net: /home/gogs/go/pkg/tool/freebsd_arm/5g: signal: killed
FAIL net [build failed]
ok net/http 52.303s
ok net/http/cgi 10.990s
ok net/http/cookiejar 0.226s
ok net/http/fcgi 0.129s
ok net/http/httptest 0.157s
ok net/http/httputil 0.272s
ok net/http/internal 0.078s
? net/http/pprof [no test files]
ok net/mail 0.118s
ok net/rpc 0.468s
ok net/rpc/jsonrpc 0.241s
ok net/smtp 0.950s
ok net/textproto 0.107s
ok net/url 0.171s
ok os 8.574s
ok os/exec 4.309s
ok os/signal 3.337s
ok os/user 0.093s
ok path 0.075s
ok path/filepath 1.439s
ok reflect 2.451s
ok regexp 4.345s
ok regexp/syntax 8.602s
ok runtime 329.132s
? runtime/cgo [no test files]
ok runtime/debug 0.179s
ok runtime/pprof 23.020s
? runtime/race [no test files]
ok sort 1.307s
--- FAIL: TestFtoa (0.01s)
ftoa_test.go:134: testN=64 0 g -1 want 2.225073858507201e-308 got 0
ftoa_test.go:134: AppendFloat testN=64 0 g -1 want abc2.225073858507201e-308 got abc0
ftoa_test.go:134: testN=32 0 g -1 want 2.225073858507201e-308 got 0
ftoa_test.go:151: AppendFloat testN=32 0 g -1 want abc2.225073858507201e-308 got abc0
FAIL
FAIL strconv 9.752s
ok strings 2.253s
ok sync 1.190s
ok sync/atomic 10.929s
ok syscall 1.286s
ok testing 1.676s
? testing/iotest [no test files]
ok testing/quick 2.205s
ok text/scanner 0.137s
ok text/tabwriter 0.122s
ok text/template 0.951s
ok text/template/parse 0.260s
ok time 10.434s
ok unicode 0.079s
ok unicode/utf16 0.067s
ok unicode/utf8 0.518s
? unsafe [no test files]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment