Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp798859pxb; Wed, 3 Feb 2021 19:16:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJxOcc+HQ76ABCmkPE1HPlrK6h5h7+9xHHY9Ge7vfqgisHKI+3HZUmj96nRhT6J97v0+CM/X X-Received: by 2002:a17:906:a669:: with SMTP id en9mr6164737ejb.353.1612408591589; Wed, 03 Feb 2021 19:16:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612408591; cv=none; d=google.com; s=arc-20160816; b=evlONJvg2cklIUCA5i35856IaHt06P0iSpZ97ZcrgpPLtFHR0ALCEYNzi2nbKWoBvW 9oR6tfx9SN/dhOYelvMlxluQWC0XsjYwYGwnMFtuGAwEcid3yz6c4DOegH97Ea+11KMv vadZtbqKXxpEX32H/D0t2EADx/wr/VIC2M/pQ4WdR4PAExDWwVh1ZObvuPmStRIjSmDH 7x05SEexvHlzAviu7mUS+v6fO8NYqrK5M3GRp7lCKAUFdXHPnGkkLibWzgyXIayUNWfd Ju3rfZi7nqmPxuM2CU0zSALJHZB1OEZ2rSIJ68vsdMBoFxtunrvJ24i6zyBhQjkcAIcn BVTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=GaD6sGrh13jKf92b5i6r6S0mLTiP02KjIFA6/14apQ4=; b=i6iZBnLSOkmy5xFH7lAcMnnaEC3nrVAnnLJD/kHbg3GXGoWnLw0EMgyd/JYn+J68tj OS9LpCKunEKj1vRn1VA5BL+EjhLVqerD09T1uHXueI5axBGuIi+/Uvu0sYyUuH2Bkqu0 s8z00MBwEMpmn70vLHAfyN2zbTaTtHHae7obV/6PBfsoS4wLHbhGvjyfEUpgT5z0c3Dt lR5LgfG8zy+oAC1Rg233MiQdEuWuQ1t6ieJWKYesGYhyC5CMO1AkmLTqi2BNy85DIadh wT663I9KeXi9O2o7mrsqGsMtXa7TcI0RX8UM0JS7+G/c8dHrS0gJDs4OSxQIrPPOMkgY fCaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=q3o8eGlI; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gz20si2625168ejb.241.2021.02.03.19.16.06; Wed, 03 Feb 2021 19:16:31 -0800 (PST) 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=@google.com header.s=20161025 header.b=q3o8eGlI; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233660AbhBDDOb (ORCPT + 99 others); Wed, 3 Feb 2021 22:14:31 -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-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