-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build no such instruction:
error
#76
Comments
hi, i got the same error, when i run
Thanks for issues opened, need you help, thank you |
And i am using |
Hi both, Sorry for the delayed answer. It looks similar to facebook/zstd#1283 Would you mind posting your gcc & g++ version you are compiling with ? The answer to this is probably going to be similar to facebook/zstd#1283 (comment) |
well, they are |
Have read that, if it were |
I have same issue when use docker library/golang:1.16.9-alpine image to build, anything i can do to resolve this issue? |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.13.4 linux/amd64
What operating system and processor architecture are you using (
go env
)?GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOENV="/root/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/root/go:/data/projects/go/"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build896654248=/tmp/go-build -gno-record-gcc-switches"
What did you do?
go build
If possible, provide a recipe for reproducing the error.
If you have issues building, please parse the output of
go build -x
What did you expect to see?
github.com/DataDog/zstd
/tmp/cc4tDPwc.s: Assembler messages:
/tmp/cc4tDPwc.s:726: Error: no such instruction:
shlx %r10,%r9,%r10' /tmp/cc4tDPwc.s:746: Error: no such instruction:
shlx %r9,%rax,%rax'/tmp/cc4tDPwc.s:797: Error: no such instruction:
shrx %r9,%rax,%r9' /tmp/cc4tDPwc.s:901: Error: no such instruction:
shlx %rcx,%r14,%rcx'/tmp/cc4tDPwc.s:910: Error: no such instruction:
shlx %rax,%r15,%rax' /tmp/cc4tDPwc.s:933: Error: no such instruction:
shlx %rbx,%rcx,%rbx'/tmp/cc4tDPwc.s:958: Error: no such instruction:
shlx %r10,%rcx,%rcx' /tmp/cc4tDPwc.s:1030: Error: no such instruction:
shrx %r9,%rax,%r9'/tmp/cc4tDPwc.s:1046: Error: no such instruction: `shlx %rax,%rdx,%rax'
FAIL github.com/DataDog/zstd [build failed]
What did you see instead?
The text was updated successfully, but these errors were encountered: