Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp55047pxb; Tue, 14 Sep 2021 18:29:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHn9scpBJkYI7DUdoEltb9J5HO7XGveYz6snpIswN2WVHv7DaUMxmdevqIjV/zewv/n1xX X-Received: by 2002:a2e:b4b0:: with SMTP id q16mr17463512ljm.184.1631669365069; Tue, 14 Sep 2021 18:29:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631669365; cv=none; d=google.com; s=arc-20160816; b=kg4d8eGYOqf/m9PvZG4g/GgfIyvqJ3WEz4MAk055bX0rPGqTZJroc21+ltjq/7KBF1 qpXn7empI8z9OyUpAapcgLozXIFC2ECzW1RtvvbAGLX8D8msFCaZtSvHHKBvHlfehzG5 pfPA9heHxE6+8sG92i/toCqEMSCG+CKjOEcPDQ/TxTXfJxWJnGYMwlI+w7gJ8L2FOT62 PT9yaJR9NJW/sBbmObjLNJhn/Gwxw9mQmN9U4FGxjjnMWIfHx7JjNXH+/mFWZUvLasiv w1LHl6MsewhQaboaagwOKyd3P3bFeK8EEP+dVX5uiAg/RPQzddjapuSaAtKrmBZ3Wl9Q oIVQ== 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=GoGm5O+ow90Cqr/E9L3Yu+JTMAfV8eUNl67kocs7XI0=; b=cQYPJdz9zHZ5bsuTP7n+Bof9WmwK5aOQdEl3YNdhVcMVxr8yvPT5eKL9cPN4AY5wDO 4LTp4JS9ca/3dwkWk/sQnRbZ3x2yuQXUdZdX2UH+5U+ejWsK9ZZMqEzOnW8xT6SPaUz7 hNw7JnXpQEqysvZEeV92hJ/NV4uuRUO/G/fDO1PvUBHylFzC++gCBgyswKNKTINyf3nA UayAWgK6IxyptF4PZCY9zLfuFdaAyznwhXcHDwF9C2CVCQM+YJjvoOsWKSUSAiYtD1yR /+1TGep3eJbsid48P6XmBxwxHz/42TJOXfHOeNttuNwOmi1kJAaWeXtVvCq1tfFP1atI 6HRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=IXeGBVgH; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h3si8897807lfc.136.2021.09.14.18.28.57; Tue, 14 Sep 2021 18:29:25 -0700 (PDT) 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=@gmail.com header.s=20210112 header.b=IXeGBVgH; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231250AbhIOB2q (ORCPT + 99 others); Tue, 14 Sep 2021 21:28:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230087AbhIOB2q (ORCPT ); Tue, 14 Sep 2021 21:28:46 -0400 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40169C061574; Tue, 14 Sep 2021 18:27:28 -0700 (PDT) Received: by mail-pj1-x102c.google.com with SMTP id u13-20020a17090abb0db0290177e1d9b3f7so3712185pjr.1; Tue, 14 Sep 2021 18:27:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=GoGm5O+ow90Cqr/E9L3Yu+JTMAfV8eUNl67kocs7XI0=; b=IXeGBVgHIKJKRUxsB4YmR9UUS7g7PzbogEmIMR1Lt1ODl20BSXgX3o2+a7bc84V2bV jnRFDxl6lqQsa0f2s9zkPg2BCZ2BaP6RBq3heuTHBI7QMZhDrMD2OxLf+d6Q89CLu+zU r8XSI/BIKos5vWi8h6oOu2Gg5O0lNz9P4BM5jfxoyb3xS6nGcUFFCWmD3TnI2uZxQJqM +Qr/1pozTTfFNnDMDaDhpUu61+pE02DXMKtCbU8UGAIB0M7K9xmFIpWwDIy2joZ907Ln OLOn06P9S+3/P6rct3LCCVXsPPr6LGJFbC94uT82ch4d6PXkbIUe/1QtYpxoTh+jO2yb wfdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GoGm5O+ow90Cqr/E9L3Yu+JTMAfV8eUNl67kocs7XI0=; b=y+4fEMM012vL5X5Gnmi0TqtDB6JmBcA5Yc71I8k6G47IZB7nPtnY/aepZVQH5DkQ52 /pf33s1Dt2jF804X1SGojBkune+SxwarD+SbfOpr7jaWWj9Gkx43eTLFVmMWepyYg8rQ yUDUu32Vw4jD28PxmuzrlIPcpqm+pznQplRsOHpofSrK3sc2KN4pF4yYdjwO9hQ79RuA iJ0aK/57XLDz5nNonxBxB2j6umlykMiDaqVBatw2MME/Zv0wbzt/K/T42onQVCuXJFTP h7pdt1G6jJuoQl1/KaWU803YepzM26gYD/BK7qESWsRjzMcjMamj2A5UrLK+2h1/dQE8 D7Ug== X-Gm-Message-State: AOAM5318F1FE8CoM4tW+DmBMn6DJGnaTB1QFf0YFj743zAbXN8Ku5NG7 iJksnnJZyvPEzANlKQEI5CH/4EuOJ1LRaZppe6k= X-Received: by 2002:a17:90a:450d:: with SMTP id u13mr5438352pjg.138.1631669247645; Tue, 14 Sep 2021 18:27:27 -0700 (PDT) MIME-Version: 1.0 References: <20210914113730.74623156@canb.auug.org.au> <20210915093802.02303754@canb.auug.org.au> <20210915095942.3f8c2dcc@canb.auug.org.au> In-Reply-To: <20210915095942.3f8c2dcc@canb.auug.org.au> From: Alexei Starovoitov Date: Tue, 14 Sep 2021 18:27:16 -0700 Message-ID: Subject: Re: linux-next: build failure after merge of the bpf-next tree To: Stephen Rothwell Cc: Andrii Nakryiko , Daniel Borkmann , Alexei Starovoitov , Networking , Andrii Nakryiko , Quentin Monnet , Linux Kernel Mailing List , Linux Next Mailing List , Arnaldo Carvalho de Melo , Jiri Olsa , David Miller Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 14, 2021 at 4:59 PM Stephen Rothwell wrote: > > Hi Andrii, > > On Tue, 14 Sep 2021 16:40:37 -0700 Andrii Nakryiko wrote: > > > > On Tue, Sep 14, 2021 at 4:38 PM Stephen Rothwell wrote: > > > > > > Hi Andrii, > > > > > > On Tue, 14 Sep 2021 16:25:55 -0700 Andrii Nakryiko wrote: > > > > > > > > On Mon, Sep 13, 2021 at 6:37 PM Stephen Rothwell wrote: > > > > > > > > > > After merging the bpf-next tree, today's linux-next build (perf) failed > > > > > like this: > > > > > > > > > > util/bpf-event.c: In function 'btf__load_from_kernel_by_id': > > > > > util/bpf-event.c:27:8: error: 'btf__get_from_id' is deprecated: libbpf v0.6+: use btf__load_from_kernel_by_id instead [-Werror=deprecated-declarations] > > > > > 27 | int err = btf__get_from_id(id, &btf); > > > > > | ^~~ > > > > > In file included from util/bpf-event.c:5: > > > > > /home/sfr/next/next/tools/lib/bpf/btf.h:54:16: note: declared here > > > > > 54 | LIBBPF_API int btf__get_from_id(__u32 id, struct btf **btf); > > > > > | ^~~~~~~~~~~~~~~~ > > > > > cc1: all warnings being treated as errors > > > > > > > > > > Caused by commit > > > > > > > > > > 0b46b7550560 ("libbpf: Add LIBBPF_DEPRECATED_SINCE macro for scheduling API deprecations") > > > > > > > > Should be fixed by [0], when applied to perf tree. Thanks for reporting! > > > > > > > > [0] https://patchwork.kernel.org/project/netdevbpf/patch/20210914170004.4185659-1-andrii@kernel.org/ > > > > > > That really needs to be applied to the bpf-next tree (presumably with > > > the appropriate Acks). > > > > > > > This is perf code that's not in bpf-next yet. > > Then you need to think of a solution for the bpf-next tree, as it will > not build (allmodconfig) when combined with Linus' current tree. And > when it is merged into the net-next tree, that tree will be broken as > well. It's not a problem of bpf-tree and it cannot be fixed in bpf-tree. The bug is in perf tree.