Please answer these questions before submitting your issue. Thanks!
- What version of Go are you using (
go version)?
go version devel +1e94d79 Tue Aug 16 10:41:53 2016 +0000 linux/amd64
- What operating system and processor architecture are you using (
go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/avd/dev/godev"
GORACE=""
GOROOT="/home/avd/dev/go"
GOTOOLDIR="/home/avd/dev/go/pkg/tool/linux_amd64"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build203275851=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
- What did you do?
go get github.com/prometheus/common/model
- What did you expect to see?
go get downloaded and compiled the package
- What did you see instead?
../../../../../../../github.com/prometheus/common/model/value.go:404: invalid instruction: 00651 (/home/avd/dev/godev/src/github.com/prometheus/common/model/time.go:189) IMULQ $60000000000, AX
../../../../../../../github.com/prometheus/common/model/value.go:404: invalid instruction: 00763 (/home/avd/dev/godev/src/github.com/prometheus/common/model/time.go:187) IMULQ $3600000000000, AX
../../../../../../../github.com/prometheus/common/model/value.go:404: invalid instruction: 00838 (/home/avd/dev/godev/src/github.com/prometheus/common/model/time.go:185) IMULQ $86400000000000, AX
../../../../../../../github.com/prometheus/common/model/value.go:404: invalid instruction: 01166 (/home/avd/dev/godev/src/github.com/prometheus/common/model/time.go:183) IMULQ $604800000000000, AX
go get -u -gcflags="-ssa=0" github.com/prometheus/common/model works good.
Also, if I get the repo with git clone, and then compile with go build -gcflags="-ssa=0", everything works fine.
Please answer these questions before submitting your issue. Thanks!
go version)?go version devel +1e94d79 Tue Aug 16 10:41:53 2016 +0000 linux/amd64go env)?go get github.com/prometheus/common/modelgo getdownloaded and compiled the packagego get -u -gcflags="-ssa=0" github.com/prometheus/common/modelworks good.Also, if I get the repo with
git clone, and then compile withgo build -gcflags="-ssa=0", everything works fine.