On ArchLinux with a previously gcc built go binary in go1.7rc5:
Linux blah 4.6.4-1-ARCH #1 SMP PREEMPT Mon Jul 11 19:12:32 CEST 2016 x86_64
GNU/Linux
with the latest:
llvm llvm-libs lldb clang clang-tools-extra
go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="li
go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/root/SQstuff/Code"
GORACE=""
GOROOT="/root/SQstuff/go1.7rc6clang"
GOTOOLDIR="/root/SQstuff/go1.7rc6clang/pkg/tool/linux_amd64"
CC="/usr/bin/clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics