by spacey on 8/28/23, 6:24 PM with 5 comments
by gizzlon on 8/29/23, 8:50 AM
"Now we can diff the Go toolchain we’ve created on our Mac with the Go toolchain that Ubuntu ships:" [..]
"We’ve successfully reproduced the Ubuntu package’s executables" [..]
"Note in particular that we’ve reconstructed the toolchain binaries bit-for-bit: they do not show up in the diff at all. That is, we proved that the Ubuntu Go binaries correspond exactly to the upstream Go sources."
Also, for your own programs:
"For Go programs that don’t need cgo, a reproducible build is as simple as compiling with CGO_ENABLED=0 go build -trimpath. Disabling cgo removes the host C toolchain as a relevant input, and -trimpath removes the current directory"
by mjl- on 8/29/23, 9:32 AM
Features like this take a lot of effort and aren't very visible, but are very much appreciated. Thanks to everyone who worked on this!
by Zababa on 8/29/23, 7:47 AM
by kunley on 8/29/23, 2:33 PM
So, as much as I appreciate what Russ Cox is doing in general, how to just switch it off?