diff options
author | Leo Famulari <leo@famulari.name> | 2018-02-22 00:02:08 -0500 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2018-02-26 17:34:14 -0500 |
commit | fcbb8461a4c733cbfb5ba25cb90f97116cf1e8bc (patch) | |
tree | 7124058b882211a2d9a53e4af8052bec3f08810a /gnu/services/pm.scm | |
parent | 13d9794d8fcbe4b1bab0060594f6d52058db0cb0 (diff) | |
download | guix-patches-fcbb8461a4c733cbfb5ba25cb90f97116cf1e8bc.tar guix-patches-fcbb8461a4c733cbfb5ba25cb90f97116cf1e8bc.tar.gz |
gnu: Add go@1.10.
Building Go 1.10 with the Go 1.4 bootstrap, Thread Sanitizer from GCC 5
finds a data race during the the test suite of Go 1.10. With GCC 6, the
race doesn't seem to be present.
.##### ../misc/cgo/testsanitizers
--- FAIL: TestShared (0.03s)
--- FAIL: TestShared/tsan_shared (2.54s)
cshared_test.go:71: `/tmp/guix-build-go-1.10.drv-0/TestShared367937240/tsan_shared` exited with exit status 66
==================
WARNING: ThreadSanitizer: data race (pid=28778)
Write of size 8 at 0x7ffff5495c30 by thread T1:
#0 pthread_attr_getstacksize <null> (tsan_shared+0x00000041be82)
#1 x_cgo_init <null> (libtsan_shared.so+0x00000008aeaf)
#2 runtime.rt0_go /tmp/guix-build-go-1.10.drv-0/go/src/runtime/asm_amd64.s:199 (libtsan_shared.so+0x000000081586)
Previous write of size 8 at 0x7ffff5495c30 by main thread:
#0 <null> <null> (0x000000000001)
Location is stack of thread T1.
Thread T1 (tid=28786, running) created by main thread at:
#0 pthread_create <null> (tsan_shared+0x00000040c794)
#1 _cgo_try_pthread_create <null> (libtsan_shared.so+0x00000008ad70)
#2 x_cgo_sys_thread_create <null> (libtsan_shared.so+0x00000008ab12)
#3 _rt0_amd64_lib /tmp/guix-build-go-1.10.drv-0/go/src/runtime/asm_amd64.s:56 (libtsan_shared.so+0x0000000813b6)
SUMMARY: ThreadSanitizer: data race ??:0 __interceptor_pthread_attr_getstacksize
* gnu/packages/golang.scm (go-1.10): New variable.
(go-1.4)[native-inputs]: Use gcc:lib version 6.
Diffstat (limited to 'gnu/services/pm.scm')
0 files changed, 0 insertions, 0 deletions