Re: [Xen-devel] mkelf32 uninitialized data and reproducible builds

2016-08-09 Thread Jan Beulich
>>> On 08.08.16 at 21:23, wrote: > On Mon, Aug 08, 2016 at 07:02:25PM +, Trammell Hudson wrote: >> The xen/arch/x86/boot/mkelf32 executable is preventing Xen hypervisors >> from being reproducibly built. It is using an uninitialized stack >> buffer for padding after the ehdr and phdr are writ

Re: [Xen-devel] mkelf32 uninitialized data and reproducible builds

2016-08-08 Thread Konrad Rzeszutek Wilk
On Mon, Aug 08, 2016 at 07:02:25PM +, Trammell Hudson wrote: > The xen/arch/x86/boot/mkelf32 executable is preventing Xen hypervisors > from being reproducibly built. It is using an uninitialized stack > buffer for padding after the ehdr and phdr are written to the xen file, > which leads to n

[Xen-devel] mkelf32 uninitialized data and reproducible builds

2016-08-08 Thread Trammell Hudson
The xen/arch/x86/boot/mkelf32 executable is preventing Xen hypervisors from being reproducibly built. It is using an uninitialized stack buffer for padding after the ehdr and phdr are written to the xen file, which leads to non-deterministic bytes in the binary. Additionally, the file is then com