From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7D542C433E2 for ; Mon, 14 Sep 2020 12:42:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3E3C5207EA for ; Mon, 14 Sep 2020 12:42:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600087333; bh=wQ6W/lHtKeNGFQRkGqrx8+4BGhd65KGYYJLCzZ3DuwM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=M5Sr8Ne67wOjNaiYFkADya/8E3r7oQw1pbaQoyPfzqA4wFfkYo4RC2HfHE82L2ztG OZsSbcyFkI4Mtbp3rO2hLqN6WbmPd0w0LwcNdR2q3xkBStD0UqxBeB6UVxpf0O/gom asVjnl41V2t1F0SX0JcutviRMicaGidTlyWwf7Vw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726467AbgINMmL (ORCPT ); Mon, 14 Sep 2020 08:42:11 -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-Google-Smtp-Source: ABdhPJwcXhdxeYD/WOSgpvYilAfrsyXX/sMKZD8EmdymNIRN4jXJaVAdNXpcdjSUxGjCTxmKYZaFuA== 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