From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by sourceware.org (Postfix) with ESMTPS id 541C63858C39 for ; Thu, 7 Sep 2023 11:22:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 541C63858C39 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=goodmis.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E3BBCB81856; Thu, 7 Sep 2023 11:22:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A96C8C116C8; Thu, 7 Sep 2023 11:22:31 +0000 (UTC) Date: Thu, 7 Sep 2023 07:22:45 -0400 From: Steven Rostedt To: Segher Boessenkool Cc: Dan Carpenter , Dave Chinner , Guenter Roeck , Christoph Hellwig , ksummit@lists.linux.dev, linux-fsdevel@vger.kernel.org, gcc-patches@gcc.gnu.org Subject: Re: [MAINTAINERS/KERNEL SUMMIT] Trust and maintenance of file systems Message-ID: <20230907072245.666b2fda@gandalf.local.home> In-Reply-To: <20230907110409.GH19790@gate.crashing.org> References: <8718a8a3-1e62-0e2b-09d0-7bce3155b045@roeck-us.net> <20230906215327.18a45c89@gandalf.local.home> <4af7c904-ac36-44c9-83c4-2cb30c732672@kadam.mountain> <20230907110409.GH19790@gate.crashing.org> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Thu, 7 Sep 2023 06:04:09 -0500 Segher Boessenkool wrote: > On Thu, Sep 07, 2023 at 12:48:25PM +0300, Dan Carpenter via Gcc-patches wrote: > > I started to hunt > > down all the Makefile which add a -Werror but there are a lot and > > eventually I got bored and gave up. > > I have a patch stack for that, since 2014 or so. I build Linux with > unreleased GCC versions all the time, so pretty much any new warning is > fatal if you unwisely use -Werror. > > > Someone should patch GCC so there it checks an environment variable to > > ignore -Werror. Somethine like this? > > No. You should patch your program, instead. One easy way is to add a > -Wno-error at the end of your command lines. Or even just -w if you > want or need a bigger hammer. That's not really possible when bisecting a kernel bug into older kernels. The build system is highly complex and requires hundreds of changes to do what you suggested. As it is for a bisection that takes a minimum of 13 iterations, your approach just isn't feasible. -- Steve