go: cmd/link: binary failed to execute with "This version of %1 is not compatible with the version of Windows you're running."

#!watchflakes
post <- builder ~ `windows` && `This version of %1 is not compatible`

2021-03-05T06:15:22-60b500d/windows-amd64-race

CC @alexbrainman @zx2c4 @jeremyfaller

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Comments: 21 (19 by maintainers)

Commits related to this issue

Most upvoted comments

It’s almost certainly the linker (or, perhaps, the host linker, because cgo?). If the compiler generated garbage instructions, say, it wouldn’t make this kind of error. It would just be a SIGILL when running. Maybe the linker needs some extra flush somewhere?