Messages in this thread | | | Date | Fri, 23 Jul 2021 02:59:58 +0800 | From | kernel test robot <> | Subject | [jens.wiklander:optee_ffa_v3 5/5] ffa_abi.c:(.init.text+0x0): multiple definition of `init_module'; drivers/tee/optee/smc_abi.o:smc_abi.c:(.init.text+0x0): first defined here |
| |
tree: https://git.linaro.org/people/jens.wiklander/linux-tee.git optee_ffa_v3 head: 8d745a50b36f110b4a592b57c1d03c670791050c commit: 8d745a50b36f110b4a592b57c1d03c670791050c [5/5] optee: add FF-A support config: arm64-randconfig-r021-20210722 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 9625ca5b602616b2f5584e8a49ba93c52c141e40) 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 arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu git remote add jens.wiklander https://git.linaro.org/people/jens.wiklander/linux-tee.git git fetch --no-tags jens.wiklander optee_ffa_v3 git checkout 8d745a50b36f110b4a592b57c1d03c670791050c # save the attached .config to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
aarch64-linux-gnu-ld: drivers/tee/optee/ffa_abi.o: in function `init_module': >> ffa_abi.c:(.init.text+0x0): multiple definition of `init_module'; drivers/tee/optee/smc_abi.o:smc_abi.c:(.init.text+0x0): first defined here aarch64-linux-gnu-ld: drivers/tee/optee/ffa_abi.o: in function `cleanup_module': >> ffa_abi.c:(.exit.text+0x0): multiple definition of `cleanup_module'; drivers/tee/optee/smc_abi.o:smc_abi.c:(.exit.text+0x0): first defined here
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [unhandled content-type:application/gzip] | |