<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 18 May 2017 at 22:05, Juro Bystricky <span dir="ltr"><<a href="mailto:juro.bystricky@intel.com" target="_blank">juro.bystricky@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":1v4" class="a3s aXjCH m15c1d618d19a5dbb">Kernel and kernel modules contain hard coded paths referencing the host<br>
build system. This is usually because the source code contains __FILE__<br>
at some place. This prevents binary reproducibility. However, some compilers<br>
allow remapping of the __FILE__ value. If we detect the compiler is capable<br>
of doing this, we replace the source path $(S) part of __FILE__ by a string "/kernel-source".<br>
For example:<br></div></blockquote></div><br>Is this not something we should do globally?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div>