[Buildroot] [PATCH 00/15] Reproducible builds

Jérôme Pouiller jezz at sysmic.org
Thu Nov 17 13:17:41 UTC 2016


On 2016-11-17 12:13, Thomas Petazzoni wrote:
> On Thu, 17 Nov 2016 11:00:24 +0100, Jérôme Pouiller wrote:
[...]
>> Other thing known to break reproducibility:
>>   - use of lzop (it unconditionally include timestamps in result)
> 
> I guess we can patch lzop to avoid this issue, right?

I guess also.


>>   - since gcc versions supporting SOURCE_DATE_EPOCH are not widely 
>> available,
>>     external toolchains probably won't work.
> 
> Instead of patching gcc, can we solve the problem in the toolchain
> wrapper? I.e, maybe the toolchain wrapper can set __DATE__ and __TIME__
> by passing -D__DATE__=... -D__TIME__=... to gcc ?

Yes, I can switch to this solution.

-- 
Jérôme Pouiller


More information about the buildroot mailing list