This issue was fixed in go 1.24 https://tip.golang.org/doc/go1.24#linker It seems that there has been a change in the behavior of macOS https://developer.apple.com/documentation/technotes/tn3178-checking-for-and-resolving-build-uuid-problems