guix-devel/gnu
Leo Famulari fcbb8461a4
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.
2018-02-26 17:34:14 -05:00
..
bootloader gnu: Pass "--target=i386-pc" when installing GRUB for legacy BIOS. 2018-02-18 12:28:56 +01:00
build marionette: Use QEMU's "VM channel" mechanism. 2018-02-19 22:04:11 +01:00
packages gnu: Add go@1.10. 2018-02-26 17:34:14 -05:00
services services: certbot: Allow to set a deploy hook. 2018-02-22 21:43:54 +01:00
system Merge branch 'master' into core-updates 2018-02-16 13:14:26 -05:00
tests tests: Remove outdated comment. 2018-02-19 22:04:11 +01:00
artwork.scm
bootloader.scm
local.mk gnu: python-parse: Update to 1.8.2. 2018-02-26 02:39:15 +01:00
packages.scm
services.scm
system.scm
tests.scm marionette: Use QEMU's "VM channel" mechanism. 2018-02-19 22:04:11 +01:00