tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git objtool/wip head: 78ca98333027fe961ebdae601045673009c420bb commit: 78ca98333027fe961ebdae601045673009c420bb [1/1] objtool: Rework arch_dest_reloc_offset() config: powerpc-allyesconfig compiler: powerpc-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=78ca98333027fe961ebdae601045673009c420bb git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git git fetch --no-tags peterz-queue objtool/wip git checkout 78ca98333027fe961ebdae601045673009c420bb # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=powerpc olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=powerpc prepare If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): >> arch/powerpc/decode.c:17:15: error: conflicting types for 'arch_dest_reloc_offset'; have 'long unsigned int(int)' 17 | unsigned long arch_dest_reloc_offset(int addend) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from tools/objtool/include/objtool/check.h:11, from arch/powerpc/decode.c:5: tools/objtool/include/objtool/arch.h:86:15: note: previous declaration of 'arch_dest_reloc_offset' with type 'long unsigned int(struct reloc *)' 86 | unsigned long arch_dest_reloc_offset(struct reloc *reloc); | ^~~~~~~~~~~~~~~~~~~~~~ make[5]: *** [tools/build/Makefile.build:97: tools/objtool/arch/powerpc/decode.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [tools/build/Makefile.build:139: arch/powerpc] Error 2 make[4]: *** Waiting for unfinished jobs.... scripts/genksyms/parse.y: warning: 9 shift/reduce conflicts [-Wconflicts-sr] scripts/genksyms/parse.y: warning: 5 reduce/reduce conflicts [-Wconflicts-rr] scripts/genksyms/parse.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples make[3]: *** [Makefile:54: tools/objtool/objtool-in.o] Error 2 make[2]: *** [Makefile:73: objtool] Error 2 make[1]: *** [Makefile:1439: tools/objtool] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:242: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. -- 0-DAY CI Kernel Test Service https://01.org/lkp