-
Notifications
You must be signed in to change notification settings - Fork 18k
x/sys/unix: update Dockerfile to Kernel 5.13 #47057
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
Comments
There seems to be a lot of definition/enumeration conflicts stemming from Running
after changing the kernel |
Change https://golang.org/cl/332929 mentions this issue: |
For reference, a non-ideal, sledgehammer approach: https://www.linuxquestions.org/questions/linux-software-2/conflict-between-kernel-and-glibc-headers-when-compiling-ppp-4175594417/ |
Change https://golang.org/cl/332969 mentions this issue: |
The C headers defining these constants pull in <netinet/in.h> which leads to definition conflicts between kernel and glibc headers when running mkerrors.sh for Linux kernel 5.13. Avoid these by moving this const definitions to linux/types.go. For golang/go#47057 Change-Id: I09a2391dfe4c6bb38b7069e952748070c10824e6 Reviewed-on: https://go-review.googlesource.com/c/sys/+/332929 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Similar to CL 313391 (Kernel 5.12, Go 1.16.3)
The text was updated successfully, but these errors were encountered: