Re: Deterministic builds

From: Erik Cederstrand <erik_at_cederstrand.dk>
Date: Fri, 9 Dec 2011 15:25:40 +0100
Hi Ruslan,

Den 09/12/2011 kl. 14.37 skrev Ruslan Ermilov:

> 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.

I can't see that CROSS_BUILD_TESTING does anything in current other than adding TARGET and TARGET_ARCH to OBJTREE in src/Makefile.inc1?

Kind regards,
Erik
Received on Fri Dec 09 2011 - 13:25:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:21 UTC