]> Cypherpunks repositories - gostls13.git/commit
runtime: add ppc and s390 to linux 32 bits syscall build constraints for gccgo
authorJorropo <jorropo.pgm@gmail.com>
Thu, 23 Oct 2025 08:47:58 +0000 (10:47 +0200)
committerJorropo <jorropo.pgm@gmail.com>
Sat, 25 Oct 2025 05:27:05 +0000 (22:27 -0700)
commit0afbeb510269dc4aaaff733166085eba42144712
treea990ff08e4c72d769bc6edf6f663541e4f99fdf4
parent7b506d106fce234b165ea6322e5ee1356490220e
runtime: add ppc and s390 to linux 32 bits syscall build constraints for gccgo

Theses are not supported by the go compiler but it may helps porting to gccgo.

This is similar to reverting CL 712740 however unlike reverting:
- it fixes the build tags so that 32 & 64 bits
  constraints are complement of each other
- it applies the same changes to os_linux_settime32.go and
  os_linux_settime64.go since the four files are the exact same
  fix of the same bug to different parts of the codebase.
  It does not make sense for them to be different.

Change-Id: I08cdcb07e837a5e06ee6f04b7868a4c57b07dd56
Reviewed-on: https://go-review.googlesource.com/c/go/+/714080
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/runtime/os_linux_futex32.go
src/runtime/os_linux_futex64.go
src/runtime/os_linux_settime32.go
src/runtime/os_linux_settime64.go