-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
os/signal: warning: syscall() may go away, please rewrite code to use direct calls
on openbsd
#59667
Comments
Looks like this was fixed by CL 484555. |
Found new dashboard test flakes for:
2023-04-12 15:45 openbsd-arm64-jsing go@b7428b7c os/signal.test [build] (log)
2023-04-13 17:28 openbsd-arm64-jsing go@b5a7f2ee os/signal.test [build] (log)
2023-04-13 17:46 openbsd-arm64-jsing go@74c296b6 os/signal.test [build] (log)
|
Found new dashboard test flakes for:
2023-05-26 16:17 openbsd-arm64-jsing go@4c1d8bf5 os/signal.test [build] (log)
|
CC @4a6f656c This warning pops up in the last failure, but that's actually also a timeout. Maybe needs a new issue? |
@cherrymui points out this is because os/signal/signal_cgo_test.go:TestTerminalSignal uses |
|
warning: syscall() may go away, please rewrite code to use direct calls
on openbsdwarning: syscall() may go away, please rewrite code to use direct calls
on openbsd
Found new dashboard test flakes for:
2023-08-20 05:56 openbsd-arm64-jsing go@a2ec545e os/signal.test [build] (log)
|
Found new dashboard test flakes for:
2023-08-21 18:00 openbsd-arm64-jsing go@c7383441 os/signal.test [build] (log)
|
Found new dashboard test flakes for:
2023-10-18 14:06 openbsd-arm64-jsing go@045ce51b os/signal.test [build] (log)
|
Change https://go.dev/cl/538459 mentions this issue: |
Rather than using syscall.Syscall6 with SYS_WAIT4, use syscall.Wait4 directly. Updates #59667 Change-Id: I50fea3b7d10003dbc632aafd5e170a9fe96d6f42 Reviewed-on: https://go-review.googlesource.com/c/go/+/538459 Run-TryBot: Joel Sing <[email protected]> Reviewed-by: Bryan Mills <[email protected]> Reviewed-by: Cherry Mui <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
I'm going to close this as the |
Change https://go.dev/cl/540020 mentions this issue: |
Found new dashboard test flakes for:
2023-11-22 15:50 openbsd-arm64-jsing go@37971b31 os/signal.test [build] (log)
|
Found new dashboard test flakes for:
2023-11-29 19:13 openbsd-arm64-jsing go@636c6e35 os/signal.test [build] (log)
|
Found new dashboard test flakes for:
2023-11-29 15:49 openbsd-arm64-jsing go@1908d435 os/signal.test [build] (log)
|
Found new dashboard test flakes for:
2023-12-05 17:17 openbsd-arm64-jsing go@285ef16b os/signal.test [build] (log)
|
Found new dashboard test flakes for:
2023-12-15 21:57 openbsd-arm64-jsing go@79309716 os/signal.test [build] (log)
|
Found new dashboard test flakes for:
2023-12-18 19:42 openbsd-arm64-jsing go@08bec0db os/signal.test [build] (log)
|
Found new dashboard test flakes for:
2023-12-06 17:29 openbsd-arm64-jsing go@c80bd631 os/signal.test [build] (log)
|
Found new dashboard test flakes for:
2024-02-19 15:44 openbsd-arm64-jsing go@cf52e709 os/signal.test [build] (log)
|
Found new dashboard test flakes for:
2024-02-28 05:32 openbsd-arm64-jsing go@b8c76eff os/signal.test [build] (log)
|
Change https://go.dev/cl/572155 mentions this issue: |
Provide appropriate implementations of internal/syscall/unix.Tcsetpgrp and use this for runSessionLeader in os/signal/signal_cgo_test.go. This avoids calling syscall.Syscall with SYS_IOCTL on BSDs. Updates #59667 Updates #63900 Change-Id: Ifa4696bba9f1eb68e81e7103f030bc254adaf0af Reviewed-on: https://go-review.googlesource.com/c/go/+/540020 Reviewed-by: Ian Lance Taylor <[email protected]> Reviewed-by: David Chase <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Run-TryBot: Joel Sing <[email protected]>
(attn @golang/openbsd @4a6f656c; see also #36435)
The text was updated successfully, but these errors were encountered: