From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.3 required=3.0 tests=BAYES_00,DATE_IN_PAST_03_06, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9B78FC433E0 for ; Sat, 6 Feb 2021 05:01:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5AAE564F70 for ; Sat, 6 Feb 2021 05:01:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230344AbhBFFBD (ORCPT ); Sat, 6 Feb 2021 00:01:03 -0500 Received: from mail.kernel.org ([198.145.29.99]:46156 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231328AbhBFDg4 (ORCPT ); Fri, 5 Feb 2021 22:36:56 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 04A416500A; Sat, 6 Feb 2021 00:00:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1612569635; bh=XF+uWHXm1g4GhLFkSCQZgabMbC0W+zMiDr00i0BB7pI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=MUBkFywyjwSFpZaFfaUsNzWKizsls1f3nSxTsStEExgKF2ys/FpaDDGw/Ybdmh4re uocmD6LRTXdD22N2SOWqE5QwA+uSlmXEuX7UjSjEMly1TkGIUuU7cFDufXA6Vcv9FS DYeE+aXNXmQTlGd0m1mujbVSUP/m5ORVhqydg9+s= Date: Fri, 5 Feb 2021 16:00:34 -0800 From: Andrew Morton To: Nick Desaulniers Cc: Masahiro Yamada , Nathan Chancellor , Sedat Dilek , linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com, linux-kbuild@vger.kernel.org, linux-arch@vger.kernel.org, Jakub Jelinek , Fangrui Song , Caroline Tice , Nick Clifton , Yonghong Song , Jiri Olsa , Andrii Nakryiko , Arnaldo Carvalho de Melo , Arvind Sankar , Chris Murphy , Mark Wielaard , stable@vger.kernel.org, Chris Murphy , Nathan Chancellor Subject: Re: [PATCH v9 1/3] vmlinux.lds.h: add DWARF v5 sections Message-Id: <20210205160034.a0e0ba06752bef03e60f91f8@linux-foundation.org> In-Reply-To: <20210205202220.2748551-2-ndesaulniers@google.com> References: <20210205202220.2748551-1-ndesaulniers@google.com> <20210205202220.2748551-2-ndesaulniers@google.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 5 Feb 2021 12:22:18 -0800 Nick Desaulniers wrote: > We expect toolchains to produce these new debug info sections as part of > DWARF v5. Add explicit placements to prevent the linker warnings from > --orphan-section=warn. > > Compilers may produce such sections with explicit -gdwarf-5, or based on > the implicit default version of DWARF when -g is used via DEBUG_INFO. > This implicit default changes over time, and has changed to DWARF v5 > with GCC 11. > > .debug_sup was mentioned in review, but without compilers producing it > today, let's wait to add it until it becomes necessary. > There isn't anything in this changelog which explains why a -stable backport was requested? Or is there? Irritating linker warnings? More than that?