FAQ
Change 03190651924e broke the linux-386 build:
http://build.golang.org/log/6df955463e09eaf7c710d04545c0b1d0025738b2

pkg/syscall: Plan 9, 64-bit: Update error checks from sys calls.

This change updates CL 6576057 for exceptional cases where
return values from Syscall/RawSyscall functions are used.

The system calls return 32-bit integers. With the recent change
in size of `int' in Go for amd64, the type conversion was not
catching `-1' return values. This change makes the conversion
explicitly `int32'.

R=rsc, r
CC=golang-dev
http://codereview.appspot.com/6590047

Committer: Rob Pike <r@golang.org>

http://code.google.com/p/go/source/detail?r=03190651924e

$ tail -200 < log
exp/ebnflint
exp/types
exp/gotype
exp/html/atom
exp/html
exp/inotify
exp/norm
exp/locale/collate
hash/fnv
exp/locale/collate/build
exp/locale/collate/tools/colcmp
exp/types/staging
exp/utf8string
hash/crc64
image/color
image
image/draw
image/gif
image/jpeg
image/png
log/syslog
math/cmplx
net/http/cgi
net/http/fcgi
net/http/httptest
net/http/httputil
net/mail
net/rpc
net/rpc/jsonrpc
net/smtp
old/netchan
os/signal
os/user
testing
testing/iotest
testing/quick

# Testing packages.
ok cmd/api 0.013s
? cmd/cgo [no test files]
ok cmd/fix 1.303s
ok cmd/go 0.017s
? cmd/godoc [no test files]
ok cmd/gofmt 0.041s
? cmd/vet [no test files]
? cmd/yacc [no test files]
ok archive/tar 0.008s
ok archive/zip 0.054s
ok bufio 0.049s
ok bytes 0.144s
ok compress/bzip2 0.100s
ok compress/flate 0.968s
ok compress/gzip 0.010s
ok compress/lzw 0.132s
ok compress/zlib 1.838s
ok container/heap 0.007s
ok container/list 0.007s
ok container/ring 0.017s
? crypto [no test files]
ok crypto/aes 0.032s
ok crypto/cipher 0.009s
ok crypto/des 0.042s
ok crypto/dsa 0.021s
ok crypto/ecdsa 0.052s
ok crypto/elliptic 0.020s
ok crypto/hmac 0.010s
ok crypto/md5 0.007s
ok crypto/rand 0.037s
ok crypto/rc4 0.007s
ok crypto/rsa 0.313s
ok crypto/sha1 0.008s
ok crypto/sha256 0.010s
ok crypto/sha512 0.014s
ok crypto/subtle 0.011s
ok crypto/tls 0.379s
ok crypto/x509 1.399s
? crypto/x509/pkix [no test files]
ok database/sql 0.013s
ok database/sql/driver 0.007s
ok debug/dwarf 0.010s
ok debug/elf 0.011s
ok debug/gosym 0.007s
ok debug/macho 0.008s
ok debug/pe 0.011s
ok encoding/ascii85 0.007s
ok encoding/asn1 0.010s
ok encoding/base32 0.008s
ok encoding/base64 0.008s
ok encoding/binary 0.008s
ok encoding/csv 0.008s
ok encoding/gob 0.032s
ok encoding/hex 0.007s
ok encoding/json 0.054s
ok encoding/pem 0.010s
ok encoding/xml 0.015s
ok errors 0.007s
ok exp/ebnf 0.008s
ok exp/ebnflint 0.010s
ok exp/gotype 0.451s
ok exp/html 0.116s
ok exp/html/atom 0.007s
ok exp/inotify 1.008s
ok exp/locale/collate 0.028s
ok exp/locale/collate/build 0.011s
? exp/locale/collate/tools/colcmp [no test files]
ok exp/norm 1.230s
ok exp/types 0.063s
ok exp/types/staging 0.025s
ok exp/utf8string 0.007s
ok expvar 0.013s
ok flag 0.007s
ok fmt 0.048s
ok go/ast 0.012s
ok go/build 0.130s
ok go/doc 0.051s
ok go/parser 0.039s
ok go/printer 0.298s
ok go/scanner 0.009s
ok go/token 0.042s
? hash [no test files]
ok hash/adler32 0.024s
ok hash/crc32 0.007s
ok hash/crc64 0.007s
ok hash/fnv 0.006s
ok html 0.008s
ok html/template 0.051s
ok image 0.121s
ok image/color 0.015s
ok image/draw 0.036s
? image/gif [no test files]
ok image/jpeg 0.114s
ok image/png 0.064s
ok index/suffixarray 0.013s
ok io 0.022s
ok io/ioutil 0.007s
ok log 0.008s
ok log/syslog 0.411s
ok math 0.009s
ok math/big 0.311s
ok math/cmplx 0.007s
ok math/rand 0.046s
ok mime 0.007s
ok mime/multipart 0.158s
ok net 0.848s
ok net/http 2.932s
ok net/http/cgi 0.246s
ok net/http/fcgi 0.013s
ok net/http/httptest 0.014s
ok net/http/httputil 0.019s
? net/http/pprof [no test files]
ok net/mail 0.009s
ok net/rpc 0.043s
ok net/rpc/jsonrpc 0.016s
ok net/smtp 0.011s
ok net/textproto 0.009s
ok net/url 0.008s
ok old/netchan 0.016s
ok os 0.015s
ok os/exec 0.403s
ok os/signal 0.007s
ok os/user 0.008s
ok path 0.008s
ok path/filepath 0.124s
ok reflect 0.023s
ok regexp 0.083s
ok regexp/syntax 1.787s
ok runtime 1.108s
? runtime/cgo [no test files]
ok runtime/debug 0.007s
ok runtime/pprof 0.625s
ok sort 0.082s
ok strconv 0.960s
ok strings 0.133s
ok sync 0.050s
ok sync/atomic 0.024s
ok syscall 0.016s
? testing [no test files]
? testing/iotest [no test files]
ok testing/quick 0.030s
ok text/scanner 0.009s
ok text/tabwriter 0.009s
ok text/template 0.023s
ok text/template/parse 0.012s
ok time 2.603s
ok unicode 0.008s
ok unicode/utf16 0.008s
ok unicode/utf8 0.012s
? unsafe [no test files]

real 2m1.169s
user 1m34.422s
sys 0m18.373s

# GOMAXPROCS=2 runtime -cpu=1,2,4
--- FAIL: TestGcSys-4 (0.10 seconds)
gc_test.go:36: used 18874368 extra bytes
gc_test.go:38: using too much memory: 18874368 bytes
FAIL
FAIL runtime 5.848s

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedOct 1, '12 at 12:27a
activeOct 1, '12 at 12:27a
posts1
users1
websitegolang.org

1 user in discussion

Builder: 1 post

People

Translate

site design / logo © 2022 Grokbase