Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp432229yba; Fri, 5 Apr 2019 09:27:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqwpz2vsN2PdsAF5cBXITfpuVt1530F5x0Gnv9TJOOkhrw9GlssqL5cLpexeepR2XOpkCcs+ X-Received: by 2002:a17:902:403:: with SMTP id 3mr13635976ple.48.1554481658825; Fri, 05 Apr 2019 09:27:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554481658; cv=none; d=google.com; s=arc-20160816; b=xsMktZYSAfvB8iRM8kNPu9UC7/kITuLyAeQg3XXoXN5ggl5ln0G3tSjIn0wv5Jo3SU 0QN1JoVnDgDP5FJApwUD7N9t3cs1AEoIPCr22q6c/KdH+XiKegBYTXGyOp66WrgmVl7q fZhIIOGf7uUCLFtlowSj9xvqk9H+Iv5yLJYhKC7Z102xy3N2WN/Us99Q+A62CV1zRxcu txjfEQMl2W/nqgcCji6p69VKJ5CGWUpiQzG0AFY7Zgl3+/sEyVmtsX15az8qT0q2y78S XDHQQLAbmIJh1fKg8hdXI1qhvh6jUbS4WdxL1CudxK5MFJ2BEx+Xi7H/i4pNHNXkYci6 N/5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Vq28MhcI81NEJq5PRXbO7GsJfgSysGbKVYxFa8HdTDw=; b=I8f30zFwtM/tfo1NJrb/uaxF1c/dLMGR5wmJm3sk8gBcyOYvKDcjKO0r9S3MNvfAwa 6QTi+KKVUmHisbyoG+LPXqoAGV2tQify6823vMETQGbrnk+EoE1CJjGHvEGsnsWXgFYp L+8cJLgd7p5BVafCzRdvmO5yRwHZ2fw1vve5cIP6IRBzwhuYZ6yqiC3v0UtzrO4D82YG NVDuSgG597HPtfn0kUq3Qp7xiWiH6zlSps3CrP8qIQLlyIanjUnf23mWjBDHDRYWAop/ tWDsuGhMa1ZXhJDmTVJcSp5g6bWDDRstMqR9/fl/MPCNSXOLAXAIOHASexfJ9Ti0GQnn oWYA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3si19021548pfh.36.2019.04.05.09.27.23; Fri, 05 Apr 2019 09:27:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731517AbfDEQ0b (ORCPT + 99 others); Fri, 5 Apr 2019 12:26:31 -0400 Received: from wp260.webpack.hosteurope.de ([80.237.133.29]:60268 "EHLO wp260.webpack.hosteurope.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730565AbfDEQ0b (ORCPT ); Fri, 5 Apr 2019 12:26:31 -0400 Received: from hsi-kbw-46-223-87-231.hsi.kabel-badenwuerttemberg.de ([46.223.87.231] helo=vega.skynet.aixah.de); authenticated by wp260.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1hCRfg-00035i-76; Fri, 05 Apr 2019 18:26:28 +0200 Received: by vega.skynet.aixah.de (Postfix, from userid 1005) id CF1ACE5352; Fri, 5 Apr 2019 18:26:27 +0200 (CEST) Date: Fri, 5 Apr 2019 18:26:27 +0200 From: 'Luis Ressel' To: David Laight Cc: Josh Poimboeuf , Peter Zijlstra , open list , "stable@vger.kernel.org" Subject: Re: [PATCH] objtool: Don't use -Werror Message-ID: <20190405162627.h3fadip7psc77zdf@vega.skynet.aixah.de> References: <20190405110151.2461-1-aranea@aixah.de> <20190405123909.tupbgueie4czg2dd@treble> <20190405142443.rgpwbgyym76xizad@vega.skynet.aixah.de> <20190405143926.wmrkjsazlheeg6qs@treble> <20190405160550.62arkmvj67zm6oc2@vega.skynet.aixah.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-bounce-key: webpack.hosteurope.de;aranea@aixah.de;1554481591;c5adfaf9; X-HE-SMSGID: 1hCRfg-00035i-76 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 05, 2019 at 04:16:14PM +0000, David Laight wrote: > In which case you should be looking at a way of removing -Wundef > not removing -Werror. No, my whole point is that this blacklisting approach doesn't work outside a controlled dev environment, because different compilers/compiler versions produce wildy different warnings. I'm aware of several Linux distros which remove -Werror from build systems whereever it is encountered. It's a well-known fact among distributors that enabling -Werror for production builds is a bad idea. Cheers, Luis