-
Notifications
You must be signed in to change notification settings - Fork 18k
x/net: drop unused variables and consts that x/sys/unix has #54035
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
Labels
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone
Comments
Change https://go.dev/cl/419180 mentions this issue: |
gopherbot
pushed a commit
to golang/net
that referenced
this issue
Jul 28, 2022
For golang/go#54035 Change-Id: I5163bb1d562f0c7f7de16995fcb42ece894d07bf Reviewed-on: https://go-review.googlesource.com/c/net/+/419180 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Run-TryBot: Meng Zhuo <mzh@golangcn.org> Auto-Submit: Ian Lance Taylor <iant@google.com>
Change https://go.dev/cl/419937 mentions this issue: |
gopherbot
pushed a commit
to golang/net
that referenced
this issue
Jul 28, 2022
RTM_LOCK is no longer defined on OpenBSD as of version 6.4, see https://man.openbsd.org/OpenBSD-6.4/route.4 and https://marc.info/?l=openbsd-tech&m=153018811429193&w=2 CL 419180 broke the build on openbsd/arm64 and openbsd/mips64 due to RTM_LOCK not being defined on these platforms because these ports were based on OpenBSD versions newer than 6.4. Earlier OpenBSD versions are no longer supported since Go 1.15 per https://golang.org/wiki/OpenBSD For golang/go#54035 Change-Id: I476a60ab2a082c7ddc763b5dbaf279ba47dcc1e1 Reviewed-on: https://go-review.googlesource.com/c/net/+/419937 TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Bryan Mills <bcmills@google.com>
For x/net packages that are vendored into std, this appears to be incompatible with the policy set in #32102 that std shouldn't vendor golang.org/x/sys/unix. See #54259. CC @ianlancetaylor. |
WeiminShang
added a commit
to WeiminShang/net
that referenced
this issue
Nov 16, 2022
For golang/go#54035 Change-Id: I5163bb1d562f0c7f7de16995fcb42ece894d07bf Reviewed-on: https://go-review.googlesource.com/c/net/+/419180 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Run-TryBot: Meng Zhuo <mzh@golangcn.org> Auto-Submit: Ian Lance Taylor <iant@google.com>
WeiminShang
added a commit
to WeiminShang/net
that referenced
this issue
Nov 16, 2022
RTM_LOCK is no longer defined on OpenBSD as of version 6.4, see https://man.openbsd.org/OpenBSD-6.4/route.4 and https://marc.info/?l=openbsd-tech&m=153018811429193&w=2 CL 419180 broke the build on openbsd/arm64 and openbsd/mips64 due to RTM_LOCK not being defined on these platforms because these ports were based on OpenBSD versions newer than 6.4. Earlier OpenBSD versions are no longer supported since Go 1.15 per https://golang.org/wiki/OpenBSD For golang/go#54035 Change-Id: I476a60ab2a082c7ddc763b5dbaf279ba47dcc1e1 Reviewed-on: https://go-review.googlesource.com/c/net/+/419937 TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Bryan Mills <bcmills@google.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
This is a tracking issue for Ian's request and I quoted here.
https://go-review.googlesource.com/c/net/+/419015/comments/6790299e_41c7ad76
I've upload CL for FreeBSD and compiled successful with other OSes by
GOOS={darwin,netbsd,dragonfly,openbsd}
cc @golang/netbsd @golang/dragonfly @golang/openbsd @golang/netbsd
The text was updated successfully, but these errors were encountered: