4 ms·
Got my hopes up for deterministic builds, but then I read on slide 5: Out of scope: compiler doesn't produce byte for byte comparable binaries
by Aissen 12y ago
Got my hopes up for deterministic builds, but then I read on slide 5:
Out of scope: compiler doesn't produce byte for byte comparable binaries
- davecheney 12y agoThere are others working on that problem. I probably shouldn't have mentioned it; if I hadn't, you wouldn't have thought about it, and then nobody would have had their hopes dashed.
- Aissen 12y agoEnglish isn't my first language, so when I read "reproducible" I thought "deterministic"; I also didn't think you'd be working on the "vendoring" problem since I thought it was a solved issue (which it isn't for all the reasons in the post). Anyways, thanks for your work.
- davecheney 12y agoI think the compilers that produce elf output are almost deterministic, at least when producing a fully static binary (no CGO). I don't think that holds for mach-o or PE binaries, but I'm really speaking off the cuff here, as I said, others care about this and are working on it separately.
- ComputerGuru 12y agoHowever, English is my first language, and I thought exactly the same.
- silon3 12y agoDoes JIT (or late/deploy time optimize/link) help here? Would it be easier to make deterministic builds when optimizer is not involved?
- davecheney 12y agoNope, this is about the source that goes into the compiler.