poky/meta
Rasmus Villemoes b332766553 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.

(From OE-Core rev: bb58203b668df42fd08c2e5fa4a172cf63e37369)

(From OE-Core rev: d12722681a4c13c1a6bc9c965cc43c4544ce7aa9)

(From OE-Core rev: ad21736cf1be017af4b211b5cdd577cdf28dee20)

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-15 10:22:46 +01:00
..
classes make-mod-scripts: add build requirements for external modules 2018-08-15 10:22:44 +01:00
conf yocto-uninative: Upgrade to version 2.2 2018-08-15 10:22:44 +01:00
files common-licenses: Add BSD-1-Clause 2018-07-19 10:54:55 +01:00
lib make-mod-scripts/kernel-devsrc: Fix objtool issues 2018-08-15 10:22:44 +01:00
recipes-bsp grub/grub-efi: fix conflict 2018-05-07 15:57:37 +01:00
recipes-connectivity dhcp: Security Advisory - CVE-2017-3144 2018-05-03 09:53:48 +01:00
recipes-core glibc: Update 2.26 to tip 2018-08-15 10:22:46 +01:00
recipes-devtools Binutils: Security fix for CVE-2018-7642 2018-08-15 10:22:45 +01:00
recipes-extended lsof: Update SRC_URI 2018-08-15 10:22:44 +01:00
recipes-gnome gobject-introspection: improve reproducibility 2017-12-04 17:23:57 +00:00
recipes-graphics eglinfo-fb: Pass -DMESA_EGL_NO_X11_HEADERS to cxxflags 2018-02-27 15:51:03 +00:00
recipes-kernel perf: disable parallelism for 'make clean' 2018-08-15 10:22:46 +01:00
recipes-multimedia libvorbis: CVE-2018-5146 2018-04-02 17:06:40 +01:00
recipes-rt
recipes-sato webkitgtk_2.18.6.bb: Fix configure failure for aarch64 build 2018-02-27 15:51:03 +00:00
recipes-support popt: update SRC_URI 2018-07-19 10:54:55 +01:00
site siteinfo: nios2-linux - remove wrong mutex info 2017-10-07 23:20:40 +01:00
COPYING.GPLv2
COPYING.MIT
recipes.txt