Deterministic builds
Ruslan Ermilov
ru at FreeBSD.org
Fri Dec 9 13:31:34 UTC 2011
On Fri, Dec 09, 2011 at 12:16:39PM +0100, Erik Cederstrand wrote:
> I've been working on a project to make it possible to produce deterministic
> builds with FreeBSD. By this I mean building a FreeBSD distribution twice
> from the same code base and having all files in the two distributions match
> by md5 sum. Currently, this is not the case.
[...]
> I'd be very grateful for any comments on the approach and the patch.
The idea is not new. Setting CROSS_BUILD_TESTING during the buildworld
addressed similar issues at a time I wrote it, to compare cross builds
to native ones, with several exceptions. I haven't tested it for years,
so things might have changed, but it's still a good idea to give it a
try.
More information about the freebsd-current
mailing list