From nobody Tue Apr 05 23:25:55 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B0D9D1A99682; Tue, 5 Apr 2022 23:25:57 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KY3fs4hK8z3QsF; Tue, 5 Apr 2022 23:25:57 +0000 (UTC) (envelope-from jhb@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649201157; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=o7wuw04tZNrUMEg+/1pBZhDyH5w9rMe5VDsLJEFhuMM=; b=uh9EqtijShRDmoPR5AQQIucVAIfZaO3RDGHgzxw6sJZfSMZL8W84ZLBV8pu5EFrHD90eC1 1dg+O7B2jZCGsMG4Pa+66o8FnFpVDwjJIckOOW3c014Cop41BqbwCsApikebXn8QuzGf8Z ircS5GzdBfif00n3Z6rIru5Mb1X6Iqf5FUV+BGH525YI+g3IpPLBD8WuZkO6SQE906xunh gYtEujWT0QbeacL35rNbCJyefc0CaTVUdX9NSXndRn3MiYCWl4iH1cAg7kMbvJYy6ercmP no6Xez64y3lGPlIOvK6OUdXIc6lxtjSw7wJCmAOSn/FNpTdO0Y5TVchRQ631BA== Received: from [10.0.1.4] (ralph.baldwin.cx [66.234.199.215]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: jhb) by smtp.freebsd.org (Postfix) with ESMTPSA id F1D962966A; Tue, 5 Apr 2022 23:25:56 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Message-ID: <90392059-46da-2731-c719-1157fe5a9131@FreeBSD.org> Date: Tue, 5 Apr 2022 16:25:55 -0700 List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: git: e8e691983bb7 - main - suppress set but not used warnings for kernel builds Content-Language: en-US To: Robert Wing , src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org References: <202204052143.235LhZjO001238@gitrepo.freebsd.org> From: John Baldwin In-Reply-To: <202204052143.235LhZjO001238@gitrepo.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649201157; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=o7wuw04tZNrUMEg+/1pBZhDyH5w9rMe5VDsLJEFhuMM=; b=clV+Im+023wQGTQ8h0vRseP4yDCLJ+T3NR5M46qxoy4Z3SC8kaibT0lX/yKMea9ly7Pg64 DMl2p7POigQWjfPnwPUOr9iAmIfhRpyrT5ZlJfxHFatcm/lHc/xUuL/tu3k5CI2qiy3IrW 3WxKloMBqREIY56H0Xy0wBQ6DZUhJc47rQXDyy2BtWzRBGTATZpBjVNEbw2nAOmCH0h4e3 NsaFRHXtSRlXqPssgmG/C3uxZtNJO/Te/Ye14O21b6raPVWTkWfZmn8HehYgJvxSr3Xth2 a+JqZZSICGF5/Uv1T5DpBxQvqyKzSwxrqAB/U3UigIsWwRXFSkL8v7f5VGubEw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649201157; a=rsa-sha256; cv=none; b=wZgCoWVsnU3nZhk1BSSH/ZJWBHJ1Nc69rn4qCBnbjtWJO5ZZcdBA00oNqi8zjyBbu9SKBE mAkoeOuU06rozz/vo+zer0uI2eY8kbkIH9jZ3cDfHUtlvx2xdLF7QYsbmfD3K7c0gke3uO 7RhqtUfmDZzjIN2sbaI15TFRTKkhcW5unFnTY29ZaxzzwV9pDVG4/bYilM2Q27Nvjogelv kqSvQGLj7emojUdrKgo81mV0r5bT1patmtdIyxdQFcu1Qt5UZexjjrbM95+7K6QmP/ByD+ umO6wKLqRuEE/Djtqse9BZZx+7JplZoC04Qf5tn0GzrSDv/ClAlZaU0ccS9y2Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On 4/5/22 2:43 PM, Robert Wing wrote: > The branch main has been updated by rew: > > URL: https://cgit.FreeBSD.org/src/commit/?id=e8e691983bb75e80153b802f47733f1531615fa2 > > commit e8e691983bb75e80153b802f47733f1531615fa2 > Author: Robert Wing > AuthorDate: 2022-04-05 21:28:54 +0000 > Commit: Robert Wing > CommitDate: 2022-04-05 21:34:34 +0000 > > suppress set but not used warnings for kernel builds > > Use -Wno-unused-but-set-variable for kernel builds with clang13. > > To turn this warning back on, set the following in src.conf: > WITH_SET_BUT_NOTUSED_KERNEL_WARNINGS= > > Reviewed by: mjg, imp > Differential Revision: https://reviews.freebsd.org/D34784 Can you apply the same logic for GCC as well (also in kern.mk)? -- John Baldwin