Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6289267rdb; Mon, 1 Jan 2024 17:18:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IF2L1sR1JGTZ5yUL+l4M5IgETa2OkRG9/ViL3D+1vLFkPsHBf1OSt4+rvIZRUREE2ft7m6e X-Received: by 2002:a05:6808:2f1a:b0:3bc:9f3:aef7 with SMTP id gu26-20020a0568082f1a00b003bc09f3aef7mr3276943oib.105.1704158325812; Mon, 01 Jan 2024 17:18:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704158325; cv=none; d=google.com; s=arc-20160816; b=y4IuU617bRUYG/Y/vMXukLrh877iCs/Fx7bbZT7sovPqpOFxufZcGlLrks0QdJnWk0 KtFHkBF8ex6/AWodubu9JCMLXu8rmfpPET2CHTwhDYsZrrjVrsQrU5TtpzdL1a/O+75A sn7z8PfU7TTB6csek2JNzzVPADskZeDcNGFAhVN8mcxC71Zyzpt9EypVSoEFLYOxQDq+ YsffVew0oeovM4TOqgYFlSa5MJkdbPSN+cCYS62tun8vLDrRZzDBuaMAkLCAK7JmvpWE laual0wUdFckTNtQgeoCX/hfPQZyPGpGuRArJGft/YLHXuq8qt/v+6YhTXU9OIPHP+PE +eKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=zRWE3E5XMrumruVdwn+4Yp8n2CImJBlUHIVxV/N3g8o=; fh=4Xj0UEmndZZiKcvUT3Ubul1ofi3oA5SCmLLENUZX3I0=; b=CPEl/byjk5kaTgbLdsn80Vzk9+9g6XmkCX3K562vBd1C+zpBfIGTg6F7BBOEiCjiNr KQxYU+FOvRqR3MOfkptEmZurBQAx6SeUjvVkttMq2Rxi8EC9i6sfR1qkQaoU+09YPi77 kCy184EwluMUtdI61HW0H/j2ibOB/1PI/pzWIHXo1uV+Cv+ZoMQKZI4GgfM0i/Qb1d6U FiFLnJz4g8oLwWw9WkapgyOf2oTzouEx1IMaS9uRPLvti8tcmVGtOD5HJLxSEBgnCRmU 6zlUkDDvPzutBDsgEnl8cfSRSxlPwZc+nl29akldFaEU/b+6P/DReyNYkyXyE7uAcfT/ M0Sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=EbE2JiAj; spf=pass (google.com: domain of linux-kernel+bounces-13966-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13966-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id e12-20020a170902784c00b001d3df35d8e4si19034048pln.127.2024.01.01.17.18.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 17:18:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13966-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=EbE2JiAj; spf=pass (google.com: domain of linux-kernel+bounces-13966-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13966-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 6F02B281668 for ; Tue, 2 Jan 2024 01:18:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 86C09A3C; Tue, 2 Jan 2024 01:18:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="EbE2JiAj" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 91EDC390 for ; Tue, 2 Jan 2024 01:18:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-1d420aaa2abso30483835ad.3 for ; Mon, 01 Jan 2024 17:18:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1704158316; x=1704763116; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=zRWE3E5XMrumruVdwn+4Yp8n2CImJBlUHIVxV/N3g8o=; b=EbE2JiAjcRZefpwwQV36HgERWZ90KV74QcoUVCzayDpOgJUJnXkZxGavMLbStDBQAZ A/AYWfQhz6dVybZ/1vVpc6xUPtHyGqQF/L6ycKBzUcfdKs5sunfJmuS3HDxbncKT7yxi X+vipx+kkpwfafiUPCARKAIcSBXkNMFDQFsSY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704158316; x=1704763116; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=zRWE3E5XMrumruVdwn+4Yp8n2CImJBlUHIVxV/N3g8o=; b=bv7pyA5TZvG6DK9Do7SY6BDQJZJYAtBJ5cM/JnYF/5O6XFFzliIBcmTyBAYXFOTK/x BDPqo+BU9BCPpwhSgc1272lK4S4Dj6teiDTZYlMTG7bs36JHwCjrPZLo+gzfVxzb/86m tJ+jMHQGwWdCkN3/NF6HqtzY6vuM+5lNW5zmMfhod55piGvg9pnD/DLr3ivdBGyIUKs0 pvMcc6lpJrG0Jo7oqfmj22Y1oHhoNJfZ6EQBzvHR/tvCQgfg3qcSMePjKcm8eKkupwwj su7O7FA3d+QbDOwrm1pUljpCcOAWZ/yNjvq1fnEIKogap/Ox5Ka7tFfWUhiqk/e8eeIh F54A== X-Gm-Message-State: AOJu0YxzAiXuhngas3DHc9nQ9NxtwK2sNJzOaPVPE+vObuFtjIBFXGPP xVADQWDRbTSLlSPy6uDOigNtf4HYK7T+ X-Received: by 2002:a05:6a20:7495:b0:196:dff9:3989 with SMTP id p21-20020a056a20749500b00196dff93989mr730269pzd.64.1704158315944; Mon, 01 Jan 2024 17:18:35 -0800 (PST) Received: from google.com (KD124209171220.ppp-bb.dion.ne.jp. [124.209.171.220]) by smtp.gmail.com with ESMTPSA id p18-20020a170902ead200b001d4bb7cdc11sm1924886pld.88.2024.01.01.17.18.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 17:18:35 -0800 (PST) Date: Tue, 2 Jan 2024 10:18:30 +0900 From: Sergey Senozhatsky To: Masahiro Yamada Cc: Sergey Senozhatsky , Patrick Georgi , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Stefan Reinauer Subject: Re: [PATCH] kconfig: WERROR unmet symbol dependency Message-ID: <20240102011830.GB21409@google.com> References: <20231122034753.1446513-1-senozhatsky@chromium.org> <20231128053443.GA6525@google.com> <20231129041307.GB6525@google.com> <20231222025701.GA3568309@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On (23/12/29 22:41), Masahiro Yamada wrote: > > > > We do exit(1) for KCONFIG_WARN_UNKNOWN_SYMBOLS in conf_read(). > > > > > > > > I can introduce two new helpers that will tell if confdata.c and symbol.c > > > > triggered any warnings and if KCONFIG_WERROR is set. And then different > > > > code paths can call them and handle exit gracefully, depending on the > > > > context (ncurses, menu, etc.). > > > > > > > > Something like this > > > > > > > > > I do not want to patch warnings one by one. > > > > > > > > > I will take some time to think about it. > > > > Gentle ping on this. > > > > We are not concerned with every possible warning at the moment, however, > > we do want the critical ones from CI and (semi)automated continuous uprev > > PoV to be covered by WERROR. We do experience real life problems with > > "missing direct dependency" not being a terminal condition under WERROR. > > > Applied to linux-kbuild. Thanks!