-
Notifications
You must be signed in to change notification settings - Fork 18.4k
runtime: use timer_settime64 on 32-bit Linux #75957
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
runtime: use timer_settime64 on 32-bit Linux #75957
Conversation
This PR (HEAD: 03e376f) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/712642. Important tips:
|
Message from Gopher Robot: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
Message from Gopher Robot: Patch Set 1: Congratulations on opening your first change. Thank you for your contribution! Next steps: Most changes in the Go project go through a few rounds of revision. This can be During May-July and Nov-Jan the Go project is in a code freeze, during which Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
Message from Jorropo: Patch Set 1: Commit-Queue+1 (9 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
Message from Go LUCI: Patch Set 1: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2025-10-17T17:46:15Z","revision":"dc7b90aba50b76568fffa3e0c42376dd48d2a549"} Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
Message from Jorropo: Patch Set 1: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
Message from Jorropo: Patch Set 1: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
Message from Go LUCI: Patch Set 1: This CL has failed the run. Reason: Tryjob golang/try/gotip-linux-386-sizespecializedmalloc has failed with summary (view all results):
To reproduce, try Additional links for debugging:
Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
Message from Go LUCI: Patch Set 1: LUCI-TryBot-Result-1 Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
Message from Jorropo: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
Message from Jorropo: Patch Set 1: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
Message from Abdullah: Patch Set 2: (5 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
03e376f
to
505602b
Compare
This PR (HEAD: 505602b) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/712642. Important tips:
|
Message from Ian Lance Taylor: Patch Set 4: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
Message from Jorropo: Patch Set 4: (9 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
Message from Jorropo: Patch Set 4: Commit-Queue+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
Message from Go LUCI: Patch Set 4: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2025-10-18T03:31:48Z","revision":"dd4d3319cdc60e9680bee88499abf2915c81df04"} Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
Message from Jorropo: Patch Set 4: (3 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
Message from Jorropo: Patch Set 4: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
Message from Go LUCI: Patch Set 4: This CL has failed the run. Reason: Tryjob golang/try/gotip-linux-arm64 has failed with summary (view all results):
To reproduce, try Additional links for debugging: Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
Message from Go LUCI: Patch Set 4: LUCI-TryBot-Result-1 Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
505602b
to
6dd3442
Compare
This PR (HEAD: 6dd3442) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/712642. Important tips:
|
Message from Abdullah: Patch Set 5: (14 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
Message from Jorropo: Patch Set 5: Code-Review+2 Commit-Queue+1 (3 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
Message from Go LUCI: Patch Set 5: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2025-10-18T13:35:56Z","revision":"c8409e30279c4c26bdbf9c00ee71358a5bda6de9"} Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
Message from Jorropo: Patch Set 5: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
Message from Go LUCI: Patch Set 5: This CL has failed the run. Reason: Tryjob golang/try/gotip-linux-amd64-misccompile has failed with summary (view all results):
Error: Additional links for debugging:
Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
Message from Go LUCI: Patch Set 5: LUCI-TryBot-Result-1 Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
6dd3442
to
5f3e8c5
Compare
This PR (HEAD: 5f3e8c5) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/712642. Important tips:
|
Linux introduced new syscalls to fix the year 2038 issue. To still be able to use the old ones, the Kconfig option COMPAT_32BIT_TIME would be necessary. Use the new 64-bit syscall for timer_settime by default. Add a fallback to use the 32-bit syscall when 64-bit version returns _ENOSYS. Fixes golang#75133
5f3e8c5
to
6c3d62d
Compare
This PR (HEAD: 6c3d62d) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/712642. Important tips:
|
Message from Abdullah: Patch Set 7: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
Message from Jorropo: Patch Set 7: Code-Review+2 Commit-Queue+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
Message from Go LUCI: Patch Set 7: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2025-10-18T16:06:59Z","revision":"2403c4b1527ac71b8fb773b0cf37278c0a8f21ef"} Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
Message from Jorropo: Patch Set 7: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
Message from Go LUCI: Patch Set 7: This CL has passed the run Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
Message from Go LUCI: Patch Set 7: LUCI-TryBot-Result+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
Message from Jorropo: Patch Set 7: Auto-Submit+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
Message from David Chase: Patch Set 7: Code-Review+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/712642. |
Linux introduced new syscalls to fix the year 2038 issue. To still be able to use the old ones, the Kconfig option COMPAT_32BIT_TIME would be necessary. Use the new 64-bit syscall for timer_settime by default. Add a fallback to use the 32-bit syscall when the 64-bit version returns _ENOSYS. Fixes #75133 Change-Id: Iccb8831b67f665067ee526e93c3ff2f4f5392edf GitHub-Last-Rev: 6c3d62d GitHub-Pull-Request: #75957 Reviewed-on: https://go-review.googlesource.com/c/go/+/712642 Reviewed-by: Jorropo <jorropo.pgm@gmail.com> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Jorropo <jorropo.pgm@gmail.com>
This PR is being closed because golang.org/cl/712642 has been merged. |
Linux introduced new syscalls to fix the year 2038 issue.
To still be able to use the old ones, the Kconfig option
COMPAT_32BIT_TIME would be necessary.
Use the new 64-bit syscall for timer_settime by default.
Add a fallback to use the 32-bit syscall when the
64-bit version returns _ENOSYS.
Fixes #75133