Received: with ECARTIS (v1.0.0; list linux-mips); Thu, 16 Mar 2017 18:04:01 +0100 (CET) Received: from mx1.redhat.com ([209.132.183.28]:46742 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S23991955AbdCPRDyZwD5d (ORCPT ); Thu, 16 Mar 2017 18:03:54 +0100 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id EA7FFC00AFC4; Thu, 16 Mar 2017 17:03:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com EA7FFC00AFC4 Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=jpoimboe@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com EA7FFC00AFC4 Received: from treble (unknown [10.10.123.104]) by smtp.corp.redhat.com (Postfix) with SMTP id 1641C183A6; Thu, 16 Mar 2017 17:03:43 +0000 (UTC) Date: Thu, 16 Mar 2017 12:03:41 -0500 From: Josh Poimboeuf To: Arnd Bergmann Cc: Jiri Olsa , Arnaldo Carvalho de Melo , Jiri Olsa , gregkh , "kernelci.org bot" , kernel-build-reports@lists.linaro.org, linux-mips@linux-mips.org, Linux Kernel Mailing List , stable@vger.kernel.org, Ralf Baechle , James Hogan , Ingo Molnar , Stephen Rothwell Subject: Re: stable build: 203 builds: 4 failed, 199 passed, 5 errors, 41 warnings (v4.10.1) Message-ID: <20170316170341.5df43ajebu3habr6@treble> References: <58b2dc6f.cf4d2e0a.f521.74b3@mx.google.com> <20170315072204.GB26837@kroah.com> <20170316122907.GS12825@kernel.org> <20170316124958.GA3620@krava> <20170316135959.GC3620@krava> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.0.1 (2016-04-01) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Thu, 16 Mar 2017 17:03:49 +0000 (UTC) Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 57372 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: jpoimboe@redhat.com Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips On Thu, Mar 16, 2017 at 03:39:36PM +0100, Arnd Bergmann wrote: > On Thu, Mar 16, 2017 at 2:59 PM, Jiri Olsa wrote: > > On Thu, Mar 16, 2017 at 02:44:45PM +0100, Arnd Bergmann wrote: > >> On Thu, Mar 16, 2017 at 1:49 PM, Jiri Olsa wrote: > >> > On Thu, Mar 16, 2017 at 09:29:07AM -0300, Arnaldo Carvalho de Melo wrote: > >> >> Em Wed, Mar 15, 2017 at 02:15:22PM +0100, Arnd Bergmann escreveu: > >> >> > On Wed, Mar 15, 2017 at 8:22 AM, gregkh wrote: > >> >> > > > >> >> > > All now queued up in the stable trees, thanks. > >> >> > > >> >> > Like 4.9.y it builds clean except for a couple of stack frame size warnings > >> >> > and this one that continues to puzzle me. > >> >> > > >> >> > /bin/sh: 1: /home/buildslave/workspace/kernel-builder/arch/x86/defconfig/allmodconfig+CONFIG_OF=n/label/builder/next/build-x86/tools/objtool//fixdep: > >> >> > Permission denied > >> >> > >> >> Jiri? Josh? > >> > > >> > hum, looks like it imight be related to this fix we did for perf: > >> > abb26210a395 perf tools: Force fixdep compilation at the start of the build > >> > > >> > it's forcing fixdep to be build as first.. having it as a simple dependency > >> > (which AFAICS is objtool case), the make -jX occasionaly raced on high cpu > >> > servers, and executed unfinished binary, hence the permission fail > >> > >> It's probably another variation of this bug, but the commit you cite got merged > >> into 4.10-rc1, while the problem still persists in mainline (4.11-rc2+). > > > > the problem is in objtool build right? the fix was for perf build > > Ah, got it. Yes, that must be it then. I supposed we coul duplicate what you > did for perf in objtool, but a cleaner way would be to generalize it for all of > tools/, right? This is a shot in the dark, since I don't have a way to recreate, but can you try the following patch? This should make sure that objtool only tries to build fixdep once. diff --git a/tools/build/Makefile.include b/tools/build/Makefile.include index ad22e4e..179f4f0 100644 --- a/tools/build/Makefile.include +++ b/tools/build/Makefile.include @@ -1,6 +1,8 @@ build := -f $(srctree)/tools/build/Makefile.build dir=. obj -fixdep: +fixdep: $(OUTPUT)fixdep + +$(OUTPUT)fixdep: $(Q)$(MAKE) -C $(srctree)/tools/build CFLAGS= LDFLAGS= $(OUTPUT)fixdep .PHONY: fixdep