gvm2 icon indicating copy to clipboard operation
gvm2 copied to clipboard

Installing go1.6 fails on macos 10.13.2

Open thehappycoder opened this issue 6 years ago • 1 comments

192-168-1-2:app anton$ gvm list

gvm gos (installed)

=> go1.4
   system

192-168-1-2:app anton$ gvm install go1.6.2
Installing go1.6.2...
Copying Go source... (version: go1.6.2)
 * Patching...
 ** Patching skipped (not needed)
 * Compiling...
ERROR: Failed to compile. Check the logs at /Users/anton/.gvm/logs/go-go1.6.2-compile.log
192-168-1-2:app anton$ nano /Users/anton/.gvm/logs/go-go1.6.2-compile.log
192-168-1-2:app anton$ gvm install go1.6
Installing go1.6...
Copying Go source... (version: go1.6)
 * Patching...
 ** Patching skipped (not needed)
 * Compiling...
ERROR: Failed to compile. Check the logs at /Users/anton/.gvm/logs/go-go1.6-compile.log
192-168-1-2:app anton$ cat /Users/anton/.gvm/logs/go-go1.6-compile.log
##### Building Go bootstrap tool.
cmd/dist

##### Building Go toolchain using /Users/anton/.gvm/gos/go1.4.
bootstrap/internal/obj
bootstrap/asm/internal/flags
bootstrap/compile/internal/big
bootstrap/internal/gcprog
bootstrap/internal/obj/arm
bootstrap/internal/obj/arm64
bootstrap/internal/obj/mips
bootstrap/internal/obj/ppc64
bootstrap/internal/obj/x86
bootstrap/asm/internal/lex
bootstrap/link/internal/ld
bootstrap/compile/internal/gc
bootstrap/asm/internal/arch
bootstrap/asm/internal/asm
bootstrap/asm
bootstrap/link/internal/amd64
bootstrap/link/internal/arm
bootstrap/link/internal/arm64
bootstrap/link/internal/mips64
bootstrap/link/internal/ppc64
bootstrap/link/internal/x86
bootstrap/link
bootstrap/compile/internal/amd64
bootstrap/compile/internal/arm
bootstrap/compile/internal/arm64
bootstrap/compile/internal/mips64
bootstrap/compile/internal/ppc64
bootstrap/compile/internal/x86
bootstrap/compile

##### Building go_bootstrap for host, darwin/amd64.
runtime/internal/sys
runtime/internal/atomic
runtime
encoding
errors
internal/race
math
sort
sync/atomic
unicode
unicode/utf16
unicode/utf8
sync
container/heap
internal/singleflight
io
syscall
hash
bytes
strings
hash/adler32
strconv
bufio
path
internal/syscall/windows
internal/syscall/windows/registry
time
reflect
encoding/base64
crypto
regexp/syntax
crypto/sha1
os
regexp
os/signal
path/filepath
encoding/binary
fmt
io/ioutil
os/exec
flag
go/token
log
net/url
text/template/parse
compress/flate
encoding/json
debug/dwarf
go/scanner
go/ast
compress/zlib
text/template
debug/macho
debug/elf
go/parser
go/doc
go/build
cmd/go

##### Building packages and commands for darwin/amd64.
failed MSpanList_Insert 0x5a1000 0x367058c293e1c 0x0 0x0
fatal error: MSpanList_Insert

runtime stack:
runtime.throw(0x3b7080, 0x10)
	/Users/anton/.gvm/gos/go1.6/src/runtime/panic.go:530 +0x90 fp=0x7ffeefbff010 sp=0x7ffeefbfeff8
runtime.(*mSpanList).insert(0x52db88, 0x5a1000)
	/Users/anton/.gvm/gos/go1.6/src/runtime/mheap.go:933 +0x293 fp=0x7ffeefbff040 sp=0x7ffeefbff010
runtime.(*mheap).freeSpanLocked(0x52d380, 0x5a1000, 0x100, 0x0)
	/Users/anton/.gvm/gos/go1.6/src/runtime/mheap.go:809 +0x4be fp=0x7ffeefbff0a8 sp=0x7ffeefbff040
runtime.(*mheap).grow(0x52d380, 0x8, 0x0)
	/Users/anton/.gvm/gos/go1.6/src/runtime/mheap.go:675 +0x2a0 fp=0x7ffeefbff100 sp=0x7ffeefbff0a8
