Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp2468360imd; Fri, 2 Nov 2018 11:56:52 -0700 (PDT) X-Google-Smtp-Source: AJdET5fL47yRDwoNd5C7a+Ag6OBYK4xlWtS/BTBvMq/ruDDfIGeNJF47KD2FViwDTI1ayok4XoCE X-Received: by 2002:a17:902:29e3:: with SMTP id h90-v6mr12901636plb.158.1541185012519; Fri, 02 Nov 2018 11:56:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541185012; cv=none; d=google.com; s=arc-20160816; b=CNiksRqr/a1nb8paMc8CtBI8KZ7yR2zcfBs2YlhwzbPYx/ysPlzBc0CI7LAIBG9MEA hUbtOHspT1GKSUXRvb1l8CdmdR0rD3QDmc9uumiPFZi8KuW/bvWrkyPWHSX0Lih0Ih01 Y2wapEwrJF9DL01w+N8pLfa1sbnQjuXYtQlMyiksOTAgLalgTQtmB3ArDmVp/9T41Nwq MZKTSfrLTDXCm+Tom1xeAZJYQyKHaLBtJsv57cIxu496t9cXKY7SjhW5B00QW/kaegcb qLeSddcPXKsLfe7KKk4zxp92w/vwaJ7MQt9CpBEeyVUnWq6apV3HCacuJiInGwIhtoB0 5uHw== 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=5jzJx0Av6C9sVBFVK84DTc24cJ2fhLdbtCNpaQDTO4M=; b=aHuIDHWbnkegXooq+O/9Z7nWhy/Vl/K7IEkQyDJxh/cDEFMaK9W46NzbEtPq4y6FkD K+ns8P/b195EoNRJ6U/3VCeo+TCTAc7f8Sebuu8C54tRCobzGl7/18ybdMNdtZCR4dpq hlKo9Sd96KvqIpTlaK/D9q4rbUn3l857aX+g+ep43k7KBioYYedqs7DPjdMb13lE0+7U an5ne7aPhprrgBvU5qKD0GPcWHjFXyC+Ndrwq9dP79+kbldnk62s8p1oDoX0cemFpzdG 7kASVnqlneLJ8w8tEHxS1MzmRNEmR3iEvkpvBAYyiiat/K2zCHV2f4gH9Y/torjkwWEz 6+gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="gb/aHXfw"; 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 m5-v6si8614713plt.432.2018.11.02.11.56.37; Fri, 02 Nov 2018 11:56:52 -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="gb/aHXfw"; 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 S1731598AbeKCEEd (ORCPT + 99 others); Sat, 3 Nov 2018 00:04:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:60602 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726051AbeKCEEc (ORCPT ); Sat, 3 Nov 2018 00:04:32 -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 9D27C20848; Fri, 2 Nov 2018 18:56:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541184976; bh=rYAbZOPrFLOy7zRNu9jZvUJ9UVr8ohF38Z7j6ebkkHQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gb/aHXfw1IpmrDKn0i5K1JlqVg8WEajqtQwe7yFA5JzOFUOEvgfvoUHaHhMXaLfEq AEvWlJlT8DbmzFhFZIUnHOOOefLpYaWZeBCNQfpG/FLoQCtFK2CZOPVWu5f1RIQ0AO lwvpgy/SXNf6tb6vKfRTW1+MSQbCmCrNOugDUfns= 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.14 113/143] perf tools: Disable parallelism for make clean Date: Fri, 2 Nov 2018 19:34:58 +0100 Message-Id: <20181102182906.869391598@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181102182857.064326086@linuxfoundation.org> References: <20181102182857.064326086@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.14-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(-) diff --git a/tools/perf/Makefile b/tools/perf/Makefile index 225454416ed5..7902a5681fc8 100644 --- 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, -- 2.17.1