Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2133793pxk; Mon, 14 Sep 2020 05:45:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOAzkdiccWNRoQzlRfkGphndKnegRPcqtWHruR9QvgqwqoIBUYvwtbFBJkCWnsbDswAu4X X-Received: by 2002:a17:906:3755:: with SMTP id e21mr14398550ejc.39.1600087533189; Mon, 14 Sep 2020 05:45:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600087533; cv=none; d=google.com; s=arc-20160816; b=X/LUwZs2x1l/4FhIYriiprWJCOBDN/DP/WzHaXRG1YjDc2FyQKsTGu9N+tOPgDw4a8 rhH2hBkVuV8JyBOnTRBYdic9Qc/1ibpnV2BUk+4ZliD8fLLCTneczNWqhE10mKeEpJvB jaKn1GS9JvfaRKxAbYtOLjrBN5cJwQyQvOI+Ft5gkMG2mekmOIMh7KMk3X+PjIqaaBHp iqQWTuQBAsDjUpXSg31poxn0x1rEnV8mYq5/a1KJrzPg5PDnYzgyedard3KpemO7+PlV IbCs8Tl1vu1vgkTyBRlDuJtmGsb3ccL3P1hkFctA8mjt68QumZVkPJ03yykSIUYGz5sZ pn7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=w96GNiyWqug9hy/q6WUukVDjU2hTwIhreDsYM9bYsO4=; b=v6qRvnN6IdgvVpmGkBownYvabyIrenKReBp3F0lA7/hUyOgH097xz1tGvLdrez7hBV ljb+o4uwgCpEDDzSP40tNR0nF20bP0NKgykEyG5qTmbLIi3Ms7eHOjInoe/Psp8znDHd 5QXoptB4ygFbmJha54Z3kf95+uexIHn8qCawv5DKaFhMFcdQ0quiBHxHKhdDhr4fXvmd mKKig9i/Bf+gSHTUUijLq85zQFvL1Dwgv+hn9+eddvUxMknUPVB+NQwsK1K15KCnZK22 1TaC2GaImKKXeqoWdbjKIPrEeBnQYvrHhIz6GbwxIEynQKf7QJLgHWx06dHQBZf39RAU QxUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=XF6MpACC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e8si6816313ejj.575.2020.09.14.05.45.10; Mon, 14 Sep 2020 05:45:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=XF6MpACC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726577AbgINMlw (ORCPT + 99 others); Mon, 14 Sep 2020 08:41:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726299AbgINMhM (ORCPT ); Mon, 14 Sep 2020 08:37:12 -0400 Received: from mail-ed1-x542.google.com (mail-ed1-x542.google.com [IPv6:2a00:1450:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17BF8C061352 for ; Mon, 14 Sep 2020 05:37:12 -0700 (PDT) Received: by mail-ed1-x542.google.com with SMTP id a12so17364563eds.13 for ; Mon, 14 Sep 2020 05:37:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=w96GNiyWqug9hy/q6WUukVDjU2hTwIhreDsYM9bYsO4=; b=XF6MpACCNZ8VeLazppUefQsSFQQx21vZiHlOr8qLLvNfvxafRU/C4srGv6aw5vuu4+ MjDDrEMMVv+1xLqcBLR1MvnD2mTT7YP+YR/bUTGRf0AkfKE0LFgQUNkwKV3HS5jtslzC Dinb/CJFYQXrAufFqsU3JHWTxQtOOTY1A4vYC8U65+zP3v+M2jn5oF7R7ef2UD/H6yDJ PTEykxDEJ6c/wavCPyeamUB3aN8rjXg4ItCDkxWHVRNgwkoNCka15myMFzwBsXYdbrhh EHusW0PVtMEdNMDrCHaURAjRaRwuBnlMxPk/ZH9sUhj0H3CWDgcxM23PrzOEjB52Ugwf +C+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=w96GNiyWqug9hy/q6WUukVDjU2hTwIhreDsYM9bYsO4=; b=AHVHJWzzqATnv01haHmMqS8k+7idXXCFY9HTeau+/M4lciJ1u5pTBd5ifSACTN/dZy OfonyW62e7P/GFkX6CPpSh0YwzqY3kY/Q6yQLextx+xGLc0+Ih3ab4k2sq6QzhsbayxC 7mTBHjOgSyIrG4SjzrYMyYMvo9flGBKrOxeqdU2dM+TZPXAwEcEwyg93WGlH6IrpGp+I TrmTSKPh6qeq1IIwdy5JexTGESYuXEm/L+kRivVGk5nQzvey6vXsE8d+qHJb8wqnQS0s EGNW4bQCJB541uIswNV5k4AXDEEnrgU66yaxe/THk+kNbG5GQP8mB6zBJ7pAe8QPp8Wm +Vbg== X-Gm-Message-State: AOAM532t9sY3pjgyvIQDRHKPtB5hbwHUsQ2ImhrSKVug/yrUMmrhp40o jZ05RGbLUJ+KcdC5KMOK1jLZ3Brjvcs= X-Received: by 2002:aa7:d606:: with SMTP id c6mr17287894edr.370.1600087030727; Mon, 14 Sep 2020 05:37:10 -0700 (PDT) Received: from gmail.com (5400A980.dsl.pool.telekom.hu. [84.0.169.128]) by smtp.gmail.com with ESMTPSA id q23sm3432898edw.41.2020.09.14.05.37.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Sep 2020 05:37:10 -0700 (PDT) Date: Mon, 14 Sep 2020 14:37:08 +0200 From: Ingo Molnar To: Masahiro Yamada Cc: Linux Kernel Mailing List , Michal Marek Subject: Re: [PATCH] kbuild: Run syncconfig with -s Message-ID: <20200914123708.GA603584@gmail.com> References: <20200820063526.GA3278096@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Masahiro Yamada wrote: > On Thu, Aug 20, 2020 at 3:35 PM Ingo Molnar wrote: > > > > On every kernel build that runs --syncconfig, there's an output of the following line: > > > > scripts/kconfig/conf --syncconfig Kconfig > > > > This is the only non-platform build message the kbuild system emits that isn't > > prefixed by at least a space, or is a build warning. > > > > Run it under -s - if there's any problem it will emit messages anyway. > > > > With this change the following simple grep filter will show all build warnings > > and errors of a kernel build: > > > > make | grep -v '^ ' > > > > I do want to see something when syncconfig is invoked. > > I will apply this instead: > https://patchwork.kernel.org/patch/11727445/ BTW., there's another, rather spurious bug I recently triggered in kbuild. Occasionally when I Ctrl-C a kernel build on a system with a lot of CPUs, the .o.cmd file gets corrupted: mm/.pgtable-generic.o.cmd:5: *** unterminated call to function 'wildcard': missing ')'. Stop. make: *** [Makefile:1788: mm] Error 2 make: *** Waiting for unfinished jobs.... The .o.cmd file is half-finished: $(wildcard include/config/shmem.h) \ $(wildcard include/config/hugetlb/page.h) \ $(wildcard include/config/zone/device.h) \ $(wildcard include/config/dev/pagemap/ops.h) \ $(wildcard include/config/device/private.h) \ $(wildcard include/config/pci/p2pdma.h) \ $(wildcard include/config/sparsemem.h) \ $(wildcard include/config/sparsemem/vmemmap.h) \ $(wildcard include/config/numa/balancing.h) \ $(wildcard i [premature EOF] Instead of the regular rules that end in: $(wildcard include/config/memory/hotplug/sparse.h) \ mm/pgtable-generic.o: $(deps_mm/pgtable-generic.o) $(deps_mm/pgtable-generic.o): [regular EOF] Manually removing the corrupted .o.cmd dot file solves the bug. There's no reproducer other than Ctrl-C-ing large build jobs a couple of times. Thanks, Ingo