-
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
x/build: add a windows/386 builder with Windows 10 or newer #58007
Comments
Change https://go.dev/cl/463579 mentions this issue: |
In CL 463579, @heschi commented:
Right. At least I currently can't think of a reason that just reusing the windows-amd64-2016 config with GOHOSTARCH set to 386 wouldn't be all that's needed. Unless someone else knows otherwise, just trying it is likely the easiest way to confirm. |
(CC @golang/windows) |
I'm pretty sure setting GOHOSTARCH=386 will work. It should also support cgo if the builder has a 32-bit C toolchain. |
See also #27402 |
I agree this should work. And Go team would have to arrange to have 32-bit C toolchain installed. Windows does not come with C compiler - it is up to Go Team to test cgo with correct C toolchain. Alex |
@thanm sounds like we need to build a new Windows image with the 32-bit compiler installed. Is that something you could help with? |
The recipe I used is described in https://go-review.googlesource.com/c/build/+/405154 . If you would prefer that I do the image creation though I can certainly look into it. |
Hmm, looking at my windows-amd64-2016 gomote, I don't think we need a new image after all (32 bit compilers are already there):
|
Change https://go.dev/cl/468540 mentions this issue: |
This builder is equivalent to windows-amd64-2016, but using GOARCH/GOHOSTARCH=386. Older versions of Windows will eventually drop Go support, so we need to have builders for newer versions. For golang/go#58007 Change-Id: Ifdbe38aff735c91f1714e82b3e70346dd9e40b9b Reviewed-on: https://go-review.googlesource.com/c/build/+/468540 TryBot-Result: Gopher Robot <[email protected]> Run-TryBot: Michael Pratt <[email protected]> Auto-Submit: Michael Pratt <[email protected]> Reviewed-by: Than McIntosh <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
Change https://go.dev/cl/468937 mentions this issue: |
CL 468937 added a newer Windows 32-bit TryBot that will provide coverage for the windows/386 port for Go 1.21 and newer. Stop the older Windows 8 builders from running on the relevant branches. Updates golang/go#58007. Fixes golang/go#58008. Change-Id: I8664a74543b2225986586440ab027cda85b67a3e Reviewed-on: https://go-review.googlesource.com/c/build/+/463579 Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Heschi Kreinick <[email protected]> Run-TryBot: Dmitri Shuralyov <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
Thanks @qmuntal I will send a CL for that. |
Change https://go.dev/cl/470715 mentions this issue: |
Update the "windows-386" slowbot alias to windows-386-2016 from windows-386-2008. Updates golang/go#58007. Change-Id: I44e10500fcf0520976a80916b1fc4a42307cd7a3 Reviewed-on: https://go-review.googlesource.com/c/build/+/470715 TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Michael Pratt <[email protected]> Run-TryBot: Than McIntosh <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
The latest builder for the windows/386 port at this time is windows-386-2012 (Windows 8/8.1).
That builder will be going away as part of #57004.
As long as windows/386 is one of the first class ports, we'll need a builder with a newer version of Windows.
CC @golang/release.
The text was updated successfully, but these errors were encountered: