* [linux-next:master 12460/13068] ld.lld: error: relocation R_RISCV_HI20 cannot be used against symbol '.L__func__.sifive_errata_patch_func'; recompile with -fPIC
@ 2025-03-22 1:28 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-03-22 1:28 UTC (permalink / raw)
To: Guenter Roeck
Cc: llvm, oe-kbuild-all, Andrew Morton, Linux Memory Management List,
Alessandro Carminati, Kees Cook
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 9388ec571cb1adba59d1cded2300eeb11827679c
commit: 165b7007a59c32b61d2b35f257d0abbfbcb44147 [12460/13068] bug/kunit: core support for suppressing warning backtraces
config: riscv-randconfig-002-20250322 (https://download.01.org/0day-ci/archive/20250322/202503220952.hV6Bn4za-lkp@intel.com/config)
compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project c2692afc0a92cd5da140dfcdfff7818a5b8ce997)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250322/202503220952.hV6Bn4za-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/202503220952.hV6Bn4za-lkp@intel.com/
All errors (new ones prefixed by >>):
>> ld.lld: error: relocation R_RISCV_HI20 cannot be used against symbol '.L__func__.sifive_errata_patch_func'; recompile with -fPIC
>>> defined in vmlinux.a(arch/riscv/errata/sifive/errata.o)
>>> referenced by errata.c:0 (arch/riscv/errata/sifive/errata.c:0)
>>> arch/riscv/errata/sifive/errata.o:(sifive_errata_patch_func) in archive vmlinux.a
--
>> ld.lld: error: relocation R_RISCV_LO12_I cannot be used against symbol '.L__func__.sifive_errata_patch_func'; recompile with -fPIC
>>> defined in vmlinux.a(arch/riscv/errata/sifive/errata.o)
>>> referenced by errata.c:0 (arch/riscv/errata/sifive/errata.c:0)
>>> arch/riscv/errata/sifive/errata.o:(sifive_errata_patch_func) in archive vmlinux.a
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-03-22 1:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-22 1:28 [linux-next:master 12460/13068] ld.lld: error: relocation R_RISCV_HI20 cannot be used against symbol '.L__func__.sifive_errata_patch_func'; recompile with -fPIC 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