-
Notifications
You must be signed in to change notification settings - Fork 5
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
Go 1.17: ostime / runtime.walltime linking error #4
Comments
Me too.
|
In Golang 1.17 change |
…ix #4 due to the refactoring of runtime.walltime in Go 1.17. The change should be BC since runtime.walltime has been available in Go versions prior to 1.17 as a stub function over walltime1.
Apologies for taking so long - and thanks for both reporting and looking into it! This ended up being less trivial than I hoped. Linking against The fixes are tagged and released as 1.2.1. CI reports them as green on both 1.14 and 1.17 on all tested platforms so hopefully this will properly slip through as a minor release without breakage. -- @azhai, @npaton: |
Hi there,
first of all, many thanks for this great piece of work!
I'm trying to run the latest release 1.2.0 on OSX 11.5.2 with Go 1.17.1 but tests and builds fail with the error
github.com/muyo/sno.snotime: relocation target runtime.walltime1 not defined
respectivly/Users/dm/go/pkg/mod/github.com/muyo/sno@v1.2.0/internal/time.go:36: undefined reference to runtime.walltime1'
.I'm not sure if this is an issue with sno or something has changed in the recent go versions, but it works by linking ostime to runtime.walltime instead of walltime1.
Cheers
David
The text was updated successfully, but these errors were encountered: