tree:
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-5.4
head: 0619813532a0bed495354f3b5621a6c16c1f5c1c
commit: 5d17569c4b792bc67cf56ff43d0cbbbb5c58effb [50/53] objtool: Rename
func_for_each_insn_all()
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build):
git checkout 5d17569c4b792bc67cf56ff43d0cbbbb5c58effb
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
check.c:80:0: error: "func_for_each_insn" redefined [-Werror]
#define func_for_each_insn(file, func, insn)
check.c:75:0: note: this is the location of the previous definition
#define func_for_each_insn(file, func, insn)
> check.c:55:28: error: 'next_insn_same_func' defined but
not used [-Werror=unused-function]
static struct instruction
*next_insn_same_func(struct objtool_file *file,
^~~~~~~~~~~~~~~~~~~
scripts/genksyms/parse.y: warning: 9 shift/reduce conflicts [-Wconflicts-sr]
scripts/genksyms/parse.y: warning: 5 reduce/reduce conflicts [-Wconflicts-rr]
cc1: all warnings being treated as errors
mv: cannot stat 'tools/objtool/.check.o.tmp': No such file or directory
make[4]: *** [tools/build/Makefile.build:96: tools/objtool/check.o] Error 1
make[4]: Target '__build' not remade because of errors.
make[3]: *** [Makefile:46: tools/objtool/objtool-in.o] Error 2
make[3]: Target 'all' not remade because of errors.
make[2]: *** [Makefile:67: objtool] Error 2
make[1]: *** [Makefile:1807: tools/objtool] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:179: sub-make] Error 2
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org