[Buildroot] [PATCH 00/15] Reproducible builds

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Nov 17 11:13:41 UTC 2016


On Thu, 17 Nov 2016 11:00:24 +0100, Jérôme Pouiller wrote:
> This series try to continue work initiated by Gilles Chanteperdrix:
>   http://lists.busybox.net/pipermail/buildroot/2016-April/thread.html#160064
>   http://lists.busybox.net/pipermail/buildroot/2016-June/thread.html#163905

Thanks for taking over this effort. This is definitely interesting.

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

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


Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering

More information about the buildroot mailing list