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=-18.2 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_IN_DEF_DKIM_WL autolearn=unavailable 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 AFD89C4361A for ; Fri, 4 Dec 2020 01:14:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 66A72224B1 for ; Fri, 4 Dec 2020 01:14:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388277AbgLDBOP (ORCPT ); Thu, 3 Dec 2020 20:14:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388147AbgLDBON (ORCPT ); Thu, 3 Dec 2020 20:14:13 -0500 Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F0F7C061A51 for ; Thu, 3 Dec 2020 17:13:27 -0800 (PST) Received: by mail-pl1-x644.google.com with SMTP id t18so2199253plo.0 for ; Thu, 03 Dec 2020 17:13:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AOrxpQhrFGHGfq5Ytdkq3w2p+LsOF6MEvdPgcjVv8Sc=; b=dYGhk5TPgQApAfyW6kfJli7dLYhltigAJySRYODCTXwN6s84B2b2u4W2hH/iP8xJ/m JE++NMo0IX3GB+PeYMV3jPc9HtYKbO0To21Yq5a/KOZ6LqPoi5eVr6pxMXiNHNisCZon u2+awhutYMwSbdthSL0VZiDlUphO7pIt0Y76MhUECIi9w+rGqPqBxqrCcLb8TSVaV7oP 3oEUJqAvNu4i3/p43tYaYPkHgMsRIg0pSXedxfzaO62wGJd10VqYSNjtBWcXKP1jG5l7 GbphKQbQ1V9Ur0wLXRt0DSr/j9VLJJmw9aex3bO5ucsTfiqTWCwY8yweBXdMqaEb/8Bh Cpyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AOrxpQhrFGHGfq5Ytdkq3w2p+LsOF6MEvdPgcjVv8Sc=; b=aIRuSSwgtSxXJYXGOnvamHd2mm7Ktb9uOlcNRie3BudevzxvpvrklX2Zqx1OYMxZJy A3oWW9IByxVQQB6Ca3jR9h1vZBK/77wHtvDsX47yxmjyEMq69D+7mFUZCWZ5ZsBGwPTd HMC5N/QlLTChq0ScL4ARAZKKWZXNmL3wNQeCA2gsPgZ5Vfne6aS4/zy29+8eaHrtjS/l Z+NE1vNwG/sfZ5faZrunAZH9DCmPJDRe9pNUJXYzsmzhcyuXSsYk/wCQTCvxmCjETIQm EEp4AN982ewBj1kxFEZ5gocGu6xi7u0e85J5GQpV587z0wdPXPiq3WBNK6uImSKg67Be iQCw== X-Gm-Message-State: AOAM5302Tnb6ndTA89stBbhlviKz4Zkaz/TFWR/HZeOa/huvasGeoz4j aO4W8l7J5xoKOAeoi9sYRe09vE7csACOAvv07lh3Zg== X-Google-Smtp-Source: ABdhPJyzfkwgqUusexMknWv78y5y3238oFye3JoAxnJ83aVDDVd7MrMGO2rhZxY1dJFj2cdiPL+jvIOWACKbueUb8c8= X-Received: by 2002:a17:90a:6fa1:: with SMTP id e30mr1834860pjk.32.1607044406943; Thu, 03 Dec 2020 17:13:26 -0800 (PST) MIME-Version: 1.0 References: <20201204011129.2493105-1-ndesaulniers@google.com> <20201204011129.2493105-3-ndesaulniers@google.com> In-Reply-To: <20201204011129.2493105-3-ndesaulniers@google.com> From: Nick Desaulniers Date: Thu, 3 Dec 2020 17:13:15 -0800 Message-ID: Subject: Re: [PATCH v3 0/2] Kbuild: DWARF v5 support To: Masahiro Yamada Cc: Arvind Sankar , Jakub Jelinek , Fangrui Song , Caroline Tice , clang-built-linux , Nick Clifton , LKML , Linux Kbuild mailing list Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org sigh...I ran a broken script to send the series which doesn't cc folks properly. + lkml, linux-kbuild (Might just resend, properly) On Thu, Dec 3, 2020 at 5:11 PM Nick Desaulniers wrote: > > DWARF v5 is the latest standard of the DWARF debug info format. > > DWARF5 wins significantly in terms of size when mixed with compression > (CONFIG_DEBUG_INFO_COMPRESSED). > > Link: http://www.dwarfstd.org/doc/DWARF5.pdf > > Patch 1 is a cleanup that lays the ground work and isn't DWARF > v5 specific. > Patch 2 implements Kconfig and Kbuild support for DWARFv5. > > Changes from v2: > * Drop two of the earlier patches that have been accepted already. > * Add measurements with GCC 10.2 to commit message. > * Update help text as per Arvind with help from Caroline. > * Improve case/wording between DWARF Versions as per Masahiro. > > Changes from the RFC: > * split patch in 3 patch series, include Fangrui's patch, too. > * prefer `DWARF vX` format, as per Fangrui. > * use spaces between assignment in Makefile as per Masahiro. > * simplify setting dwarf-version-y as per Masahiro. > * indent `prompt` in Kconfig change as per Masahiro. > * remove explicit default in Kconfig as per Masahiro. > * add comments to test_dwarf5_support.sh. > * change echo in test_dwarf5_support.sh as per Masahiro. > * remove -u from test_dwarf5_support.sh as per Masahiro. > * add a -gdwarf-5 cc-option check to Kconfig as per Jakub. > > Nick Desaulniers (2): > Kbuild: make DWARF version a choice > Kbuild: implement support for DWARF v5 > > Makefile | 15 +++++++------ > include/asm-generic/vmlinux.lds.h | 6 +++++- > lib/Kconfig.debug | 35 ++++++++++++++++++++++++++----- > scripts/test_dwarf5_support.sh | 9 ++++++++ > 4 files changed, 53 insertions(+), 12 deletions(-) > create mode 100755 scripts/test_dwarf5_support.sh > > -- > 2.29.2.576.ga3fc446d84-goog > -- Thanks, ~Nick Desaulniers