Hi All, I am facing issues while compiling go1.7 from src code. I am trying to install go1.7 on OpenBSD 5.9. I am facing below issues.
--- FAIL: TestGoroutineParallelism2 (0.34s) panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x63cedf] - - -FAIL runtime 5.450s 2017/02/08 18:48:26 Failed: exit status 1 Below is the procedure I followed I followed the official go document Step 1: I have set GOPATH to $HOME/gopath Step 2: I have fetched the go repo Step 3: checked out with 1.7.5 Step 4: Executed *./all.bash* from src directory At this point I faced issue: ./all.bash Buildling Go bootstrap tool cmd/dist ERROR: Cannot find /root/go1.4/bin/go. Set $GOROOT_BOOTSTRAP to a working Go tree >= Go 1.4. then exported "GOROOT_BOOTSTRAP=/usr/local/go" Again Executed " ./all.bash " it ran for a while smoothly and exited with exit code 1 Below are some output as the output is very huge, couldn't paste everything here ------------------------------ export GOROOT_BOOTSTRAP=/usr/local/go ./all.bash Buildling Go bootstrap tool cmd/dist Building Go toolchain using /usr/local/go bootstrap/cmd/internal/dwarf bootstrap/cmd/internal/src bootstrap/cmd/internal/sys ------------------------------ Building go_bootstrap for host, openbsd/amd64. runtime/internal/sys runtime/internal/atomic runtime unicode internal/race sync/atomic encoding unicode/utf8 ------------------------------ Building packages and commands for openbsd/amd64. runtime/internal/sys runtime/internal/atomic runtime errors internal/race sync/atomic ------------------------------ Testing packages. ok archive/tar 0.079s ok archive/zip 1.576s ok bufio 0.099s ok bytes 0.412s ok compress/bzip2 0.286s ok compress/flate 2.769s ok compress/gzip 0.123s *--- FAIL: TestGoroutineParallelism2 (0.34s)panic: runtime error: invalid memory address or nil pointer dereference [recovered]panic: runtime error: invalid memory address or nil pointer dereference[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x63cedf]- - -FAIL runtime 5.450s2017/02/08 18:48:26 Failed: exit status 1* ------------------------------ Did I do anything wrong! Can anyone help me. I have tried repeatedly but I couldn't install Go1.7 on OpenBSD 5.9. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.