mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Tiezhu Yang <yangtiezhu@loongson.cn>,
	Huacai Chen <chenhuacai@kernel.org>,
	Josh Poimboeuf <jpoimboe@kernel.org>,
	Peter Zijlstra <peterz@infradead.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	loongarch@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 03/10] objtool: Handle different entry size of rodata
Date: Fri, 22 Nov 2024 05:33:31 +0800	[thread overview]
Message-ID: <202411220519.OK6FYVwq-lkp@intel.com> (raw)
In-Reply-To: <20241119065655.21123-4-yangtiezhu@loongson.cn>

Hi Tiezhu,

kernel test robot noticed the following build errors:

[auto build test ERROR on v6.12-rc7]
[also build test ERROR on next-20241121]
[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/Tiezhu-Yang/objtool-Handle-various-symbol-types-of-rodata/20241121-131412
base:   v6.12-rc7
patch link:    https://lore.kernel.org/r/20241119065655.21123-4-yangtiezhu%40loongson.cn
patch subject: [PATCH v3 03/10] objtool: Handle different entry size of rodata
config: x86_64-allnoconfig (https://download.01.org/0day-ci/archive/20241122/202411220519.OK6FYVwq-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241122/202411220519.OK6FYVwq-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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202411220519.OK6FYVwq-lkp@intel.com/

All errors (new ones prefixed by >>):

>> check.c:2109:28: error: use of undeclared identifier 'R_LARCH_32_PCREL'
    2109 |                     reloc_type(reloc) == R_LARCH_32_PCREL)
         |                                          ^
   1 error generated.
   make[5]: *** [tools/build/Makefile.build:105: tools/objtool/check.o] Error 1
   make[5]: *** Waiting for unfinished jobs....
   make[4]: *** [Makefile:70: tools/objtool/objtool-in.o] Error 2
   make[3]: *** [Makefile:73: objtool] Error 2
   make[2]: *** [Makefile:1370: tools/objtool] Error 2
   In file included from arch/x86/kernel/asm-offsets.c:14:
   In file included from include/linux/suspend.h:5:
   In file included from include/linux/swap.h:9:
   In file included from include/linux/memcontrol.h:21:
   In file included from include/linux/mm.h:2213:
   include/linux/vmstat.h:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
     518 |         return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
         |                               ~~~~~~~~~~~ ^ ~~~
   1 warning generated.
   make[2]: Target 'prepare' not remade because of errors.
   make[1]: *** [Makefile:224: __sub-make] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:224: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  parent reply	other threads:[~2024-11-21 21:33 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-19  6:56 [PATCH v3 00/10] Add jump table support for objtool on LoongArch Tiezhu Yang
2024-11-19  6:56 ` [PATCH v3 01/10] objtool: Handle various symbol types of rodata Tiezhu Yang
2024-11-19 10:47   ` Jinyang He
2024-11-19  6:56 ` [PATCH v3 02/10] objtool: Handle special cases of dead end insn Tiezhu Yang
2024-11-19 10:47   ` Jinyang He
2024-11-19  6:56 ` [PATCH v3 03/10] objtool: Handle different entry size of rodata Tiezhu Yang
2024-11-19 10:47   ` Jinyang He
2024-11-21 21:33   ` kernel test robot [this message]
2024-11-22  1:24   ` kernel test robot
2024-11-19  6:56 ` [PATCH v3 04/10] objtool: Handle PC relative relocation type Tiezhu Yang
2024-11-19  6:56 ` [PATCH v3 05/10] objtool: Handle unreachable entry of rodata Tiezhu Yang
2024-11-19 10:47   ` Jinyang He
2024-11-21 12:56     ` Huacai Chen
2024-11-19  6:56 ` [PATCH v3 06/10] objtool: Handle unsorted table offset " Tiezhu Yang
2024-11-19  6:56 ` [PATCH v3 07/10] objtool/LoongArch: Get each table size " Tiezhu Yang
2024-11-19  6:56 ` [PATCH v3 08/10] objtool/LoongArch: Add support for switch table Tiezhu Yang
2024-11-19  6:56 ` [PATCH v3 09/10] objtool/LoongArch: Add support for goto table Tiezhu Yang
2024-11-19  6:56 ` [PATCH v3 10/10] LoongArch: Enable jump table for objtool Tiezhu Yang
2024-11-19  8:48 ` [PATCH v3 00/10] Add jump table support for objtool on LoongArch Huacai Chen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202411220519.OK6FYVwq-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=chenhuacai@kernel.org \
    --cc=jpoimboe@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=loongarch@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=peterz@infradead.org \
    --cc=yangtiezhu@loongson.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®