Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp559612ybb; Wed, 1 Apr 2020 05:34:10 -0700 (PDT) X-Google-Smtp-Source: APiQypI6Ofr7ftvN01KijAXBPcKvrnxuLSZhKkcvexVAlUXwsMkyWd4o7EVxJOaf/4VCjDUxMQzC X-Received: by 2002:aca:5317:: with SMTP id h23mr2649401oib.33.1585744450250; Wed, 01 Apr 2020 05:34:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585744450; cv=none; d=google.com; s=arc-20160816; b=Urg8aRlYwJmRXlfy8QZtN7G7qN/2k540txCDxlc8w+wnxCrp3y2bd/Qc8ZkbyAvECi wAJmje3CQKpKDvOHkz8LFn96kTgM84f3iXknk9QLn0nV6WOY3bfkWyPzeToJCU1ixicT aP+PGZ/jQE1+e1pfhjzmLEmEyyRb0l7nyGTTjMMipUwqMDSQdIJVTXi/1iMJAd87mRF1 KktbByOpSXXRsiN+UQ/DbmCF2RKTUvipLVLoYY4CXn+lwOs5eTkDYDww+xO0Id5A7rUI FWEKBvZyI/iiuTn+MhFoofeuaJ/z0g0P/q0YJe1jdsjS4T20bezWMrwTB9KI0hM4OM0f V8xQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=oJKYUuTSGqVvho9oUKmTTEIJ/nTTY32VYLOr3uJrq7g=; b=mED3ED9Xgh9xmYIcBQzoQn4M4R2d8fR8E4Vumb28WXBEY0swNAHMr7Hh+c/Emcpi05 6+hCEWwVfJAnrKzYSjTgXvJTcWW6+qWN6j5AIDBBtIXqHypAhRNfy/jDjmDfGlL1yNyi ubsvpTAvo5fsrTQWk+rC15+4o45pUqtQcdLq0MmZX5wYCxyBnybY4TCkD7BivPUAHN1o EnFl4y4KhDUcWhg4ZUWOBL0svCcMo826YzTXjcQC44Md1lq7o6wLaWxyEz8LmcigTCii uVejw6fbofxvGIbhwPgVa1PDnBbENVCkaA+dkMvho2NGahcahWzESGDFfbCpPbhymZV4 XuRQ== ARC-Authentication-Results: i=1; mx.google.com; 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 l129si816250oif.15.2020.04.01.05.33.57; Wed, 01 Apr 2020 05:34:10 -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; 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 S1732317AbgDAMcS (ORCPT + 99 others); Wed, 1 Apr 2020 08:32:18 -0400 Received: from mx2.suse.de ([195.135.220.15]:45154 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732166AbgDAMcS (ORCPT ); Wed, 1 Apr 2020 08:32:18 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id C129CAD4B; Wed, 1 Apr 2020 12:32:16 +0000 (UTC) Date: Wed, 1 Apr 2020 14:32:16 +0200 (CEST) From: Miroslav Benes To: Julien Thierry cc: linux-kernel@vger.kernel.org, jpoimboe@redhat.com, peterz@infradead.org, raphael.gault@arm.com Subject: Re: [PATCH v2 01/10] objtool: Move header sync-check ealier in build In-Reply-To: <20200327152847.15294-2-jthierry@redhat.com> Message-ID: References: <20200327152847.15294-1-jthierry@redhat.com> <20200327152847.15294-2-jthierry@redhat.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 27 Mar 2020, Julien Thierry wrote: > Currently, the check of tools files against kernel equivalent is only > done after every object file has been built. > This means one might fix > build issues against outdated headers without seeing a warning about > this. Could you explain the above in more detail, please? Otherwise it looks good. Miroslav > Check headers before any object is built. Also, make it part of a > FORCE'd recipe so every attempt to build objtool will report the > outdated headers (if any). > > Signed-off-by: Julien Thierry > --- > tools/objtool/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/objtool/Makefile b/tools/objtool/Makefile > index ee08aeff30a1..519af6ec4eee 100644 > --- a/tools/objtool/Makefile > +++ b/tools/objtool/Makefile > @@ -43,10 +43,10 @@ export srctree OUTPUT CFLAGS SRCARCH AWK > include $(srctree)/tools/build/Makefile.include > > $(OBJTOOL_IN): fixdep FORCE > + @$(CONFIG_SHELL) ./sync-check.sh > @$(MAKE) $(build)=objtool > > $(OBJTOOL): $(LIBSUBCMD) $(OBJTOOL_IN) > - @$(CONFIG_SHELL) ./sync-check.sh > $(QUIET_LINK)$(CC) $(OBJTOOL_IN) $(LDFLAGS) -o $@ > > > -- > 2.21.1 >