Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp783645pxb; Wed, 3 Feb 2021 18:40:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJx8941SR2Wvcy6CwsIVRSBM2IZVpe4G0rRu+EBN81UEWD8BtIIJC4eo3wcIGvEECI2UiMG1 X-Received: by 2002:a50:d4c5:: with SMTP id e5mr4021779edj.32.1612406414982; Wed, 03 Feb 2021 18:40:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612406414; cv=none; d=google.com; s=arc-20160816; b=CaQisFjNoF9ueOuf0Gdm0yd2BW/ZIMR4ztfxf6FzQGsn1ONW0R5qIakhqoCQTo0upK ZTaODYqx+V2qY3A24wX0+OlTWZUnZAu8R9OImHsvNFO+pFKKWPEkBuDZsz5G9U3YP5te 5JyUlHR6f43OU9Tkb4IDhOsGJXW91Ympq+nuLr2FXCbSSPRO1vEYSQPQ77WdvrQTnhCh hnsxUkyh2jQWnU2+fnRmy+ErTul6/OBa50M5rRNG/iDpgBgKe2SWbu+NhwOoY/z7QX2g +uOK8+pkiYdmc9ilHabQeGWoAk/eu7VSKoIVncPbkTW98ray7d/ZZIHw1euxRdJnDIx9 oDsA== 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=PJqnhB5HVj5MI8qvIgTsWnsv8A6arsvgFZ5dYqMe6qM=; b=fGNbeJh4g/WyEdpYn2WGYKrmqu7k2RiPNOXcfDINHopkNEt0WBcNqXUdPweRgSOhnI M98diCNMkzJF6dGTZE4/kgzUApKAon31H2EM6tS6konkky9Pmk6icAxwMpdxSq1egQVj fWsT1sZqOOEnbh2LNpUkY802q0z0mmjHwXaUBx7yKKjVJM9VCYy/Hs313kpuR+VoinHb ZQaxkY6WTDnCOBWpUgLzMAHenKpmjn2oVCR5xxEwXKx3E61KqBvOQbM+RJ6daEe+kPdM jEWiCdRZA31BnoUxurLQcbxg3yiif0l51d6PEYVo3CLDSuHpdJnC+YM3+YeYpx/BB8F9 fzYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=m+Eh59y2; 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 rp11si2538645ejb.724.2021.02.03.18.39.50; Wed, 03 Feb 2021 18:40:14 -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=m+Eh59y2; 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 S234349AbhBDBcB (ORCPT + 99 others); Wed, 3 Feb 2021 20:32:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233788AbhBDBb6 (ORCPT ); Wed, 3 Feb 2021 20:31:58 -0500 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3890C0613ED for ; Wed, 3 Feb 2021 17:31:18 -0800 (PST) Received: by mail-pf1-x430.google.com with SMTP id i63so1047309pfg.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=YtVWB8ZPPpWixpRI6IRLXJJarFXQVXvaLNypTx9JRVACE2n4q/yZm+M9RaRThDQs0Y 8zxWTdpA9+3/2beJ3FYieKHaTsfGA6K7KIxSHPeEgo/gDVXzweI/Occto+qGH+pp/Ox3 Kp25Xa6m1LX1ZVrWJ/RnY0WmkYHVETjf93Hpfg/2e17p8SMgNmD34rSkFFLtH5zDtbVq ACpYVwwDdS8aLqsKIUzun1ZmO8z4Dfwh1xjw/xpoVwK/pafjGsDxEUiBBLFqkrlqsrf0 wZHM8xE7gGpOnUvj1PT6feNq2YKzXdbfUllZyzcepOj6fPkS5L+Kyvho0XGc3b9RcwRK BU+g== X-Gm-Message-State: AOAM533X5Ih9HsPbZ1lKQjgyxbzVFJ3qDk4yLOnfp+NMl6qN3yHU0UU7 nWxk+jZX1buuvca4HYiQlUhPk7GN5f9SXWMt89EiIQ== 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: linux-kernel@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