tree:
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git objtool/core
head: 2c2219e14a94c00327f7dcdfe141a56e27471dd4
commit: b0df0e76d449be249080d8f5f678032f2397b6f0 [34/37] objtool,x86: Try inline
RETPOLINE_AMD
config: x86_64-randconfig-c024-20211013 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
#
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?...
git remote add peterz-queue
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue objtool/core
git checkout b0df0e76d449be249080d8f5f678032f2397b6f0
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> lib/sort.o: warning: objtool: no non-local symbols !?
> lib/sort.o: warning: objtool: gelf_update_symshndx: invalid section index
> lib/sort.o: warning: objtool: elf_create_section_symbol
> lib/sort.o: warning: objtool: elf_create_section: invalid section index
> lib/sort.o: warning: objtool: elf_add_altinstr
> lib/sort.o: warning: objtool: elf_add_retpoline #2
> lib/sort.o: warning: objtool: sort_r()+0xf6: rewrite_retpoline
--
> vmlinux.o: warning: objtool: .altinstructions+0x14250: can't
find orig reloc
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org