4 ms·
Well, reproducible builds doesn't necessarily mean that it stays reproducible when you turn on debug info.
by bennofs 9y ago
Well, reproducible builds doesn't necessarily mean that it stays reproducible when you turn on debug info.
- lgas 9y agoIf both builds turn on debug info, why wouldn't they still be the reproducible?
- rhencke 9y agoDebug information often is choc-full of environment specific goodies that can easily cause builds not to be reproducible. For example, debug information for several languages I've worked with embed the full path to where the source code file was originally compiled. This can easily vary across two machines in a way that when debug information is turned on, the builds are different, but when turned off they are the same.
- JoshTriplett 9y agoWhile the reproducible builds efforts try to make builds path-independent, at the moment they often settle for reproducibility when built at the same common path. That's still enough that you can reproduce the build yourself.
- m-j-fox 9y agoDoes path-independent mean what I think it means? One thing I hate about Linux is having to set prefix at build time. You can't tar up a software and move to your home directory on another machine. That and the lack of compatibility between base libraries/kernels means you can't hope to upgrade chrome for yourself easily like anyone on Windows or Mac can trivially do.
- asdfaoeu 9y agoNo, in this case it just means binaries won't contain / depend on the path you used to compile it in.
- Brianne44 9y agoIm making over $13k a month working part time. I kept hearing other people tell me how much money they can make online so I decided to look into it. Well, it was all true and has totally changed my life.last month her pay check was $12712 just working on the laptop for a few hours. This is what I do. ........... ----------> www.joinmate2.com..................Work Anytime
- Kenji 9y agoYou are correct, but to use a core file with debug info, the binaries don't have to be bit-perfectly identical. All that has to be equal is the offset of each function and statement and that is the case in reproducible builds. Debug info is only "tacked on"; you can strip a binary, generate a core dump and then use the original binary with debug information to debug the core dump.
- lathiat 9y agothose kinds of differences are exactly part of what the reproducible builds project has worked on however debug symbols and "debug mode" are two different things.. at least in debian packages are generally compiled with debug symbols on, then separated into a separate package automatically and stripped into the final package as a separate step. more here: https://reproducible-builds.org/docs/build-path/ https://reproducible-builds.org/docs/build-path/