public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [peterz-queue:objtool/wip 2/2] arch/powerpc/decode.c:17:15: error: conflicting types for 'arch_dest_reloc_offset'
@ 2023-01-21  6:05 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-01-21  6:05 UTC (permalink / raw)
  To: Peter Zijlstra (Intel); +Cc: llvm, oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git objtool/wip
head:   eddf6a5419f48591bf1901929c2b1c892b7abc9f
commit: eddf6a5419f48591bf1901929c2b1c892b7abc9f [2/2] objtool: Rework arch_dest_reloc_offset()
config: powerpc-randconfig-r013-20230119 (https://download.01.org/0day-ci/archive/20230121/202301211303.krMOYlCM-lkp@intel.com/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 4196ca3278f78c6e19246e54ab0ecb364e37d66a)
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
        # install powerpc cross compiling tool for clang build
        # apt-get install binutils-powerpc-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=eddf6a5419f48591bf1901929c2b1c892b7abc9f
        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 eddf6a5419f48591bf1901929c2b1c892b7abc9f
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=powerpc olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang 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 <lkp@intel.com>

All errors (new ones prefixed by >>):

>> arch/powerpc/decode.c:17:15: error: conflicting types for 'arch_dest_reloc_offset'
   unsigned long arch_dest_reloc_offset(int addend)
                 ^
   tools/objtool/include/objtool/arch.h:86:15: note: previous declaration is here
   unsigned long arch_dest_reloc_offset(struct reloc *reloc);
                 ^
   1 error generated.
   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....
   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://github.com/intel/lkp-tests

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-21  6:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-21  6:05 [peterz-queue:objtool/wip 2/2] arch/powerpc/decode.c:17:15: error: conflicting types for 'arch_dest_reloc_offset' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox