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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 840A3C54791 for ; Sun, 10 Mar 2024 19:01:37 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6C8B56B0071; Sun, 10 Mar 2024 15:01:36 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 650BE6B0074; Sun, 10 Mar 2024 15:01:36 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4A3606B0075; Sun, 10 Mar 2024 15:01:36 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 322116B0071 for ; Sun, 10 Mar 2024 15:01:36 -0400 (EDT) Received: from smtpin28.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id AC9031207CC for ; Sun, 10 Mar 2024 19:01:35 +0000 (UTC) X-FDA: 81882048150.28.2EED3F4 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by imf03.hostedemail.com (Postfix) with ESMTP id D82D120004 for ; Sun, 10 Mar 2024 19:01:32 +0000 (UTC) Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=M2nkmhtT; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf03.hostedemail.com: domain of lkp@intel.com designates 198.175.65.9 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1710097293; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=YoKS70L2N0HnkYd2G/v+IxbraVjQOPqiCE7rJQpeJCo=; b=bW5OK0Mu7/PHmHMBFnRSDnafcJZYOogL2rJmmegqPE8hB4zEu815AuI3dD/m04z9/Zja42 Wig3n/rbMygYhZLff6gGEv9xNPsyiI97rZZZ62kHr+b94UiRGWuox1Qtng2C4Oklg/zi70 5OYUiQ9S1+KGfu/k7VWmN94EXbEeq88= ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=M2nkmhtT; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf03.hostedemail.com: domain of lkp@intel.com designates 198.175.65.9 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1710097293; a=rsa-sha256; cv=none; b=usRY6hEkqtgG1x8fMTct2dO0s1gidtpUbaqDpqStu/aJkEcAshn58OfuTPUUUlxkIAYJRx S8ScnqzF41Oldp1ZeUOIUMaMc5AdF7n7RPHbHE1mrokkjA1+gJOaNipSG3qrao5pJHm6tS Dh8tef6CmPhtl8moXLQDmgV+NvpT6OQ= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1710097293; x=1741633293; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=19CZzY4uj+c65eg3DVnL2hCMoDW5ATn0He3b7Qvp7GU=; b=M2nkmhtTovV70bhdY+scJOGc0m+ZlghIGXumOzpLz1GSkeY9fhsvwTtW 92RcZ6NYYoSo2ulE1uxp1+aIXtOnuKdIFGtrIH5CVBFh045GkE3Om7LqT QF/RAnwNJfbp/HCm//mmj9gplQPehF7EnSJsxkNlrBjCHSWc5qockfhxr vgdQwOFIxf3QcI9AzmX/jRiodwBHmbv7gnhWbxAolfNfk1M1PieRQ91g/ u+3v+VNAMVn6mv0qn/S9sypoCcgBFVWmQKp/EDDs37sDTVCmHct/hVY2l 9Ao1D2l45S6chjYjuiDVvDm9WeEiXTwZLoRfV+PRgQxaT8O53zvubcTr+ w==; X-IronPort-AV: E=McAfee;i="6600,9927,11009"; a="27226843" X-IronPort-AV: E=Sophos;i="6.07,115,1708416000"; d="scan'208";a="27226843" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Mar 2024 12:01:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,115,1708416000"; d="scan'208";a="34102885" Received: from lkp-server01.sh.intel.com (HELO b21307750695) ([10.239.97.150]) by fmviesa002.fm.intel.com with ESMTP; 10 Mar 2024 12:01:23 -0700 Received: from kbuild by b21307750695 with local (Exim 4.96) (envelope-from ) id 1rjOQC-0008UJ-2J; Sun, 10 Mar 2024 19:01:20 +0000 Date: Mon, 11 Mar 2024 03:00:32 +0800 From: kernel test robot To: Ian Rogers , Arnd Bergmann , Andrii Nakryiko , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Alexander Shishkin , Adrian Hunter , Paolo Bonzini , Shuah Khan , Kees Cook , "Gustavo A. R. Silva" , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt , Andrew Morton Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Linux Memory Management List Subject: Re: [PATCH v1 12/13] tools headers: Sync compiler.h headers Message-ID: <202403110212.7cBcgqJ5-lkp@intel.com> References: <20240310020509.647319-13-irogers@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240310020509.647319-13-irogers@google.com> X-Rspamd-Server: rspam09 X-Rspamd-Queue-Id: D82D120004 X-Stat-Signature: snn56h8q7reax86twi61h8jnjdsdt744 X-Rspam-User: X-HE-Tag: 1710097292-478650 X-HE-Meta: U2FsdGVkX1/t3dDbSRMa6SOGbkZfb9cugUWx9gJkaX33vi1TcOwE2kzOSUX+Dln498k7Cwz2s/+QRPZeGSHS5Y6wh1CjW24dkwDoHWdMG+7MeOW8isV4gsud6572kIeU1HcW9Eo+c65U86KNCQly/F9VU6TGMdz3ly0c0laWPtFEvd0UxVkshbL8CZEtQ/GQydUcUx3JRYHBlZtf1IT3S6zU+0dDZ2V+H2iXU9o5M3pbE0KVtg700FmssCSWzFj98oF+5K9UJPKbwXcyjdAfdwG4EIv40+Wix4fcYlHm2tXWQT7ZTDo5P4gpxaP0Cc59Ye4kVqj+keqwdL+hwqFyEUJTd6boHFdBEdtT73Tz86WiKnSZSouZb56lOvcSx947nOBVkdWd8ekcGkZ+LQDFsR4CZ7B6RkzYd8p46MxZn1rV4bh2cVv1FUhZU/Y1oD2pHMPeDFkEwNGzKcL36igDMhQAAMxQUKFzvGgi6oTEXjn8Z7KV42HYFjZAMF2FGf91kEUBQJz/irnWvI12FBSvKMIsst6inycSsfU+p4UtMdDXFLF08q6F0weotki7hc+D3mPBEnxbirp+AEkExNHP+bNqWHNgFOPhAHfybpsRuMLiSXpwP/N/8thIULypbDJnoRiSfKsMPuX7oG23m982wOMSVxt1fyuNoZFjFyQVJzDHoGMEk8/jNon1hvZ5n0xpds8wJAXckp96QP5uwhtr9m4obnM8M/eFp1x5aoCTjqu3Ecs3YuYunpyCIi/OYMG43kgj39XntKEYzxFgGCIR2FdWualDcfbfoJact0es5BblCHfnMuoZ1UFxlmIJHCnQz/NhtfEoUzig6T+f0Kl1CEzCpMpx5tjy7Oxn4W/HEjc3inJAlChLfRSBbETc8v/aym09J5KXFOZiUPMSjAbyq8yFpp1RuqzF/ow2Y4fOEmzdltl6Q4oBC+9h/7X60kMvChE+EtC+cMZTLgCLXsn SUyVBGwm TvF6q+LTM6UQUbap4KCgT75C1iIWHu38ZsGQfw1kt1iE7A4OE9n7cL6Z/A1w7JpFbAS5mUYK+g8XMKNthtZSwVfzQraq6IPprpOBwGdWPbC+QGa7GUw29z7GCF0A6TvorhVUYBtJ+7kU9qRiH+0cBJv3Qx0qHF3HMLPolaO93UD279o736o3iOaWvbxo2nEoqrbVYhYx54ddIPpptq3+/pXcCnI5xj6IXNxqlPAzF5ZxRYk6D19KpQYiI7kKzm9VyS/FjmMnSk9e7VSd+SDkBhFP3Ifq+iNsGENDgjC4aLoU5rTj2auj/kMl6uYtDj3CeiswJN3poZnYSdsJOwY/ljWxNLxRs905HSQmJ6EtU8pNCwWRrWAO/RNcidQSnD2GteElFmOxvjPZu9345YhQ0lqf4Nl+jhJ0PSnkgfAgDtNoxo7oKROsCxmhgtHfgubZD4qZtX6WfjwS2pZw= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Hi Ian, kernel test robot noticed the following build warnings: [auto build test WARNING on perf-tools-next/perf-tools-next] [also build test WARNING on perf-tools/perf-tools tip/perf/core] [cannot apply to linus/master acme/perf/core v6.8-rc7 next-20240308] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Ian-Rogers/tools-bpf-Synchronize-bpf-h-with-kernel-uapi-version/20240310-101251 base: https://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next.git perf-tools-next patch link: https://lore.kernel.org/r/20240310020509.647319-13-irogers%40google.com patch subject: [PATCH v1 12/13] tools headers: Sync compiler.h headers config: x86_64-allnoconfig (https://download.01.org/0day-ci/archive/20240311/202403110212.7cBcgqJ5-lkp@intel.com/config) compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240311/202403110212.7cBcgqJ5-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202403110212.7cBcgqJ5-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from exec-cmd.c:2: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ In file included from parse-options.c:2: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ In file included from run-command.c:7: In file included from tools/include/linux/string.h:6: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ In file included from help.c:5: In file included from tools/include/linux/string.h:6: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ In file included from sigchain.c:3: In file included from ./subcmd-util.h:8: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ 1 warning generated. 1 warning generated. 1 warning generated. 1 warning generated. 1 warning generated. In file included from weak.c:10: In file included from tools/objtool/include/objtool/objtool.h:10: In file included from tools/include/linux/list.h:7: In file included from tools/include/linux/kernel.h:8: In file included from tools/include/linux/build_bug.h:5: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ In file included from builtin-check.c:6: In file included from tools/objtool/libsubcmd/include/subcmd/parse-options.h:5: In file included from tools/include/linux/kernel.h:8: In file included from tools/include/linux/build_bug.h:5: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ In file included from special.c:15: In file included from tools/objtool/include/objtool/builtin.h:8: In file included from tools/objtool/libsubcmd/include/subcmd/parse-options.h:5: In file included from tools/include/linux/kernel.h:8: In file included from tools/include/linux/build_bug.h:5: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ In file included from arch/x86/special.c:4: In file included from tools/objtool/include/objtool/special.h:10: In file included from tools/objtool/include/objtool/check.h:10: In file included from tools/objtool/include/objtool/cfi.h:10: In file included from tools/include/linux/list.h:7: In file included from tools/include/linux/kernel.h:8: In file included from tools/include/linux/build_bug.h:5: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ In file included from check.c:11: In file included from tools/objtool/include/objtool/builtin.h:8: In file included from tools/objtool/libsubcmd/include/subcmd/parse-options.h:5: In file included from tools/include/linux/kernel.h:8: In file included from tools/include/linux/build_bug.h:5: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ In file included from orc_dump.c:7: In file included from tools/arch/x86/include/asm/orc_types.h:10: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ In file included from ../lib/ctype.c:8: In file included from tools/include/linux/ctype.h:5: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ In file included from objtool.c:13: In file included from tools/include/linux/kernel.h:8: In file included from tools/include/linux/build_bug.h:5: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ In file included from orc_gen.c:10: In file included from tools/arch/x86/include/asm/orc_types.h:10: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ In file included from special.c:16: In file included from tools/objtool/include/objtool/special.h:10: In file included from tools/objtool/include/objtool/check.h:11: In file included from tools/objtool/include/objtool/arch.h:11: >> tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined]In file included from elf.c:19: In file included from tools/include/linux/interval_tree_generic.h:10: In file included from tools/include/linux/rbtree_augmented.h:18: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ -- 15 | #define __weak __attribute__((weak)) | ^ tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here 437 | # define __weak __attribute__In file included from ../lib/rbtree.c:12: In file included from tools/include/linux/rbtree_augmented.h:18: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ ((__weak__)) | ^ 1 warning generated. In file included from weak.c:10: >> tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined] 15 | #define __weak __attribute__((weak)) | ^ tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here 437 | # define __weak __attribute__((__weak__)) | ^ In file included from arch/x86/special.c:4: In file included from tools/objtool/include/objtool/special.h:10: In file included from tools/objtool/include/objtool/check.h:11: In file included from tools/objtool/include/objtool/arch.h:11: >> tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined] 15 | #define __weak __attribute__((weak)) | ^ tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here 437 | # define __weak __attribute__((__weak__)) | ^ In file included from 2 warnings generated. ../lib/string.c:19: In file included from tools/include/linux/string.h:6: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ In file included from orc_gen.c:12: In file included from tools/objtool/include/objtool/check.h:11: In file included from tools/objtool/include/objtool/arch.h:11: >> tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined] 15 | #define __weak __attribute__((weak)) | ^ tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here 437 | # define __weak __attribute__((__weak__)) | ^ In file included from objtool.c:16: >> tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined] 15 | #define __weak __attribute__((weak)) | ^ tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here 437 | # define __weak __attribute__((__weak__)) | ^ In file included from builtin-check.c:10: >> tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined] 15 | #define __weak __attribute__((weak)) | ^ tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here 437 | # define __weak __attribute__((__weak__)) | ^ In file included from check.c:13: In file included from tools/objtool/include/objtool/arch.h:11: >> tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined] 15 | #define __weak __attribute__((weak)) | ^ tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here 437 | # define __weak __attribute__((__weak__)) | ^ 2 warnings generated. In file included from orc_dump.c:8: >> tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined] 15 | #define __weak __attribute__((weak)) | ^ tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here 437 | # define __weak __attribute__((__weak__)) | ^ 2 warnings generated. 2 warnings generated. In file included from arch/x86/decode.c:12: In file included from arch/x86/../../../arch/x86/lib/insn.c:8: In file included from tools/include/linux/kernel.h:8: In file included from tools/include/linux/build_bug.h:5: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ 2 warnings generated. 2 warnings generated. In file included from ../lib/str_error_r.c:5: In file included from tools/include/linux/string.h:6: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ 1 warning generated. 1 warning generated. In file included from arch/x86/decode.c:18: In file included from tools/objtool/include/objtool/check.h:11: In file included from tools/objtool/include/objtool/arch.h:11: >> tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined] 15 | #define __weak __attribute__((weak)) | ^ tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here 437 | # define __weak __attribute__((__weak__)) | ^ 2 warnings generated. 1 warning generated. 2 warnings generated. 1 warning generated. 2 warnings generated. -- In file included from exec-cmd.c:2: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ In file included from parse-options.c:2: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ In file included from help.c:5: In file included from tools/include/linux/string.h:6: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ In file included from sigchain.c:3: In file included from ./subcmd-util.h:8: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ In file included from run-command.c:7: In file included from tools/include/linux/string.h:6: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ 1 warning generated. 1 warning generated. 1 warning generated. 1 warning generated. 1 warning generated. In file included from weak.c:10: In file included from tools/objtool/include/objtool/objtool.h:10: In file included from tools/include/linux/list.h:7: In file included from tools/include/linux/kernel.h:8: In file included from tools/include/linux/build_bug.h:5: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ In file included from builtin-check.c:6: In file included from tools/objtool/libsubcmd/include/subcmd/parse-options.h:5: In file included from tools/include/linux/kernel.h:8: In file included from tools/include/linux/build_bug.h:5: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ In file included from elf.c:19: In file included from tools/include/linux/interval_tree_generic.h:10: In file included from tools/include/linux/rbtree_augmented.h:18: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ In file included from orc_gen.c:10: In file included from tools/arch/x86/include/asm/orc_types.h:10: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ In file included from arch/x86/special.c:4: In file included from tools/objtool/include/objtool/special.h:10: In file included from tools/objtool/include/objtool/check.h:10: In file included from tools/objtool/include/objtool/cfi.h:10: In file included from tools/include/linux/list.h:7: In file included from tools/include/linux/kernel.h:8: In file included from tools/include/linux/build_bug.h:5: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ In file included from ../lib/string.c:19: In file included from tools/include/linux/string.h:6: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ In file included from special.c:15: In file included from tools/objtool/include/objtool/builtin.h:8: In file included from tools/objtool/libsubcmd/include/subcmd/parse-options.h:5: In file included from tools/include/linux/kernel.h:8: In file included from tools/include/linux/build_bug.h:5: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] In file included from orc_dump.c:7: In file included from tools/arch/x86/include/asm/orc_types.h:10: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ In file included from weak.c:10: >> tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined] 15 | #define __weak __aIn file included from ttribute__((weak)) | ^ tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here 437 | # define __weak __attribute__((__weak__)) | ^ 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ ../lib/ctype.c:8: In file included from tools/include/linux/ctype.h:5: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ In file included from objtool.c:13: In file included from tools/include/linux/kernel.h:8: In file included from tools/include/linux/build_bug.h:5: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ In file included from check.c:11: In file included from tools/objtool/include/objtool/builtin.h:8: In file included from tools/objtool/libsubcmd/include/subcmd/parse-options.h:5: In file included from tools/include/linux/kernel.h:8: In file included from tools/include/linux/build_bug.h:5: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ In file included from ../lib/rbtree.c:12: In file included from tools/include/linux/rbtree_augmented.h:18: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ 1 warning generated. 2 warnings generated. In file included from orc_gen.c:12: In file included from tools/objtool/include/objtool/check.h:11: In file included from tools/objtool/include/objtool/arch.h:11: >> tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined] 15 | #define __weak __attribute__((weak)) | ^ tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here 437 | # define __weak __attribute__((__weak__)) | ^ In file included from arch/x86/decode.c:12: In file included from arch/x86/../../../arch/x86/lib/insn.c:8: In file included from tools/include/linux/kernel.h:8: In file included from tools/include/linux/build_bug.h:5: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: >> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ In file included from builtin-check.c:10: tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined] 15 | #define __weak __attribute__((weak)) | ^ tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here 437 | # define __weak __attribute__((__weak__)) | ^ In file included from arch/x86/special.c:4: In file included from tools/objtool/include/objtool/special.h:10: In file included from tools/objtool/include/objtool/check.h:11: In file included from tools/objtool/include/objtool/arch.h:11: tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined] 15 | #define __weak __attribute__((weak)) | ^ tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here 437 | # define __weak __attribute__((__weak__)) | ^ 1 warning generated. In file included from orc_dump.c:8: tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined] 15 | #define __weak __attribute__((weak)) | ^ tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here 437 | # define __weak __attribute__((__weak__)) | ^ 2 warnings generated. In file included from In file included from check.c:13: In file included from tools/objtool/include/objtool/arch.h:11: tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined] 15 | #define __weak __attribute__((weak)) | ^ tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here 437 | # define __weak __attribute__((__weak__)) | ^ In file included from arch/x86/decode.c:18: In file included from tools/objtool/include/objtool/check.h:11: In file included from tools/objtool/include/objtool/arch.h:11: tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined] 15 | #define __weak __attributespecial.c__((weak)) | ^ tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here 437 | # define __weak __attribute__((__weak__)) | ^ :16: In file included from tools/objtool/include/objtool/special.h:10: In file included from tools/objtool/include/objtool/check.h:11: In file included from tools/objtool/include/objtool/arch.h:11: tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined] 15 | #define __weak __attribute__((weak)) | ^ tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here 437 | # define __weak __attribute__((__weak__)) | ^ In file included from objtool.c:16: tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined] 15 | #define __weak __attribute__((weak)) | ^ tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here 437 | # define __weak __attribute__((__weak__)) | ^ 2 warnings generated. 2 warnings generated. In file included from ../lib/str_error_r.c:5: In file included from tools/include/linux/string.h:6: In file included from tools/include/linux/compiler.h:5: In file included from tools/include/linux/compiler_types.h:78: tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef] 117 | #if CONFIG_CLANG_VERSION >= 110000 | ^ 2 warnings generated. 1 warning generated. 2 warnings generated. 2 warnings generated. 1 warning generated. 2 warnings generated. 1 warning generated. 2 warnings generated. vim +/CONFIG_CLANG_VERSION +117 tools/include/linux/compiler-clang.h 116 > 117 #if CONFIG_CLANG_VERSION >= 110000 118 #define __diag_clang_11(s) __diag(s) 119 #else 120 #define __diag_clang_11(s) 121 #endif 122 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki