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 51FA7C77B7D for ; Tue, 16 May 2023 02:43:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229889AbjEPCn4 (ORCPT ); Mon, 15 May 2023 22:43:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229544AbjEPCny (ORCPT ); Mon, 15 May 2023 22:43:54 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BD9B35BD for ; Mon, 15 May 2023 19:43:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1684205032; x=1715741032; h=date:from:to:cc:subject:message-id:mime-version; bh=H1U9xMhXr8FqMhKbC1tEJUax78hOM+3o9mokfN6qtgY=; b=OsEbUxQMmE+cwp6FzU1/SNvC3oZbueFwa6/SU/cEVTjP5WDGxtkBMD6y SI/BoEqY+ZZmF3llQ2Z04/mxqwoJXwfGQtsX8uwXB5ynfPnNeuh4CTWwP tG/VOJmXeHhTdkBVd+Ozq6Q9edyLZqmAH447VB5fgpG02Ma+0jwrJlooU LuuMhWhB1TiNy80OcSCrSaiDTtwxAgabZApIJCc9lQLwFFxklatQJHoDZ fYk7PddH6bg7cA7hux2wKh0JkQy+ZYyU90ty6+HJ5AYPGz7tbbAZWrI6u JEm1gm0T8lhnS/OIjBj61xyCMnJor6qU4y6ZJocplrYmGuDlN8EmA1ULP w==; X-IronPort-AV: E=McAfee;i="6600,9927,10711"; a="340729560" X-IronPort-AV: E=Sophos;i="5.99,277,1677571200"; d="scan'208";a="340729560" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 May 2023 19:43:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10711"; a="947665405" X-IronPort-AV: E=Sophos;i="5.99,277,1677571200"; d="scan'208";a="947665405" Received: from lkp-server01.sh.intel.com (HELO dea6d5a4f140) ([10.239.97.150]) by fmsmga006.fm.intel.com with ESMTP; 15 May 2023 19:43:50 -0700 Received: from kbuild by dea6d5a4f140 with local (Exim 4.96) (envelope-from ) id 1pykfF-0006tc-2h; Tue, 16 May 2023 02:43:49 +0000 Date: Tue, 16 May 2023 10:43:00 +0800 From: kernel test robot To: Changbin Du Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Andrii Nakryiko Subject: Error: failed to load BTF from vmlinux: No data available Message-ID: <202305161058.hUHyPIjv-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Changbin, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f1fcbaa18b28dec10281551dfe6ed3a3ed80e3d6 commit: acd3b7768048fe338248cdf43ccfbf8c084a6bc1 libbpf: Return -ENODATA for missing btf section date: 4 months ago compiler: gcc-11 (Debian 11.3.0-12) 11.3.0 reproduce: # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=acd3b7768048fe338248cdf43ccfbf8c084a6bc1 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout acd3b7768048fe338248cdf43ccfbf8c084a6bc1 make O=/tmp/kselftest headers make O=/tmp/kselftest -C tools/testing/selftests If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202305161058.hUHyPIjv-lkp@intel.com/ All errors (new ones prefixed by >>): libbpf: failed to find '.BTF' ELF section in vmlinux >> Error: failed to load BTF from vmlinux: No data available -- libbpf: failed to find '.BTF' ELF section in vmlinux >> Error: failed to load BTF from vmlinux: No data available make[3]: *** [Makefile:204: tools/bpf/bpftool/vmlinux.h] Error 195 make[3]: *** Deleting file 'tools/bpf/bpftool/vmlinux.h' make[2]: *** [Makefile:113: bpftool] Error 2 make[2]: *** Waiting for unfinished jobs.... libbpf: failed to find '.BTF' ELF section in vmlinux >> Error: failed to load BTF from vmlinux: No data available make[3]: *** [Makefile:76: tools/bpf/runqslower//vmlinux.h] Error 195 make[3]: *** Deleting file 'tools/bpf/runqslower//vmlinux.h' make[2]: *** [Makefile:122: runqslower] Error 2 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests