Reproducible Builds on Windows

Chris Lamb chris at reproducible-builds.org
Mon Dec 2 11:24:33 UTC 2024


Danilo wrote:

> https://try.diffoscope.org/hxsyehbrkftf.html (link valid for 30 days).
> There are no paths embedded in the binary. To me, this looks like some
> kind of optimization, but I don't know where it's coming from.

I've come across more than one file format that _hashes_ the build
path and then uses that value as a debug/interface/build identifier.
Crucially, as the build path is hashed, it does not appear as a
literal string in the binary, so not seeing the build path in
diffoscope is not conclusive.

Whilst I've seen this used as part of the Link-Time Optimisation
puzzle, the switch to disable stuff like that might be in the linker
or debug area of your compiler docs — not the optimisation part.

That would be my guess anyway... Am throwing it over the wall given
you seem to be working on this as we type. :)  No doubt someone much
more informed about this file format will chime in and correct me.


Best wishes,

-- 
      o
    ⬋   ⬊      Chris Lamb
   o     o     reproducible-builds.org 💠
    ⬊   ⬋
      o



More information about the rb-general mailing list