Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp2457394imd; Fri, 2 Nov 2018 11:44:11 -0700 (PDT) X-Google-Smtp-Source: AJdET5dJib9gWdw6ULwvoEcG230nWHzGc27rR456roFZIeekwCQ1lBebFAlGqJaRKZC2kzXaqq0i X-Received: by 2002:a62:fd0b:: with SMTP id p11-v6mr12568656pfh.167.1541184251802; Fri, 02 Nov 2018 11:44:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541184251; cv=none; d=google.com; s=arc-20160816; b=jYJJTFlZvJz+PcoPHOPOg47/JYW5gh6VTygcJ7v9pdSLWSMGt04vzrFHT68hvICnvg pIMOVaXSfVuuq05Ovc6gk6jHENSBbYKEnf7vtXCEDxJyA/+8fC5mpfSyN5bs8po4szvf t3JNYgxz6Zex2RFPvDTcgSXU9xseNjCQl77TQ6yEorVO0kuHN/8t9gWN81EDYHZJwlow aqoVCSFh4wYzhXB6Lpy2TKakbSvyC5ox73bsseXh9/2d6maJ2+cwIlbchONxSFha4IME uBTllK63896GrID7DrQ9qEAln2cgUMhHI1SHD+BAWVW49woHJXmYA/8mHQK3hNMCuBFH uk+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Jx5WlHl6Ip2SEDjUl9mT+dcq9YBOGmmR5S3tcqyk6Qc=; b=PivWwsLLHsc1j11oW2PLx/MEK1kHdB42HchLom8BAruN1Fshk4s4Plx07rGkX16ero tM8dsoeJ0NG1Tuqup92gpn0h3sAwEi3vP1+/+KPoL8+nmX2q6K0watvk9RwFWKsPRG12 DIqbgyoHGPPzkW0hzEubaLhtATBBYDrPwPVkj1Q4hVryKP61Up5oUsDjSF0Pro0rF72y 5iir9sa4Ul5PiRAhHGIW5UD7y+DQIXdtru4QoXkh7bbAZGT2KSl86lAJEEUh6+z1DM1e fhYxLJh6c92qWMca2iskqxOel1SQOVNFr25Z1uCLRO+IDqzK0CDu/RnAbsBALDsInqym HQ+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HhEx+Q9D; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 20-v6si34947348pfk.287.2018.11.02.11.43.57; Fri, 02 Nov 2018 11:44:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HhEx+Q9D; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729897AbeKCDvJ (ORCPT + 99 others); Fri, 2 Nov 2018 23:51:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:46348 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729437AbeKCDvI (ORCPT ); Fri, 2 Nov 2018 23:51:08 -0400 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9658320847; Fri, 2 Nov 2018 18:42:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541184176; bh=40bV5Q3DV3ZQs6LFbaisspKgum9qv5RGRkTlxMpkMZI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HhEx+Q9DMt12onxxyW6YjVDnI7BKffLy//m9yGzygRM2fICyYB1zG9j9Dr37beYsW m/gVQwMcMezA19l5aNR3T/Jspf70EnHtP5Dpz1Pl7TSPVCo4MvLpQ/cHvqR4Yt0VNu S5r/98dbKuVEBDh+WHiIHeZhXyq1Ww3OtRYcMna4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Rasmus Villemoes , Jiri Olsa , Alexander Shishkin , Namhyung Kim , Peter Zijlstra , Arnaldo Carvalho de Melo , Sasha Levin Subject: [PATCH 4.18 102/150] perf tools: Disable parallelism for make clean Date: Fri, 2 Nov 2018 19:34:24 +0100 Message-Id: <20181102182910.444553254@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181102182902.250560510@linuxfoundation.org> References: <20181102182902.250560510@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.18-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit da15fc2fa9c07b23db8f5e479bd8a9f0d741ca07 ] The Yocto build system does a 'make clean' when rebuilding due to changed dependencies, and that consistently fails for me (causing the whole BSP build to fail) with 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 Apparently (despite the comment), 'make clean' ends up launching multiple sub-makes that all want to remove the same things - perhaps this only happens in combination with a O=... parameter. In any case, we don't lose much by explicitly disabling the parallelism for the clean target, and it makes automated builds much more reliable. Signed-off-by: Rasmus Villemoes Acked-by: Jiri Olsa Cc: Alexander Shishkin Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/20180705131527.19749-1-linux@rasmusvillemoes.dk Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Sasha Levin --- tools/perf/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/tools/perf/Makefile +++ b/tools/perf/Makefile @@ -84,10 +84,10 @@ endif # has_clean endif # MAKECMDGOALS # -# The clean target is not really parallel, don't print the jobs info: +# Explicitly disable parallelism for the clean target. # clean: - $(make) + $(make) -j1 # # The build-test target is not really parallel, don't print the jobs info,