Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1889497pxb; Fri, 10 Sep 2021 17:12:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDGCC5ylfBh3C0YjF5VkITbIrNLLIMTbNZMhCaEjQhQM3wAG37uSw0ooPMj9km4tcHfF4M X-Received: by 2002:a05:6402:2816:: with SMTP id h22mr453678ede.146.1631319133259; Fri, 10 Sep 2021 17:12:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631319133; cv=none; d=google.com; s=arc-20160816; b=kNcgi7jVV0KrFvwcz7Nh3fjZDbAxjWuWGDouvRXa+Dh7EMb1H/fbR9AUEc2JNDmL9z wIQ1DDARmQJYlZYB6deDcDHdZAICvqXbpaQLrRdqWqriq1TiNJJTGgWEevHD1VbBMAp2 v+wTVRiV+4HWkMXnF+STa9foCl5TgSaaHlwF9m3AyBqERGmhEWrznbVTLfTjs1bTMFzl PVopnGHWktykC/d6TH26bDvZnlUgzjuhNB+E1bHQFnF9szaS6WO+eJJerqU3UYhkSgXp v66OyBV4XZ/Y82DW1Bu8FTB7MRSTQjCYXeR4AxQgDRePRLd/aMvrpKmU/AhMfO486/Wp FBHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=0ga+9MR8TCjuRvup2w9wL3wRgCRnnGpM2TM2ABW0hZE=; b=AhP7ro5O7w6RLddysI1ttjiLA5j+Ydwwg11VzWr5PHG1qBvsT2WMWwgVknoFgjkbSV EsOymMgw+TCcI7/bqNN34NZW0wSJATTnt7oLPiATcbmZEKnfaIxUcGLT3jrbVC9+O5JB EblpGbjRulo+RbR9uVga8Z/D+ShYoIENuh55YlCBzntVbblRL4hC3UzPv3PMubH6A/so ooq3RQPJHqO6eUiiosTuy3XkfnltfQtakeC4u9ISXd7LgeF/oCrIQPMTgLa9D3FaKVy1 EdBNIgOOxqXEfGPbEq9o2UyQB2xifiakGUXP//rmD6Dtlgs0ipPUBBjvJlhUBWlthRfa vU0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rNLLGz5m; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n16si139167edw.207.2021.09.10.17.11.49; Fri, 10 Sep 2021 17:12:13 -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=k20201202 header.b=rNLLGz5m; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234937AbhIKAJj (ORCPT + 99 others); Fri, 10 Sep 2021 20:09:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:48192 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233946AbhIKAJi (ORCPT ); Fri, 10 Sep 2021 20:09:38 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 199AA61153; Sat, 11 Sep 2021 00:08:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631318907; bh=Rn8JbUkAe5lHAAHM/43rtcAZCRA3lWLsjQNCfKtDhv4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rNLLGz5mZjevnGVjER83RvZyDg9GbS4TN0MzxnLwG87T8k/wYwdoXiiOuiQ2OvpQm zH8Zyg1AgiMFQQQgPGt2ILacAJgb8sX6XmxGZXeoHOE0b0yBakysLkeLdtKjw74Oa8 /tq7SNfiWf7JXrrFV/4Khg9Fg5x6v9/R12E+xaFnCu5o6Tz83ZVKwSMSFaWT+hRTql tiDm6FPPLFPY21vC/K4zS7VvxWLgU5OJUIYOVsMgFzt15Qm/IMe/8WWnp5c11p9Qs7 N3ByCBou78W14fSODhjWJWowBRo4TBo7K90152Irz/C/k1Y9YnoHy8F/DVIlUrRr1E dmBaLJ7kDCG/Q== Date: Fri, 10 Sep 2021 17:08:22 -0700 From: Nathan Chancellor To: Nick Desaulniers Cc: Andrew Morton , Linus Torvalds , Rasmus Villemoes , Masahiro Yamada , Joe Perches , Arnd Bergmann , Stephen Rothwell , llvm@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH 04/10] Kconfig.debug: drop GCC 5+ version check for DWARF5 Message-ID: References: <20210910234047.1019925-1-ndesaulniers@google.com> <20210910234047.1019925-5-ndesaulniers@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210910234047.1019925-5-ndesaulniers@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 10, 2021 at 04:40:41PM -0700, Nick Desaulniers wrote: > Now that the minimum supported version of GCC is 5.1, we no longer need > this Kconfig version check for CONFIG_DEBUG_INFO_DWARF5. > > Signed-off-by: Nick Desaulniers Reviewed-by: Nathan Chancellor > --- > lib/Kconfig.debug | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug > index ed4a31e34098..d566f601780f 100644 > --- a/lib/Kconfig.debug > +++ b/lib/Kconfig.debug > @@ -295,7 +295,7 @@ config DEBUG_INFO_DWARF4 > > config DEBUG_INFO_DWARF5 > bool "Generate DWARF Version 5 debuginfo" > - depends on GCC_VERSION >= 50000 || (CC_IS_CLANG && (AS_IS_LLVM || (AS_IS_GNU && AS_VERSION >= 23502))) > + depends on !CC_IS_CLANG || (CC_IS_CLANG && (AS_IS_LLVM || (AS_IS_GNU && AS_VERSION >= 23502))) > depends on !DEBUG_INFO_BTF > help > Generate DWARF v5 debug info. Requires binutils 2.35.2, gcc 5.0+ (gcc > -- > 2.33.0.309.g3052b89438-goog > >