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/sys/unix: TimevalToNsec missing on linux arm 32bit #14643
Comments
are you serious, why don't you add
to /unix/syscall_linux_arm.go |
Yes, I'm serious. This is a bug in x/sys/unix. That's why I reported it. I already added it and it compiled and works, but that's just a short-term workaround until the bug gets fixed (hopefully soon, since it's trivial). |
so what is the context of the bug, it is a missing function in the arm version of the package, if you want i can test the fix on my beaglebone anyway that comment was targeted on the comment in 13740e1e5a1ff0a3099bb13455bec9fd25d2027c So why is it not possible to add the function to the platform ? It is exactly the same for all other platforms https://github.com/golang/sys/blob/master/unix/syscall_darwin_arm.go#L22 for example |
Someone probably forgot to add it to syscall_linux_arm.go. |
my guess too is it going to be fixed ? |
Yes. It'll be fixed. No need to worry. |
great, all my worries are gone :) thanks |
Please answer these questions before submitting your issue. Thanks!
go version
)?1.6
go env
)?arm, raspbian (raspberry pi 2)
(Use play.golang.org to provide a runnable example, if possible.)
Tried to install golang.org/x/sys/unix
It doesn't compile, because TimevalToNsec is missing from https://github.com/golang/sys/blob/master/unix/syscall_linux_arm.go
The text was updated successfully, but these errors were encountered: