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

Can't compile with Go 1.22rc1: undefined: goready, ... #310

Closed
AkihiroSuda opened this issue Jan 15, 2024 · 0 comments · Fixed by #311
Closed

Can't compile with Go 1.22rc1: undefined: goready, ... #310

AkihiroSuda opened this issue Jan 15, 2024 · 0 comments · Fixed by #311

Comments

@AkihiroSuda
Copy link
Contributor

The latest release v0.7.1 and the current main (3cb88d9) cannot be compiled with Go 1.22rc1

$ go build ./...
# gvisor.dev/gvisor/pkg/sync
vendor/gvisor.dev/gvisor/pkg/sync/gate_unsafe.go:114:3: undefined: goready
vendor/gvisor.dev/gvisor/pkg/sync/gate_unsafe.go:144:2: undefined: gopark
vendor/gvisor.dev/gvisor/pkg/sync/rwmutex_unsafe.go:76:3: undefined: semacquire
vendor/gvisor.dev/gvisor/pkg/sync/rwmutex_unsafe.go:102:4: undefined: semrelease
vendor/gvisor.dev/gvisor/pkg/sync/rwmutex_unsafe.go:152:3: undefined: semacquire
vendor/gvisor.dev/gvisor/pkg/sync/rwmutex_unsafe.go:179:3: undefined: semrelease
vendor/gvisor.dev/gvisor/pkg/sync/rwmutex_unsafe.go:207:3: undefined: semrelease
vendor/gvisor.dev/gvisor/pkg/sync/seqcount.go:87:6: undefined: canSpin
vendor/gvisor.dev/gvisor/pkg/sync/seqcount.go:89:4: undefined: doSpin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant