Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1093634pxb; Tue, 14 Sep 2021 16:31:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLzVdobyJA8JA+TgrgaE6HOeqxb38f61i/kG1R1n8svdnm2ckjOynLNFTm6Zc/jCnA8GPt X-Received: by 2002:a2e:90ca:: with SMTP id o10mr18113179ljg.67.1631662315203; Tue, 14 Sep 2021 16:31:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631662315; cv=none; d=google.com; s=arc-20160816; b=K5LPgQPEoWlkIIIP8La2NJFLfDWvaChwhGQ1YxhzBXn39U/elxsd2OLZtA62c+UgvR inuCAOvdA+rDndOAfr1TiDu5+wjb97qq7lw9F6UQaed8vE0KVuhSuaQDVkeitkauDZah R8eIPaCewTaD+yalJ2H1SaCw2BY4qvI89813rPThVvPy8J+N7fkIl0LeOZvI2NYroUui o4SSulDF7SrpyNnsuMe7zIpskp734UaUgR1RLJjJZx0WMd6teCwaJo+x+Wu1a3OiXwol lEAUxA9PFtWiVaJklKKNziFDMFn3b/T/caLsJ46DLnDNM63HW4hGs5he7Wo1Bfz7r/ED dk3A== 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=8SPMZw7letZVOmwRFHSmDlggLNsURmXWVYspyUTzslg=; b=ZUwc8UXU0B5H2/B+7sjcmkYXODy8vsdOBNMW+o+yTyGsoL4L3dlaimWkdJW/gKU1th wa+RTQYbBb9bqCDis5epk0LskhEhvfpxBIyR2q+6bA8CYCZsIXUv0n57qYaWOi7U26V+ 6Bnf2IdWg9yUI0nXkYKPpsXUupXSf9ZdB7LRN2AWUsFxEs5Csok6ijW1mW1EX+iQtK3D cvAoUfH5D4tHu/QMEh+tQr4zZQqPJ/g1Ew8A3JNan0r8XsaI6n5YMcRiKAoHf4q9nlDi G5LsbtXMM8YwaYDYyLl9uRMixS6m2qoMGZYBiMp1Fcp5IfXUHe5O/kad2hGw9zAbo/P2 R02g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jD0s0Tcv; 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 q7si14428750ljc.58.2021.09.14.16.31.25; Tue, 14 Sep 2021 16:31:55 -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=jD0s0Tcv; 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 S232209AbhINX10 (ORCPT + 99 others); Tue, 14 Sep 2021 19:27:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229746AbhINX1Z (ORCPT ); Tue, 14 Sep 2021 19:27:25 -0400 Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C3B8C061574; Tue, 14 Sep 2021 16:26:07 -0700 (PDT) Received: by mail-yb1-xb29.google.com with SMTP id c6so1664536ybm.10; Tue, 14 Sep 2021 16:26:07 -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=8SPMZw7letZVOmwRFHSmDlggLNsURmXWVYspyUTzslg=; b=jD0s0TcvVq3Pej0Lhf7QoXgiu11fIqsMP7scn9mqJQ01rYqvm7LaCAoBIS8zZK64jp dS53GvTu+LWtfXg9aQAtbH7yW1Sah5QbYEahMeU6X1Jdi9kRNO/vkz4eo7sYBMSoKE+0 85Sa9iFS2zeQkyHnTaQqnjUxGZY8xbPToxIQsC/wK3Y9KwfabT/4pVBaVxDQN4pTpdkO 8I3aqw48UsmtmFHxt3sOejVVkw6AJbC1QQuLhA9MQ4qF0Phaxm8Wno8msPby9Ke2MmDv Vhkihy+/9grCsLqiCNBvx6k0/Qv7cCtc9Y7bqOCskOG4N/1v429JbClTN9v/0vc7395B WunQ== 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=8SPMZw7letZVOmwRFHSmDlggLNsURmXWVYspyUTzslg=; b=gDBLOG5Nji2YEdGQTCmSt4nwhBwzz5zSKGlK6p4z49/20yztdFGZ16T1UakaSjgRBd y/XsjGmlYHhhRoEUAFvAT3bz79In+qM57lo5GXiriH4veKngTdyYz1LI9BluqEndLiMg IcP2lyeaSpjA7xWO7j22ZB8rKP47dr/tNheS2+3K9yMlqhK4eeeXC3hQ4s3oLnAttdl2 dTpmWlM46NvVGX8FI8ZzS0VFvsQ7gvjsY9RyOtMfdrZQocXFPWwyIT1Cpgh+ZE4TNAQ7 PSWk3u5jpKAQkHqyYf9lMQRVQfl8GfmBtkdJGOXVJbAgpGNsFpcyB39Jg2Txa2SZ+xJl gUNg== X-Gm-Message-State: AOAM53165m0VxRNtXBQ3Tb8B6J4/Nb8J6r9fj8kRRYk6Zv0DPTtPIzr3 7UwbthejTgEbGAJ4+XwK4zaCjV+eXe67YCxXYkk= X-Received: by 2002:a25:afcd:: with SMTP id d13mr2268759ybj.504.1631661966618; Tue, 14 Sep 2021 16:26:06 -0700 (PDT) MIME-Version: 1.0 References: <20210914113730.74623156@canb.auug.org.au> In-Reply-To: <20210914113730.74623156@canb.auug.org.au> From: Andrii Nakryiko Date: Tue, 14 Sep 2021 16:25:55 -0700 Message-ID: Subject: Re: linux-next: build failure after merge of the bpf-next tree To: Stephen Rothwell Cc: Daniel Borkmann , Alexei Starovoitov , Networking , Andrii Nakryiko , Quentin Monnet , Linux Kernel Mailing List , Linux Next Mailing List , Arnaldo Carvalho de Melo , Jiri Olsa Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 13, 2021 at 6:37 PM Stephen Rothwell wrote: > > Hi all, > > 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/ > > I have used the bpf-next tree from next-20210913 for today. > > -- > Cheers, > Stephen Rothwell