Quite possibly. However, the biggest abuser of __FILE__ seems to be kernel and kernel_modules.
________________________________ From: Burton, Ross [ross.bur...@intel.com] Sent: Thursday, May 18, 2017 2:10 PM To: Bystricky, Juro Cc: OE-core; Purdie, Richard; Joshua G Lock; Juro Bystricky Subject: Re: [PATCH] kernel.bbclass: improve reproducibility On 18 May 2017 at 22:05, Juro Bystricky <juro.bystri...@intel.com<mailto:juro.bystri...@intel.com>> wrote: Kernel and kernel modules contain hard coded paths referencing the host build system. This is usually because the source code contains __FILE__ at some place. This prevents binary reproducibility. However, some compilers allow remapping of the __FILE__ value. If we detect the compiler is capable of doing this, we replace the source path $(S) part of __FILE__ by a string "/kernel-source". For example: Is this not something we should do globally? Ross
-- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core