Received: by 2002:a17:90a:bc8d:0:0:0:0 with SMTP id x13csp1571882pjr; Mon, 18 May 2020 16:44:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzmGL2EQAjkl3LM9PUuqbEJoSJelCgIFZdomgh7oQJyQoC7D90HlgynE1YQf1fmJwhRdsUb X-Received: by 2002:a50:d7c7:: with SMTP id m7mr16333189edj.101.1589845457250; Mon, 18 May 2020 16:44:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589845457; cv=none; d=google.com; s=arc-20160816; b=RLnENxv/xd0JsmFfjRJtBiivJi84gfM0HwNQs2av7Qit6b61p8rWMWRNTAMKEYDwdy V58SckGuMMDbWTGNImjbJ3vUs0CRHhQdgtsaX3MndwaqOSW3OvPifcxq1WXjhB4/lyPN 4HUcgFlppNpoN0EYrQVi31cPjTCLh4P4nC6rTedGAVZiRhBg1mdRXnfUJ+4iJxjACRR7 siiYiHMtfyC802gP7d873WxaaYx597cr1rZWTX2Dh+z+H0VD8dyWi9ix5qJfkWtdWUcv buneFh6/Kzr9c6nexBkLDmpcnXG9Zrqi2W6ooSJHRcSsY6qAsK5k9i8dToA9SiFg0xAI T/Mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=TtT+IJg36KWywBGgj8SogMtJDE2LiH8W3+tKQOdj6Mk=; b=S/OpBtBB92QdfIe57nJPcqe6ZYoem+m/qs0apopOpNWt55asfw6N6Kq0Jjdtib/fxM 7EfM4jOiiNFCux+czyod+ULmG81ls7GpYqOJAVQjj92Qmy3LXgsLDFF+2Me5SShMkCSw tZxowR/9mLvkLTWLfpQARYt3BQpuiRjMKQpsguF8ipv3MhKJhjumwb4zq0m1rO7cBMU7 PUDYygxU0ssrTs9l603GYAuqvMrv0+v3sRZvSJYcyZZZysD5NNzaAa5PaZ80eFSxlJGW 1WZ7RTy68o3OqlBfeeYXI9N5mwY6iC4sFwRC4CkzyZDgADQBMWRauKSYUefhEX3Sjrus gRLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="RAOkmH/v"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dx23si7425184ejb.181.2020.05.18.16.43.54; Mon, 18 May 2020 16:44:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="RAOkmH/v"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731143AbgERRx3 (ORCPT + 99 others); Mon, 18 May 2020 13:53:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:57336 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731136AbgERRx0 (ORCPT ); Mon, 18 May 2020 13:53:26 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3D45F20674; Mon, 18 May 2020 17:53:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589824405; bh=9WUTVBkVvOZ42jHj7RLlH/ztWyXVSliArMwmGyFVlTg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RAOkmH/vvrQQt4d8oA7Cb1R7f4Z1VTDgctFQYd7FJEByIz23Zlu34Ih7Icdrmit27 IccoFUYpJWSEXSWs/U/mX2oW603gVCpUNVUbkV6D9nHYbg9xLQgDVeiOia3V6rJg+J WTl5JvvmC+75AJEX7CakHoJblfao6kNXAckapie0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sergei Trofimovich , Jiri Kosina , Masahiro Yamada , Thomas Backlund Subject: [PATCH 4.19 80/80] Makefile: disallow data races on gcc-10 as well Date: Mon, 18 May 2020 19:37:38 +0200 Message-Id: <20200518173506.766187250@linuxfoundation.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200518173450.097837707@linuxfoundation.org> References: <20200518173450.097837707@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sergei Trofimovich commit b1112139a103b4b1101d0d2d72931f2d33d8c978 upstream. gcc-10 will rename --param=allow-store-data-races=0 to -fno-allow-store-data-races. The flag change happened at https://gcc.gnu.org/PR92046. Signed-off-by: Sergei Trofimovich Acked-by: Jiri Kosina Signed-off-by: Masahiro Yamada Cc: Thomas Backlund Signed-off-by: Greg Kroah-Hartman --- Makefile | 1 + 1 file changed, 1 insertion(+) --- a/Makefile +++ b/Makefile @@ -664,6 +664,7 @@ endif # Tell gcc to never replace conditional load with a non-conditional one KBUILD_CFLAGS += $(call cc-option,--param=allow-store-data-races=0) +KBUILD_CFLAGS += $(call cc-option,-fno-allow-store-data-races) include scripts/Makefile.kcov include scripts/Makefile.gcc-plugins