News for hackers. Stuff that matters.
Re:Towards Idempotent Rebuilds? by bobmcnamara on Wednesday July 10, 2024 @02:07PM (#40929665)
For these sorts of things, please do not assume hardware is reliable and compilers are bug free.
Re:Towards Idempotent Rebuilds? by 8organicbits on Wednesday July 10, 2024 @03:06PM (#40930269)
Bug free is less important for reproducible builds, so long as the bugs are reproducible. Compiler bugs are of course still a problem for other reasons.
Re:Towards Idempotent Rebuilds? by bobmcnamara on Wednesday July 10, 2024 @03:39PM (#40930659)
My point is only that even when the software is correct, the reproducible build rate will either be 100% or we've got a representative sample set.

Until then, those issues will continue to be lumped together with all the software reasons it wasn't reproducible.

Re:Towards Idempotent Rebuilds? by kardos on Wednesday July 10, 2024 @02:22PM (#40929806)
Sounds like a mechanism to test for bad hardware (akin to memtest86) and find compiler bugs =)
Re:Towards Idempotent Rebuilds? by bobmcnamara on Wednesday July 10, 2024 @03:08PM (#40930295)
Bingo - even if we do everything right the percentage of matching builds isn't expected to be 100%. If it is, there just aren't enough samples.

My first Pentium could usually but not always math correctly until Intel replaced it during a recall.

Re:Towards Idempotent Rebuilds? by yjftsjthsd-h on Wednesday July 10, 2024 @09:17PM (#40932978)
In a slightly different form, this has already happened: https://julialang.org/blog/2020/09/rr-memory-magic/