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.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,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 1E2CAC43381 for ; Thu, 4 Feb 2021 01:32:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CEF9364F65 for ; Thu, 4 Feb 2021 01:32:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234376AbhBDBcA (ORCPT ); Wed, 3 Feb 2021 20:32:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232478AbhBDBb6 (ORCPT ); Wed, 3 Feb 2021 20:31:58 -0500 Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CBCFC0613D6 for ; Wed, 3 Feb 2021 17:31:18 -0800 (PST) Received: by mail-pg1-x535.google.com with SMTP id b21so1006973pgk.7 for ; Wed, 03 Feb 2021 17:31:18 -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=PJqnhB5HVj5MI8qvIgTsWnsv8A6arsvgFZ5dYqMe6qM=; b=m+Eh59y2xsdnp+1LpDbiAgN0Kzvnz4LwOWrCOwMQg3rsSpuXecVX+c1HBeBVr6S2Ao 9P3QyLUTCSZfNOALC3KN63xy1dyBzY4lx3oroHYhH8zaJWS2zd87L/lSPLiUIlteDF+a 6EbAS21kqksqw6D3A84SVgapYHnnJc7SRlqThvIb35YmuckaDP3XEg5D/rumXJHIHgaK AcbXBhKhX4s8wev9BG72pyRux0z6Px5kp8IxBMAh41/zwu2HF6hqu8JWvt4qExAWP4/X 0IXOSI1zLWpIF/kn98J6ibyAYEcZEVj8o0agQb2JlrsDHSJrbWybHuPDVSSxeAp5Ekp/ RYSA== 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=PJqnhB5HVj5MI8qvIgTsWnsv8A6arsvgFZ5dYqMe6qM=; b=sOgjFEsnI5dOKcXQQ7GhopQ17hCj6wsy6cDHTega2u4yh+4l7pw+/NrH3RhPtEXGy1 ZonD0V/xbPCWGCAiE+aGGnzikV3DLHn7UHLwxNXVCAH1+FCmLcO2AyeVUmtg/lni3YCs z8uXvAu9HMXvbRwm95yOWnf5YmbNlYBKuW+cjsiGu3Ha5wEjYzuwU28L5Sz/Rcz8WwXu dh0qW7qu0X6IS5pqfusFd93IDlW6LGKjpUZKOX7ScAd76R4eLbEcs50GCI0MTsTrtfpH LG+PhpMMBMIwLZyEfaNP6wZck52ZTGun1Ah0pAy6U9lVBYAsB0yRx5K+b3iNTml8yTMH ACwQ== X-Gm-Message-State: AOAM533FkulE9Bz8JnkNdc62jqPCpa3CwVCnnU9kLHE6TmAc4epaf0vB +5ihW58Tbazj5bLvUsjBblAUNsxCz4E92TBzYYYg9A== X-Google-Smtp-Source: ABdhPJxr3rLB/E1G8S1nW2JPZMVdN7cLT+ZjzmaMOGnRre01XJb9SALC+eAJ6fFfxsy7ER8je1Qa0RSQEYA4XtApfTg= X-Received: by 2002:a63:7e10:: with SMTP id z16mr6561848pgc.263.1612402277804; Wed, 03 Feb 2021 17:31:17 -0800 (PST) MIME-Version: 1.0 References: <20210115210616.404156-1-ndesaulniers@google.com> <7354583d-de40-b6b9-6534-a4f4c038230f@fb.com> <12b6c2ca-4cf7-4edd-faf2-72e3cb59c00e@fb.com> <20210117201500.GO457607@kernel.org> In-Reply-To: <20210117201500.GO457607@kernel.org> From: Nick Desaulniers Date: Wed, 3 Feb 2021 17:31:05 -0800 Message-ID: Subject: Re: [PATCH v5 0/3] Kbuild: DWARF v5 support To: Arnaldo Carvalho de Melo , Yonghong Song , Andrii Nakryiko , Jiri Olsa Cc: Sedat Dilek , Masahiro Yamada , Nathan Chancellor , Andrew Morton , LKML , Clang-Built-Linux ML , Linux Kbuild mailing list , linux-arch , Jakub Jelinek , Fangrui Song , Caroline Tice , Nick Clifton , dwarves@vger.kernel.org, bpf Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org On Sun, Jan 17, 2021 at 12:14 PM Arnaldo Carvalho de Melo wrote: > > Em Fri, Jan 15, 2021 at 03:43:06PM -0800, Yonghong Song escreveu: > > > > > > On 1/15/21 3:34 PM, Nick Desaulniers wrote: > > > On Fri, Jan 15, 2021 at 3:24 PM Yonghong Song wrote: > > > > > > > > > > > > > > > > On 1/15/21 1:53 PM, Sedat Dilek wrote: > > > > > En plus, I encountered breakage with GCC v10.2.1 and LLVM=1 and > > > > > CONFIG_DEBUG_INFO_DWARF4. > > > > > So might be good to add a "depends on !DEBUG_INFO_BTF" in this combination. > > > > > > Can you privately send me your configs that repro? Maybe I can isolate > > > it to a set of configs? > > > > > > > > > > > I suggested not to add !DEBUG_INFO_BTF to CONFIG_DEBUG_INFO_DWARF4. > > > > It is not there before and adding this may suddenly break some users. > > > > > > > > If certain combination of gcc/llvm does not work for > > > > CONFIG_DEBUG_INFO_DWARF4 with pahole, this is a bug bpf community > > > > should fix. > > > > > > Is there a place I should report bugs? > > > > You can send bug report to Arnaldo Carvalho de Melo , > > dwarves@vger.kernel.org and bpf@vger.kernel.org. > > I'm coming back from vacation, will try to read the messages and see if > I can fix this. IDK about DWARF v4; that seems to work for me. I was previously observing https://bugzilla.redhat.com/show_bug.cgi?id=1922698 with DWARF v5. I just re-pulled the latest pahole, rebuilt, and no longer see that warning. I now observe a different set. I plan on attending "BPF office hours tomorrow morning," but if anyone wants a sneak peak of the errors and how to reproduce: https://gist.github.com/nickdesaulniers/ae8c9efbe4da69b1cf0dce138c1d2781 (FWIW: some other folks are hitting issues now with kernel's lack of DWARF v5 support: https://bugzilla.redhat.com/show_bug.cgi?id=1922707) -- Thanks, ~Nick Desaulniers