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`
About this issue
- Original URL
- State: open
- Created 3 years ago
- Comments: 21 (19 by maintainers)
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?