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 233E7C433DB for ; Thu, 4 Feb 2021 03:14:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 00CA164F4D for ; Thu, 4 Feb 2021 03:14:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234132AbhBDDOe (ORCPT ); Wed, 3 Feb 2021 22:14:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233627AbhBDDOa (ORCPT ); Wed, 3 Feb 2021 22:14:30 -0500 Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2C49C061786 for ; Wed, 3 Feb 2021 19:13:49 -0800 (PST) Received: by mail-pf1-x42f.google.com with SMTP id b145so1201824pfb.4 for ; Wed, 03 Feb 2021 19:13:49 -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=GaD6sGrh13jKf92b5i6r6S0mLTiP02KjIFA6/14apQ4=; b=q3o8eGlIqp5+a/uK8OG6mfLFZt66d5ZgADuOg2NItU1LhvOO5aBYFbKRxeG4pSIQjZ p+/HbdCY46Ir4A8ECIJjeVmLZFLUm07l3eZ34KBQs2zvpykBPJVfbvKJ0CqlMAY+VcIT 2Y0B6gzYCY8X/SplzgZT+t0DthmH2ADwzetQGNu+YIzn3/bDOiaSn3N9PT/NTVWydFhK AxTSG+WIjw62xmDpwdICrz2Aj1eVJNovjN0MdNGjpDS/YHkZ90mSGtokL9IVyM7hbgMZ 0GrW9bMed2Wm8mucE4MFgNy56dqP00lYiZJrvMxKq+5/ERqj7w0MK7NQWwpxxM5hWJn8 VRVQ== 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=GaD6sGrh13jKf92b5i6r6S0mLTiP02KjIFA6/14apQ4=; b=ZMd+fmbbbRLtqDo5skcqxzK1vTMVk+5okYUu7shAoGMLLvnUntGH/6OCEuU9URsNME do1z1O6cqzz1NjJz3z5GyR1b1+9IEkZDVo9H3XxHQXDsdNTnAQ+HfjJ2R+4iAd4HOFM6 GCZAw+M93Ab6XYqp1K1wfynGVrjb0aHpmbkgvbkL7kHjGErhyVCaJp8mHjBn0YwMGSDz //nHvXW6jQRNJxpPthJIvE9bzKFk4cbTNwhv9XCDe4mc2hIw1yaiyPWRK+L5MfnO04Z3 u17tF1sujJA+v+eWmhiwaYB2taNBQFJyJGFsPjoQiG6LlEANiEyXZ6ymAQl1QupOn5MN nsVA== X-Gm-Message-State: AOAM532SkJ27lgji8IzKQXCme8VRHc2Z9TapqGwEXEUtlwOKZVfYP8HQ HNOoKVWyT1dvhw4BCRejtEk8NgUxyd+bT1MnrvMIOQ== X-Google-Smtp-Source: ABdhPJxw+Ouh0oumywhHaNdIDk3+/XTrZhogFr3Hf/FwMSKTttSmCmHb2KYldu+cjEk6OsgpvXnVx6agqWUPUWR4q5o= X-Received: by 2002:a63:7e10:: with SMTP id z16mr6908717pgc.263.1612408429056; Wed, 03 Feb 2021 19:13:49 -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: From: Nick Desaulniers Date: Wed, 3 Feb 2021 19:13:36 -0800 Message-ID: Subject: Re: [PATCH v5 0/3] Kbuild: DWARF v5 support To: Andrii Nakryiko Cc: Arnaldo Carvalho de Melo , Yonghong Song , Andrii Nakryiko , Jiri Olsa , 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: linux-kernel@vger.kernel.org On Wed, Feb 3, 2021 at 6:58 PM Andrii Nakryiko wrote: > > On Wed, Feb 3, 2021 at 5:31 PM Nick Desaulniers wrote: > > > > 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 > > > > Is there another (easy) way to get your patch set without the b4 tool? > Is your patch set present in some patchworks instance, so that I can > download it in mbox format, for example? $ wget https://lore.kernel.org/lkml/20210130004401.2528717-2-ndesaulniers@google.com/raw -O - | git am $ wget https://lore.kernel.org/lkml/20210130004401.2528717-3-ndesaulniers@google.com/raw -O - | git am If you haven't tried b4 yet, it's quite nice. Hard to go back. Lore also has mbox.gz links. Not sure about patchwork. > > > > > (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