diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2018-04-09 11:16:07 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-04-13 16:58:06 +0100 |
commit | 9cdfe60127bec6ed0d23594f778c5a7ebc58d881 (patch) | |
tree | ae3bc602ff77b9526ae50a0408b132bd21386243 /meta/recipes-kernel/linux-libc-headers | |
parent | a7265ef9d60836768e9c0764e78447d92981416e (diff) | |
download | poky-9cdfe60127bec6ed0d23594f778c5a7ebc58d881.tar.gz |
linux-yocto/4.14/4.15: deterministic srcversion
Author: Juro Bystricky <juro.bystricky@intel.com>
Date: Fri Mar 30 10:14:05 2018 -0700
modpost: srcversion sometimes incorrect
"srcversion" field inserted into module modinfo section contains a
sum of the source files which made it. However, this field can
be incorrect. Building the same module can end up having inconsistent
srcversion field eventhough the sources remain the same.
This can be reproduced by building modules in a deeply nested directory,
but other factors contribute as well.
The reason for incorrect srcversion is that some source files can be
simply silently skipped from the checksum calculation due to limited
buffer space for line parsing.
This patch addresses two issues:
1. Allocates a larger line buffer (32k vs 4k).
2. Issues a warning if a line length exceeds the line buffer.
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
(From OE-Core rev: 7d92ed3dcd8c4b5f7cde2f521569c792d55fae65)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/linux-libc-headers')
0 files changed, 0 insertions, 0 deletions