Re:An introduction to deterministic builds with C/C++
by bmm6o on Monday September 02, 2019 @03:59PM
(#20861427)
You could just have debug boundaries be part included in the output of the build.
Re:An introduction to deterministic builds with C/C++
by Ididntdothis on Monday September 02, 2019 @04:15PM
(#20861496)
Most of the time when somebody says “you could just do x” I stop listening unless they have intimate knowledge of the situation.
Re:An introduction to deterministic builds with C/C++
by bmm6o on Wednesday September 04, 2019 @01:25AM
(#20874245)
I don't get it. Are you saying it's too hard or it doesn't solve the problem? It's worked in my experience.
I mean, my response isn't entirely a rhetorical question. If there's a reason it wouldn't work I'd be curious what makes his situation different from mine.
Re:An introduction to deterministic builds with C/C++
by Ididntdothis on Wednesday September 04, 2019 @04:49AM
(#20875236)
“I'd be curious what makes his situation different from mine.”
This should have been the first question to ask yourself before trying to give advice.
Re:An introduction to deterministic builds with C/C++
by bmm6o on Monday September 09, 2019 @08:32PM
(#20924045)
So I should have said, "Is there a reason you can't just build debug binaries at the same time as you build release"? I mean, I guess, but it's a little disappointing that this is the nugget that you've been dancing around.
Re:An introduction to deterministic builds with C/C++
by Ididntdothis on Monday September 09, 2019 @11:16PM
(#20924765)
The world "just" is my pet peeve. Before you say "why don't you just xxx" make sure you actually understand the problem thoroughly. Otherwise it's impolite to make a suggestion to "just do ...". If there is one thing I have learned it's that good devs make sure they really understand the situation before making suggestions.
Re:An introduction to deterministic builds with C/C++
by perl4ever on Monday September 02, 2019 @05:14PM
(#20861814)
http://johnsalvatier.org/blog/2017/reality-has-a-surprising-...
...but what's really surprising is that it's surprising, since everybody is experienced with details in some context.
Re:An introduction to deterministic builds with C/C++
by Ididntdothis on Monday September 02, 2019 @05:52PM
(#20862009)
I think this is related to "the grass is greener on the other side". Other people's problems seem eminently more solvable than our own. Sometimes that's even true but often it isn't.
If I'm debugging a production issue and want to create a debug build from the same source to step through things, it would be nice if I could just build both debug and release, check the hash on the release to confirm it matches production, then start debugging, without reference to any external records or other systems.
Reproducible builds reduce the number of links in the chain needed to verify what you're really doing.