Skip to content

Conversation

@dcantah
Copy link
Member

@dcantah dcantah commented Aug 18, 2022

This reverts commit 1ef4bda.

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.

@k8s-ci-robot
Copy link

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@dcantah
Copy link
Member Author

dcantah commented Aug 18, 2022

Lemme git revert the actual commit that added this for better tracking also

This reverts commit 1ef4bda.

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]>
@dcantah dcantah force-pushed the rm-mingw-downgrade branch from cfac9c4 to 912d43b Compare August 18, 2022 22:22
@dcantah dcantah marked this pull request as ready for review August 18, 2022 22:22
@dcantah dcantah changed the title Remove mingw downgrade Revert "Downgrade MinGW to version 10.2.0" Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants