Skip to content

Commit 81d6085

Browse files
dcantahakhilerm
authored andcommitted
Revert "Downgrade MinGW to version 10.2.0"
This reverts commit fa2016d Previously we were downgrading mingw to work around an issue in the race detector in Go on Windows when used with a newer version of GCC. The issue was first reported here: golang/go#46099 Shortly after the release of 1.19 someone had commented this issue was solved for them, and after trying it out in some test runs on actions machines, it seems to be the case. Disabling ASLR got things in order, and PIE was disabled for -race builds in 1.19, so this is likely the reason things work now: golang/go@0c7fcf6. The downgrade was mostly harmless except for two shortcomings: 1. It took quite a while for the package to get downloaded+installed. 2. Chocolatey would frequently fail to download with `The remote file either doesn't exist, is unauthorized, or is forbidden for url ... Exception calling "GetResponse" with "0" argument(s): "The request was aborted: Could not create SSL/TLS secure channel."` Restarting the failed run would often resolve this, but a 50-50 shot of things working is not a great situation. Signed-off-by: Daniel Canter <[email protected]> (cherry picked from commit 912d43b) Signed-off-by: Akhil Mohan <[email protected]>
1 parent c91c3d3 commit 81d6085

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -304,14 +304,6 @@ jobs:
304304
305305
- run: script/setup/install-dev-tools
306306

307-
# There is currently an issue in the race detector in Go on Windows when
308-
# used with a newer version of GCC. The issue was first reported here:
309-
# https://github.com/golang/go/issues/46099
310-
- name: Downgrade MinGW
311-
shell: bash
312-
run: |
313-
choco install mingw --version 10.2.0 --allow-downgrade
314-
315307
- name: Binaries
316308
env:
317309
CGO_ENABLED: 1

0 commit comments

Comments
 (0)