runtime.(*mheap).allocSpanLocked(0x52d380, 0x1, 0x0)
	/Users/anton/.gvm/gos/go1.6/src/runtime/mheap.go:553 +0x4e3 fp=0x7ffeefbff158 sp=0x7ffeefbff100
runtime.(*mheap).alloc_m(0x52d380, 0x1, 0x15, 0x0)
	/Users/anton/.gvm/gos/go1.6/src/runtime/mheap.go:437 +0x119 fp=0x7ffeefbff188 sp=0x7ffeefbff158
runtime.(*mheap).alloc.func1()
	/Users/anton/.gvm/gos/go1.6/src/runtime/mheap.go:502 +0x41 fp=0x7ffeefbff1b8 sp=0x7ffeefbff188
runtime.systemstack(0x7ffeefbff1d8)
	/Users/anton/.gvm/gos/go1.6/src/runtime/asm_amd64.s:307 +0xab fp=0x7ffeefbff1c0 sp=0x7ffeefbff1b8
runtime.(*mheap).alloc(0x52d380, 0x1, 0x10000000015, 0x988ff)
	/Users/anton/.gvm/gos/go1.6/src/runtime/mheap.go:503 +0x63 fp=0x7ffeefbff208 sp=0x7ffeefbff1c0
runtime.(*mcentral).grow(0x52ef80, 0x0)
	/Users/anton/.gvm/gos/go1.6/src/runtime/mcentral.go:209 +0x93 fp=0x7ffeefbff270 sp=0x7ffeefbff208
runtime.(*mcentral).cacheSpan(0x52ef80, 0x529298)
	/Users/anton/.gvm/gos/go1.6/src/runtime/mcentral.go:89 +0x47d fp=0x7ffeefbff2b0 sp=0x7ffeefbff270
runtime.(*mcache).refill(0x59d000, 0x15, 0x7ffeefbff318)
	/Users/anton/.gvm/gos/go1.6/src/runtime/mcache.go:119 +0xcc fp=0x7ffeefbff2e8 sp=0x7ffeefbff2b0
runtime.mallocgc.func2()
	/Users/anton/.gvm/gos/go1.6/src/runtime/malloc.go:642 +0x2b fp=0x7ffeefbff308 sp=0x7ffeefbff2e8
runtime.systemstack(0x7ffeefbff3a8)
	/Users/anton/.gvm/gos/go1.6/src/runtime/asm_amd64.s:307 +0xab fp=0x7ffeefbff310 sp=0x7ffeefbff308
runtime.mallocgc(0x180, 0x375240, 0x0, 0x800000000)
	/Users/anton/.gvm/gos/go1.6/src/runtime/malloc.go:643 +0x869 fp=0x7ffeefbff3e8 sp=0x7ffeefbff310
runtime.newobject(0x375240, 0x5297f0)
	/Users/anton/.gvm/gos/go1.6/src/runtime/malloc.go:781 +0x42 fp=0x7ffeefbff410 sp=0x7ffeefbff3e8
runtime.malg(0x8000, 0x529a60)
	/Users/anton/.gvm/gos/go1.6/src/runtime/proc.go:2634 +0x27 fp=0x7ffeefbff448 sp=0x7ffeefbff410
runtime.mpreinit(0x529fc0)
	/Users/anton/.gvm/gos/go1.6/src/runtime/os1_darwin.go:140 +0x1f fp=0x7ffeefbff460 sp=0x7ffeefbff448
runtime.mcommoninit(0x529fc0)
	/Users/anton/.gvm/gos/go1.6/src/runtime/proc.go:494 +0x105 fp=0x7ffeefbff4a8 sp=0x7ffeefbff460
runtime.schedinit()
	/Users/anton/.gvm/gos/go1.6/src/runtime/proc.go:434 +0x79 fp=0x7ffeefbff4f0 sp=0x7ffeefbff4a8
runtime.rt0_go(0x7ffeefbff520, 0x9, 0x7ffeefbff520, 0x0, 0x9, 0x7ffeefbff720, 0x7ffeefbff75f, 0x7ffeefbff767, 0x7ffeefbff770, 0x7ffeefbff771, ...)
	/Users/anton/.gvm/gos/go1.6/src/runtime/asm_amd64.s:138 +0x132 fp=0x7ffeefbff4f8 sp=0x7ffeefbff4f0

Can't use binary version as it segfaults.

thehappycoder avatar Jan 06 '18 06:01 thehappycoder