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
gor on arm64: undefined: unix.SYS_POLL #1034
Comments
Hi, I changed the Syscall from unix.SYS_POLL to unix.SYS_PPOLL and at least I'm able to compile gor on a Ubuntu 20.04 aarch64 machine. Doing the test from your tutorial was also possible, so basically it's working. But I'm not sure if there are any downsides. Greetings, |
Ran into this same issue while trying to build an arm64 container for goreplay. |
jauderho
added a commit
to jauderho/dockerfiles
that referenced
this issue
Jan 19, 2022
Remove ARM for now. Issue at buger/goreplay#1034
avdv
added a commit
to avdv/goreplay
that referenced
this issue
Nov 8, 2022
The former works on all unix systems, the latter does not since `unix.SYS_POLL` does not exist on arm64 linux. Fixes buger#1034
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Moin,
I'm trying to compile gor (latest checkout from github) on a Ubuntu ARM64 machine (I tried Ubuntu 20.04 and 22.04). For 22.04 I'm using libpcap 1.10.1 and go 1.17.3 (both installed from Ubuntu Repo).
The build fails with
The corresponding code is
I found golang/go#16052 which doesn't help me. Do you have any idea how to compile gor on aarch64?
Thanks a lot!
Christian Kelinski
P.S. I forgot how I managed this, but we've a goreplay v1.0.0 up and running on aarch64
The text was updated successfully, but these errors were encountered: