lkml.org 
[lkml]   [2020]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH v4 bpf] kbuild: fix dependencies for DEBUG_INFO_BTF
    On Thu, Apr 2, 2020 at 8:40 AM Slava Bacherikov <slava@bacher09.org> wrote:
    >
    >
    >
    > 02.04.2020 18:33, Slava Bacherikov wrote:
    > > + depends on DEBUG_INFO || COMPILE_TEST
    >
    > Andrii are you fine by this ?

    I think it needs a good comment explaining this weirdness, at least.
    As I said, if there is no DEBUG_INFO, there is not point in doing
    DWARF-to-BTF conversion, even more -- it actually might fail, I
    haven't checked what pahole does in that case. So I'd rather drop
    GCC_PLUGIN_RANDSTRUCT is that's the issue here. DEBUG_INFO_SPLIT and
    DEBUG_INFO_REDUCED look good.

    \
     
     \ /
      Last update: 2020-04-02 21:32    [W:2.700 / U:0.336 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site