Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1932260pxb; Thu, 4 Nov 2021 10:59:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1EhR3IkeqNW1AHzNXiHh8pKknA1bFx+CVrdHw/r4HEd4mGrAXgVbKPxX/tFD7uCw+y709 X-Received: by 2002:a92:d03:: with SMTP id 3mr36570429iln.216.1636048780763; Thu, 04 Nov 2021 10:59:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636048780; cv=none; d=google.com; s=arc-20160816; b=pyrTErdDOKlv6D+IDEYAArm3olTTgQshwy8yfWOywcTraOcpKa81HnhXAxpkCIaAJd 4RyfGW8QETBSL0UP8OQ9DBSg9HqH0AF7Ag+7J9UqOwFtliLjO0SlPp4YjiuB5jSbmym9 2cr1IhjXFAn5zghi5ipE2SX49Sp1OF6Exso2ZoWXZjCMzdkYNwohq62cydDN8eG+nEhA 6VoI0Cm56IWugBFK+Zyh3/GhkzlsgtLtkA3PrHpbCv8MFU5mSgmNlnECg4UcP3NEyOS6 nQ1bBy5Z0uWUG0w32kASclptLJZlQ3CzfdH195LJkonSsvQ0OKlpCO5r5eecSl2DrPFf iA3A== 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=DPStDFw2+0Lg1MlhJeEQxDNPEkzqlTJMn986ZZm8lCI=; b=ZdtX0pEvogG4fJlmk8tjKlfeyBi6V6GQGGz5QjInm7bGBPytLWiweCJhoicoaVht/U STO8sD2WV7nHLlS89VvBl24U4Vlqc37Tf37du1U8fpCqKZhul7KpU/eJ7R56j+iIuzZ6 O52pVoHrWbg1uRpFn+u5AKl2VlZvAKy0FVqA33oZAr7a42xOM0jFkvZ49j0iT4YK628H hjXn6VYqq6XvKrHl4K+NEIUA4QDC+xqd0j2SbBy98Fw9krg6hCQ2A/k7PcehK8M2sKjQ VTdGBlbmj0KVjf7aK7JMTXixYnlvdXy0wNFGLWj3TbOjV9F8+vTcFCx4yIyuBO5RC2E6 rw4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=R1JRU1dk; 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 y6si11186772ilu.49.2021.11.04.10.59.27; Thu, 04 Nov 2021 10:59:40 -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=R1JRU1dk; 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 S232102AbhKDR7S (ORCPT + 99 others); Thu, 4 Nov 2021 13:59:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229850AbhKDR7R (ORCPT ); Thu, 4 Nov 2021 13:59:17 -0400 Received: from mail-yb1-xb2a.google.com (mail-yb1-xb2a.google.com [IPv6:2607:f8b0:4864:20::b2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 422F5C061714; Thu, 4 Nov 2021 10:56:39 -0700 (PDT) Received: by mail-yb1-xb2a.google.com with SMTP id y3so16424893ybf.2; Thu, 04 Nov 2021 10:56:39 -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=DPStDFw2+0Lg1MlhJeEQxDNPEkzqlTJMn986ZZm8lCI=; b=R1JRU1dkj1w1IkWHjbEg9yW6MSnPMZbaCvsFkQDqHVKxvueaG2XyfoMU5DcuqsXpeC HOKAvCBqZvSaLMr9SlfoAOQFUIG4ayd2Lw6xeYrsSugSQjV6mHvbFUrx6cJCeAqTln86 MREFbbBslBCSNwBTPOnzWMru5sI/d5TDHhSdcSc6w/ZdaQkbkmWj6HK0jh0/fZ8A+J4H FIOPeuQMtjlRvT6s2xac0DQzeTJ8lUq0DGJuUfdscWDb62un0+P7g/AA+x5FsDT70BAW 8Fvy1NdmlIaAZx9MYiiFenQqvPvl5L7gzksNjlX+Vmj/bc/ehc9fMswQLVzaq8JKDV0s DHEA== 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=DPStDFw2+0Lg1MlhJeEQxDNPEkzqlTJMn986ZZm8lCI=; b=S0Vmn476Yny+5oQkxQ3zMk/wdPupe9KKGpsjx7bP8ZE2XosoE1uBecffLMGfuxCwxY WbV1Vm6Lo57irT7oZzgkhzJ16pRqsWmh8Brce2WO8p+j73NSTJLijDsrsOl9p3VIg94r S3HxlEtQ+Ennr2cE8vgZieC6KvDCbeFNSyzcfx/PzUMhnWwNkvico1vWZlJexFbwSaWb fNbMlwReqhGUWt+w1zHej7/WiLMQBGnpMBaaZVyMvlrE+qqPtAwY9e0BK/YULhueVttP DjFliQ5g+hFlfe4gwJvyxMGtPMU6fsbwrpX6JWGPE+KfhitcHNgTE/R8mLF+jbfyuxUJ kZEQ== X-Gm-Message-State: AOAM531b8rY7HAw/SxBFBzLHP5Mt7KUVICuAZ7i7rvUEcJK20m5h9n29 pXc08qKtWvEBfzMVafDgUzw201crCPnmn4NwU9Q= X-Received: by 2002:a25:cc4c:: with SMTP id l73mr55747145ybf.114.1636048597996; Thu, 04 Nov 2021 10:56:37 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Andrii Nakryiko Date: Thu, 4 Nov 2021 10:56:26 -0700 Message-ID: Subject: Re: perf build broken looking for bpf/{libbpf,bpf}.h after merge with upstream To: Arnaldo Carvalho de Melo Cc: Song Liu , Jiri Olsa , Namhyung Kim , bpf , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 4, 2021 at 10:49 AM Arnaldo Carvalho de Melo wrote: > > Em Thu, Nov 04, 2021 at 02:37:57PM -0300, Arnaldo Carvalho de Melo escreveu: > > > > Hi Song, > > > > I just did a merge with upstream and I'm getting this: > > > > LINK /tmp/build/perf/plugins/plugin_scsi.so > > INSTALL trace_plugins > > To clarify, the command line to build perf that results in this problem > is: > > make -k BUILD_BPF_SKEL=1 CORESIGHT=1 PYTHON=python3 O=/tmp/build/perf -C tools/perf install-bin Oh, I dropped CORESIGN and left BUILD_BPF_SKEL=1 and yeah, I see the build failure. I do think now that it's related to the recent Makefile revamp effort. Quentin, PTAL. On the side note, why BUILD_BPF_SKEL=1 is not a default, we might have caught this sooner. Is there any reason not to flip the default? > > > Auto-detecting system features: > > ... libbfd: [ on ] > > ... disassembler-four-args: [ on ] > > ... zlib: [ on ] > > ... libcap: [ on ] > > ... clang-bpf-co-re: [ on ] > > > > [...]