Messages in this thread | | | Date | Mon, 11 Sep 2023 13:57:06 +0800 | From | kernel test robot <> | Subject | ld.lld: error: relocation R_RISCV_LO12_I cannot be used against symbol 'riscv_cbom_block_size'; recompile with -fPIC |
| |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d commit: e021ae7f5145d46ab64cb058cbffda31059f37e5 riscv: errata: Add Andes alternative ports date: 10 days ago config: riscv-randconfig-r022-20230911 (https://download.01.org/0day-ci/archive/20230911/202309111311.8tcq3KVc-lkp@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230911/202309111311.8tcq3KVc-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202309111311.8tcq3KVc-lkp@intel.com/
All errors (new ones prefixed by >>):
>> ld.lld: error: relocation R_RISCV_LO12_I cannot be used against symbol 'riscv_cbom_block_size'; recompile with -fPIC >>> defined in vmlinux.a(arch/riscv/mm/cacheflush.o) >>> referenced by errata.c >>> arch/riscv/errata/andes/errata.o:(andes_errata_patch_func) in archive vmlinux.a
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
| |