<p dir="auto">by <strong>rounin.urashima</strong>:</p>
<pre class="notranslate">What does 'go version' print?

go version devel +8645daeb2f82 Sat Mar 22 17:40:17 2014 -0700 linux/amd64

What steps reproduce the problem?

user1@debian:~$ pwd
/home/user1
user1@debian:~$ hg clone -u release <a href="https://code.google.com/p/go" rel="nofollow">https://code.google.com/p/go</a>
destination directory: go
requesting all changes
adding changesets
adding manifests
adding file changes
added 19526 changesets with 66885 changes to 8712 files (+7 heads)
updating to branch release-branch.go1.2
3817 files updated, 0 files merged, 0 files removed, 0 files unresolved
user1@debian:~$ pwd
/home/user1
user1@debian:~$ cd go
user1@debian:~/go$ ls -rlt
total 88
-rw-r--r--  1 user1 user1 19578 Mar 23 01:22 CONTRIBUTORS
-rw-r--r--  1 user1 user1 13577 Mar 23 01:22 AUTHORS
-rw-r--r--  1 user1 user1     7 Mar 23 01:22 VERSION
-rw-r--r--  1 user1 user1  1112 Mar 23 01:22 README
-rw-r--r--  1 user1 user1  1303 Mar 23 01:22 PATENTS
-rw-r--r--  1 user1 user1  1479 Mar 23 01:22 LICENSE
drwxr-xr-x  2 user1 user1  4096 Mar 23 01:22 api
-rw-r--r--  1 user1 user1  1150 Mar 23 01:22 favicon.ico
drwxr-xr-x  8 user1 user1  4096 Mar 23 01:22 doc
drwxr-xr-x  4 user1 user1  4096 Mar 23 01:22 lib
drwxr-xr-x  3 user1 user1  4096 Mar 23 01:22 include
-rw-r--r--  1 user1 user1    26 Mar 23 01:22 robots.txt
drwxr-xr-x 21 user1 user1  4096 Mar 23 01:22 misc
drwxr-xr-x  7 user1 user1  4096 Mar 23 01:22 src
drwxr-xr-x 16 user1 user1  4096 Mar 23 01:22 test
user1@debian:~/go$ cd src
user1@debian:~/go/src$ hg pull
pulling from <a href="https://code.google.com/p/go" rel="nofollow">https://code.google.com/p/go</a>
searching for changes
no changes found
user1@debian:~/go/src$ hg update tip
note: possible conflict - src/cmd/6l/pass.c was renamed multiple times to:
 src/liblink/obj6.c
 src/liblink/pass.c
1334 files updated, 0 files merged, 63 files removed, 0 files unresolved
user1@debian:~/go/src$ hg identify
8645daeb2f82 tip
user1@debian:~/go/src$ ./all.bash
# Building C bootstrap tool.
cmd/dist

# Building compilers and Go bootstrap tool for host, linux/amd64.
lib9
libbio
libmach
liblink
misc/pprof
cmd/objdump
cmd/prof
cmd/cc
cmd/gc
cmd/6l
cmd/6a
cmd/6c
cmd/6g
pkg/runtime
pkg/errors
pkg/sync/atomic
pkg/sync
pkg/io
pkg/unicode
pkg/unicode/utf8
pkg/unicode/utf16
pkg/bytes
pkg/math
pkg/strings
pkg/strconv
pkg/bufio
pkg/sort
pkg/container/heap
pkg/encoding/base64
pkg/syscall
pkg/time
pkg/os
pkg/reflect
pkg/fmt
pkg/encoding
pkg/encoding/json
pkg/flag
pkg/path/filepath
pkg/path
pkg/io/ioutil
pkg/log
pkg/regexp/syntax
pkg/regexp
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

