From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC9E7C76195 for ; Wed, 22 Mar 2023 18:37:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230172AbjCVSh4 (ORCPT ); Wed, 22 Mar 2023 14:37:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230319AbjCVShx (ORCPT ); Wed, 22 Mar 2023 14:37:53 -0400 Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73BE165054 for ; Wed, 22 Mar 2023 11:37:48 -0700 (PDT) Received: by mail-qt1-x835.google.com with SMTP id d75a77b69052e-3e390e23f83so16181cf.1 for ; Wed, 22 Mar 2023 11:37:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1679510267; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=qEa8ZQqJY8c5a1eI+uTtPtBep6jdcYziCgq9THKTvCo=; b=iaBltZp9qgru2Qr3xnojKVvwqTNKD1oPtsnZa8t+n6FSRhnJGOH5TcIWXWcKka995w CMBwMzxyQl1qczGtBz+RjE3CvIWwXWJVXMUq2QWAD8+o7RmzsWK8jldL6jNLlrq4DgWG shn0ET5yp2w2CodN/m9HhGBuAeQhBPhB2zS0heDVySNeQcFQn2K3y+C+DhDN1CtnlVd7 wHQ/fYSWSbz4XJRmyu/FJ3AQ6TVq3Gz2MS3KkYo8rH0SXQMMGT7uGtHPnPkh/wQX7I7n o6Y9Nn40NoBRSjdBhP21GmzrCvXHZn/93Ujy+Zl4v4EpZF+8PRT2dkMG9xSvqJnlFvtL 75YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679510267; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qEa8ZQqJY8c5a1eI+uTtPtBep6jdcYziCgq9THKTvCo=; b=kGkCQrz4tpFDy4CXJU86/Mm4LIjn6rHogR1OwLixFhScTNkLMh9h4nPoqACrg6KfS3 Kcd3iddmUqA2gLB8gKQs1QVeJxttWCBkN0oBjS8nO2RAiD5Gp7XYp9CxwVyjDKRd9raJ jaF4gXFi42Pn6vwvWas+Gi8GHHgLJkuLApVsCortr2Wz0iJUEqRuUd7ZT5OOg+0e13cI qadMv6oH+f9fQNb8f793cFverG0mpgseXqNtK98CL08gT021z8RvdXxQ9eGxWZONcmZO 8ENmP90FcWN7Za4xQmj/65JK4XiCA/8DHNCNyd/4Y2DqPxdMmQ84vAnJyRKYZKr/dEMU K0OA== X-Gm-Message-State: AO0yUKW7pPnDo6ykvSoLHMmonQgMrzHd4WJBVJkty6rA5QURgNcqpMOV 4+N4XKVJ597l06BgW7ZQh11CllNNLolDdQTA5KB28kALmXNA+HqzjqDjLg== X-Google-Smtp-Source: AK7set8+MTulszs4pATd9dbsaBEA2GjVGj0CpFE+w5e7zQlI3EMpBbPUC3d6xZYXZOaX04NLlz87Jx3DafILCumhHVw= X-Received: by 2002:a05:622a:1a16:b0:3e3:7d41:719c with SMTP id f22-20020a05622a1a1600b003e37d41719cmr476728qtb.1.1679510267435; Wed, 22 Mar 2023 11:37:47 -0700 (PDT) MIME-Version: 1.0 References: <20230317095025.49aa34f9@canb.auug.org.au> <20230322083956.5c051777@canb.auug.org.au> In-Reply-To: <20230322083956.5c051777@canb.auug.org.au> From: Ian Rogers Date: Wed, 22 Mar 2023 11:37:31 -0700 Message-ID: Subject: Re: linux-next: build failure after merge of the perf tree To: Stephen Rothwell Cc: Arnaldo Carvalho de Melo , Linux Kernel Mailing List , Linux Next Mailing List , namhyung@kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 21, 2023 at 2:40=E2=80=AFPM Stephen Rothwell wrote: > > Hi all, > > On Fri, 17 Mar 2023 09:50:25 +1100 Stephen Rothwell wrote: > > > > After merging the perf tree, today's linux-next build (native perf) > > failed like this: > > > > Auto-detecting system features: > > ... clang-bpf-co-re: [ [32mon [m ] > > ... llvm: [ [31mOFF [m ] > > ... libcap: [ [32mon [m ] > > ... libbfd: [ [32mon [m ] > > > > make[1]: *** Deleting file '/home/sfr/next/perf/util/bpf_skel/vmlinux.h= ' > > libbpf: failed to find '.BTF' ELF section in /boot/vmlinux-6.0.0-5-powe= rpc64le > > Error: failed to load BTF from /boot/vmlinux-6.0.0-5-powerpc64le: No da= ta available > > make[1]: *** [Makefile.perf:1075: /home/sfr/next/perf/util/bpf_skel/vml= inux.h] Error 195 > > make[1]: *** Waiting for unfinished jobs.... > > make: *** [Makefile.perf:236: sub-make] Error 2 > > Command exited with non-zero status 2 > > > > To be clear this is a native build of perf on a PPC64le host using this > > command line: > > > > make -C tools/perf -f Makefile.perf -s -O -j60 O=3D../perf EXTRA_CFLAGS= =3D-Wno-psabi > > > > (I could probably remove the EXTRA_CLFAGS now that I am building with > > gcc 12.2) > > > > I don't know which commit caused this. > > > > I have used the perf tree from next-20230316 for today. > > I am still getting this build failure. Hi Stephen, The build failure is intentional as not having BPF skeleton support in the perf tool will remove features. I've just sent: https://lore.kernel.org/lkml/20230322183108.1380882-1-irogers@google.com/ Which will recommend adding NO_BPF_SKEL=3D1 to your build options when this failure occurs. I didn't think a features test was appropriate for this as the feature test would basically replicate the vmlinux.h generation and I didn't want to move that support through the build system. Thanks, Ian > -- > Cheers, > Stephen Rothwell