Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [avpatel:riscv_mpxy_imp_v1 2/5] ld.lld: error: duplicate symbol: sbi_mpxy_read_attrs
@ 2026-09-30 13:10 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-30 13:10 UTC (permalink / raw)
  To: Anup Patel; +Cc: llvm, oe-kbuild-all, Himanshu Chauhan

tree:   https://github.com/avpatel/linux.git riscv_mpxy_imp_v1
head:   ca441e957bb4806b528959ae80efb7e7a9f5447a
commit: 36c74ca9f1dd2278453c544310c73d45beb9c993 [2/5] RISC-V: Move common MPXY helper routines to arch/riscv
config: riscv-nommu_k210_defconfig (https://download.01.org/0day-ci/archive/20260930/202609302048.lrMAmhfT-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 5f609f950d2e80addf5566623013db68394334db)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260930/202609302048.lrMAmhfT-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/202609302048.lrMAmhfT-lkp@intel.com/

All errors (new ones prefixed by >>):

>> ld.lld: error: duplicate symbol: sbi_mpxy_read_attrs
   >>> defined at alternative.c
   >>>            arch/riscv/kernel/alternative.o:(sbi_mpxy_read_attrs) in archive vmlinux.a
   >>> defined at cpu.c
   >>>            arch/riscv/kernel/cpu.o:(.text+0x0) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: sbi_mpxy_write_attrs
   >>> defined at alternative.c
   >>>            arch/riscv/kernel/alternative.o:(sbi_mpxy_write_attrs) in archive vmlinux.a
   >>> defined at cpu.c
   >>>            arch/riscv/kernel/cpu.o:(.text+0x40) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: sbi_mpxy_get_notifications
   >>> defined at alternative.c
   >>>            arch/riscv/kernel/alternative.o:(sbi_mpxy_get_notifications) in archive vmlinux.a
   >>> defined at cpufeature.c
   >>>            arch/riscv/kernel/cpufeature.o:(.text+0x100) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: sbi_mpxy_read_attrs
   >>> defined at alternative.c
   >>>            arch/riscv/kernel/alternative.o:(sbi_mpxy_read_attrs) in archive vmlinux.a
   >>> defined at irq.c
   >>>            arch/riscv/kernel/irq.o:(.text+0x0) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: sbi_mpxy_write_attrs
   >>> defined at alternative.c
   >>>            arch/riscv/kernel/alternative.o:(sbi_mpxy_write_attrs) in archive vmlinux.a
   >>> defined at irq.c
   >>>            arch/riscv/kernel/irq.o:(.text+0x40) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: sbi_mpxy_send_message_with_resp
   >>> defined at alternative.c
   >>>            arch/riscv/kernel/alternative.o:(sbi_mpxy_send_message_with_resp) in archive vmlinux.a
   >>> defined at irq.c
   >>>            arch/riscv/kernel/irq.o:(.text+0x80) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: sbi_mpxy_write_attrs
   >>> defined at alternative.c
   >>>            arch/riscv/kernel/alternative.o:(sbi_mpxy_write_attrs) in archive vmlinux.a
   >>> defined at cacheflush.c
   >>>            arch/riscv/mm/cacheflush.o:(.text+0x40) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: sbi_mpxy_read_attrs
   >>> defined at alternative.c
   >>>            arch/riscv/kernel/alternative.o:(sbi_mpxy_read_attrs) in archive vmlinux.a
   >>> defined at traps_misaligned.c
   >>>            arch/riscv/kernel/traps_misaligned.o:(.text+0x0) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: sbi_mpxy_write_attrs
   >>> defined at alternative.c
   >>>            arch/riscv/kernel/alternative.o:(sbi_mpxy_write_attrs) in archive vmlinux.a
   >>> defined at traps_misaligned.c
   >>>            arch/riscv/kernel/traps_misaligned.o:(.text+0x40) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: sbi_mpxy_send_message_with_resp
   >>> defined at alternative.c
   >>>            arch/riscv/kernel/alternative.o:(sbi_mpxy_send_message_with_resp) in archive vmlinux.a
   >>> defined at traps_misaligned.c
   >>>            arch/riscv/kernel/traps_misaligned.o:(.text+0x80) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: sbi_mpxy_send_message_without_resp
   >>> defined at alternative.c
   >>>            arch/riscv/kernel/alternative.o:(sbi_mpxy_send_message_without_resp) in archive vmlinux.a
   >>> defined at traps_misaligned.c
   >>>            arch/riscv/kernel/traps_misaligned.o:(.text+0xc0) 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:[~2026-09-30 13:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-30 13:10 [avpatel:riscv_mpxy_imp_v1 2/5] ld.lld: error: duplicate symbol: sbi_mpxy_read_attrs 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