# Building packages and commands for linux/amd64.
runtime
errors
sync/atomic
unicode
sync
io
unicode/utf8
math
bytes
bufio
syscall
strconv
time
reflect
os
strings
encoding/binary
fmt
sort
hash
crypto
crypto/md5
path/filepath
io/ioutil
debug/dwarf
debug/gosym
flag
debug/elf
debug/macho
debug/pe
log
go/token
cmd/addr2line
go/scanner
go/ast
text/tabwriter
go/parser
go/printer
os/exec
go/format
path
cmd/cgo
cmd/fix
container/heap
encoding
encoding/base64
unicode/utf16
encoding/json
encoding/xml
regexp/syntax
net/url
text/template/parse
regexp
text/template
compress/flate
hash/crc32
compress/gzip
go/doc
container/list
crypto/subtle
crypto/cipher
crypto/aes
crypto/des
go/build
math/rand
crypto/hmac
crypto/rc4
math/big
crypto/sha1
crypto/sha256
encoding/hex
encoding/pem
runtime/cgo
crypto/elliptic
crypto/ecdsa
crypto/rand
crypto/rsa
crypto/dsa
encoding/asn1
net
crypto/x509/pkix
mime
os/signal
runtime/pprof
cmd/gofmt
debug/goobj
cmd/link
crypto/x509
net/textproto
mime/multipart
debug/plan9obj
crypto/tls
cmd/nm
cmd/pack
net/http
cmd/yacc
cmd/go
archive/tar
archive/zip
compress/bzip2
compress/lzw
hash/adler32
compress/zlib
container/ring
crypto/sha512
database/sql/driver
database/sql
encoding/ascii85
encoding/base32
encoding/csv
encoding/gob
expvar
hash/crc64
hash/fnv
html
html/template
image/color
image
image/color/palette
image/draw
image/jpeg
image/gif
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/smtp
os/user
net/rpc/jsonrpc
runtime/debug
runtime/race
testing
testing/iotest
testing/quick
text/scanner

