Open dagood opened 7 months ago
Manage to reproduce this locally by running:
getmingw run -source nixman -version 12.2.0-rt_v10-rev2 -arch x86_64 -threading posix -exception seh -runtime ucrt -- go test ./cmd/cgo/internal/test -run CallersSEH -count 1 -ldflags=-linkmode=internal -v
(Notice that I added the -ldflags=-linkmode=internal
flag)
Found the root cause and filed an upstream issue with a bug report: https://github.com/golang/go/issues/65116. Not an easy fix, it will have to be done in go1.23.
Submitted https://go-review.googlesource.com/c/go/+/556635 to skip it for now when using internal linking.
https://dev.azure.com/dnceng-public/public/_build/results?buildId=501610&view=results
(I added extra logging to figure out what was being filtered down to nothing.)
This is a run of https://github.com/microsoft/go/tree/0f3f286654f58ead223d9cb04c828cf4761d2456
Originally spotted in an upstream sync PR.
Using https://github.com/microsoft/go-infra/pull/95, this runs the test under the same MinGW:
gotip
or 0f3f286654f58ead223d9cb04c828cf4761d2456Updating CI from
12.2.0-rt_v10-rev2
to13.2.0-rt_v11-rev0
makes this test pass.