Skip to content
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

x/crypto: undefined: cpu.IsBigEndian #70010

Closed
lomins opened this issue Oct 23, 2024 · 4 comments
Closed

x/crypto: undefined: cpu.IsBigEndian #70010

lomins opened this issue Oct 23, 2024 · 4 comments
Labels
WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Milestone

Comments

@lomins
Copy link

lomins commented Oct 23, 2024

Go version

go version go1.22.0 linux/amd64

Output of go env in your module/workspace:

GO111MODULE='on'
GOARCH='amd64'
GOBIN=''
GOCACHE='/home/lomins/.cache/go-build'
GOENV='/home/lomins/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/home/lomins/goproject/pkg/mod'
GONOPROXY=...
GONOSUMDB=...
GOOS='linux'
GOPATH='/home/lomins/goproject'
GOPRIVATE=...
GOPROXY='direct'
GOROOT='/usr/local/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.22.0'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/home/lomins/vkjob/integrator/go.mod'
GOWORK='/home/lomins/vkjob/integrator/go.work'
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build2834342719=/tmp/go-build -gno-record-gcc-switches'

What did you do?

+ go run main.go -c config/ -e prod -wp 8081
# golang.org/x/crypto/sha3
../../goproject/pkg/mod/golang.org/x/[email protected]/sha3/xor.go:17:9: undefined: cpu.IsBigEndian
../../goproject/pkg/mod/golang.org/x/[email protected]/sha3/xor.go:31:9: undefined: cpu.IsBigEndian

What did you see happen?

dont working

What did you expect to see?

working :)

@gopherbot gopherbot added this to the Unreleased milestone Oct 23, 2024
@lomins lomins changed the title x/crypto:: issue title x/crypto:: undefined: cpu.IsBigEndian Oct 23, 2024
@lomins lomins changed the title x/crypto:: undefined: cpu.IsBigEndian x/crypto: undefined: cpu.IsBigEndian Oct 23, 2024
@ianlancetaylor
Copy link
Member

What does your go.mod file say about the golang.org/x/sys package?

I can't recreate this problem.

@seankhliao seankhliao added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Oct 23, 2024
@lomins
Copy link
Author

lomins commented Oct 24, 2024

What does your go.mod file say about the golang.org/x/sys package?

I can't recreate this problem.

this particular mod file contains

image

@seankhliao
Copy link
Member

that's too old, go mod tidy should force you to upgrade it.

@seankhliao seankhliao closed this as not planned Won't fix, can't repro, duplicate, stale Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

5 participants