# Testing packages.
?       cmd/addr2line   [no test files]
?       cmd/cgo [no test files]
ok      cmd/fix 0.020s
ok      cmd/go  0.006s
ok      cmd/gofmt   0.027s
ok      cmd/link    0.028s
?       cmd/nm  [no test files]
ok      cmd/pack    0.272s
?       cmd/yacc    [no test files]
ok      archive/tar 0.003s
ok      archive/zip 0.250s
ok      bufio   0.062s
ok      bytes   0.071s
ok      compress/bzip2  0.047s
ok      compress/flate  0.380s
ok      compress/gzip   0.005s
ok      compress/lzw    0.059s
ok      compress/zlib   0.788s
ok      container/heap  0.007s
ok      container/list  0.004s
ok      container/ring  0.028s
?       crypto  [no test files]
ok      crypto/aes  0.030s
ok      crypto/cipher   0.010s
ok      crypto/des  0.007s
ok      crypto/dsa  0.010s
ok      crypto/ecdsa    0.015s
ok      crypto/elliptic 0.024s
ok      crypto/hmac 0.002s
ok      crypto/md5  0.003s
ok      crypto/rand 0.015s
ok      crypto/rc4  0.079s
ok      crypto/rsa  0.128s
ok      crypto/sha1 0.011s
ok      crypto/sha256   0.003s
ok      crypto/sha512   0.011s
ok      crypto/subtle   0.004s
ok      crypto/tls  0.654s
ok      crypto/x509 0.661s
?       crypto/x509/pkix    [no test files]
ok      database/sql    0.058s
ok      database/sql/driver 0.002s
ok      debug/dwarf 0.011s
ok      debug/elf   0.006s
ok      debug/goobj 0.023s
ok      debug/gosym 0.244s
ok      debug/macho 0.002s
ok      debug/pe    0.004s
ok      debug/plan9obj  0.007s
?       encoding    [no test files]
ok      encoding/ascii85    0.012s
ok      encoding/asn1   0.003s
ok      encoding/base32 0.002s
ok      encoding/base64 0.011s
ok      encoding/binary 0.009s
ok      encoding/csv    0.002s
ok      encoding/gob    0.028s
ok      encoding/hex    0.025s
ok      encoding/json   0.101s
ok      encoding/pem    0.002s
ok      encoding/xml    0.007s
ok      errors  0.024s
ok      expvar  0.003s
ok      flag    0.003s
ok      fmt 0.046s
ok      go/ast  0.012s
ok      go/build    0.064s
ok      go/doc  0.073s
ok      go/format   0.005s
ok      go/parser   0.030s
ok      go/printer  0.211s
ok      go/scanner  0.003s
ok      go/token    0.027s
?       hash    [no test files]
ok      hash/adler32    0.054s
ok      hash/crc32  0.002s
ok      hash/crc64  0.009s
ok      hash/fnv    0.016s
ok      html    0.002s
ok      html/template   0.087s
ok      image   0.047s
ok      image/color 0.006s
?       image/color/palette [no test files]
ok      image/draw  0.042s
ok      image/gif   0.030s
ok      image/jpeg  0.137s
ok      image/png   0.018s
ok      index/suffixarray   0.015s
ok      io  0.024s
ok      io/ioutil   0.002s
ok      log 0.008s
ok      log/syslog  2.129s
ok      math    0.003s
ok      math/big    0.136s
ok      math/cmplx  0.004s
ok      math/rand   0.209s
ok      mime    0.003s
ok      mime/multipart  0.168s
ok      net 2.375s
ok      net/http    2.872s
ok      net/http/cgi    0.218s
ok      net/http/cookiejar  0.011s
ok      net/http/fcgi   0.025s
ok      net/http/httptest   0.006s
ok      net/http/httputil   0.008s
?       net/http/pprof  [no test files]
ok      net/mail    0.010s
ok      net/rpc 0.008s
ok      net/rpc/jsonrpc 0.005s
ok      net/smtp    0.019s
ok      net/textproto   0.008s
ok      net/url 0.014s
ok      os  0.387s
ok      os/exec 0.209s
ok      os/signal   0.473s
ok      os/user 0.003s
ok      path    0.002s
ok      path/filepath   0.009s
ok      reflect 0.058s
ok      regexp  0.143s
ok      regexp/syntax   0.395s
ok      runtime 9.211s
?       runtime/cgo [no test files]
ok      runtime/debug   0.004s
ok      runtime/pprof   6.667s
?       runtime/race    [no test files]
ok      sort    0.069s
ok      strconv 0.247s
ok      strings 0.072s
ok      sync    0.055s
ok      sync/atomic 0.047s
ok      syscall 0.016s
ok      testing 2.788s
?       testing/iotest  [no test files]
ok      testing/quick   0.039s
ok      text/scanner    0.018s
ok      text/tabwriter  0.015s
ok      text/template   0.033s
ok      text/template/parse 0.025s
ok      time    2.530s
ok      unicode 0.012s
ok      unicode/utf16   0.008s
ok      unicode/utf8    0.006s
?       unsafe  [no test files]

real    0m42.377s
user    0m52.167s
sys 0m10.585s

# GOMAXPROCS=2 runtime -cpu=1,2,4
ok      runtime 22.263s

# sync -cpu=10
--- FAIL: TestPoolGC-10 (1.06 seconds)
    pool_test.go:97: only 85 out of 100 resources are finalized
FAIL
FAIL    sync    1.090s
user1@debian:~/go/src$ go version
bash: go: command not found
user1@debian:~/go/src$ ~/go/bin/go version
go version devel +8645daeb2f82 Sat Mar 22 17:40:17 2014 -0700 linux/amd64

What happened?
real    0m42.377s
user    0m52.167s
sys 0m10.585s

# GOMAXPROCS=2 runtime -cpu=1,2,4
ok      runtime 22.263s

# sync -cpu=10
--- FAIL: TestPoolGC-10 (1.06 seconds)
    pool_test.go:97: only 85 out of 100 resources are finalized
FAIL
FAIL    sync    1.090s

What should have happened instead?

ALL TESTS PASSED

---

Please provide any additional information below.

System is a Virtual machine, with 1 CPU with 2 cores:

user1@debian:~/go/src$  uname -a
Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64 GNU/Linux</pre>
<p dir="auto">I understand, that this issue/question may be a duplicate. If so, please, remove it.</p>
<p dir="auto">Will there be support for dynamic libraries loading in Go?</p>
<p dir="auto">Regards.</p>