diff options
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | 2018-07-06 09:48:36 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-13 16:32:38 +0100 |
commit | bb58203b668df42fd08c2e5fa4a172cf63e37369 (patch) | |
tree | 87d00a05f97b2f2601ffe7621e5631206a4ea82f /scripts/lib/devtool/build_sdk.py | |
parent | f9324af88a99eca28b160fa31aa4516fd397e44b (diff) | |
download | openembedded-core-bb58203b668df42fd08c2e5fa4a172cf63e37369.tar.gz openembedded-core-bb58203b668df42fd08c2e5fa4a172cf63e37369.tar.bz2 openembedded-core-bb58203b668df42fd08c2e5fa4a172cf63e37369.zip |
perf: disable parallelism for 'make clean'
Whenever perf got rebuilt, I was consistently getting errors such as
| find: '[...]/perf/1.0-r9/perf-1.0/plugin_mac80211.so': No such file or directory
| find: '[...]/perf/1.0-r9/perf-1.0/plugin_mac80211.so': No such file or directory
| find: find: '[...]/perf/1.0-r9/perf-1.0/libtraceevent.a''[...]/perf/1.0-r9/perf-1.0/libtraceevent.a': No such file or directory: No such file or directory
|
[...]
| find: cannot delete '/mnt/xfs/devel/pil/yocto/tmp-glibc/work/wandboard-oe-linux-gnueabi/perf/1.0-r9/perf-1.0/util/.pstack.o.cmd': No such file or directory
breaking the whole build. The root cause seems to be that the implicit
'make clean' done during do_configure ends up running in parallel, and
thus multiple find commands attempt to stat and/or delete the same
file.
A patch disabling parallelism for the clean target has been ack'ed
upstream (lkml.kernel.org/r/20180705134955.GB3686@krava), but it should
be harmless to pass JOBS=1 even with a fixed kernel. This can be removed
if and when all relevant -stable kernels have that patch.
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib/devtool/build_sdk.py')
0 files changed, 0 insertions, 0 deletions