All of lore.kernel.org
 help / color / mirror / Atom feed
* [avpatel:riscv_mpxy_imp_v1 2/5] cpu.c:(.text+0x3c0): multiple definition of `sbi_mpxy_read_attrs'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x24): first defined here
@ 2026-10-05 11:54 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-05 11:54 UTC (permalink / raw)
  To: Anup Patel; +Cc: oe-kbuild-all, Himanshu Chauhan

tree:   https://github.com/avpatel/linux.git riscv_mpxy_imp_v1
head:   48be05a1fcc231a756503546729aefd39ba8ca76
commit: 6439174960c8ce56a3b4ce6eb5fabde7bdaae27a [2/5] RISC-V: Move common MPXY helper routines to arch/riscv
config: riscv-nommu_k210_sdcard_defconfig (https://download.01.org/0day-ci/archive/20261005/202610051939.JJpxuVby-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261005/202610051939.JJpxuVby-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/202610051939.JJpxuVby-lkp@intel.com/

All errors (new ones prefixed by >>):

   riscv64-linux-ld: arch/riscv/kernel/cpu.o: in function `sbi_mpxy_read_attrs':
>> cpu.c:(.text+0x3c0): multiple definition of `sbi_mpxy_read_attrs'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x24): first defined here
   riscv64-linux-ld: arch/riscv/kernel/cpu.o: in function `sbi_mpxy_write_attrs':
>> cpu.c:(.text+0x3c4): multiple definition of `sbi_mpxy_write_attrs'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x28): first defined here
   riscv64-linux-ld: arch/riscv/kernel/cpu.o: in function `sbi_mpxy_send_message_with_resp':
>> cpu.c:(.text+0x3c8): multiple definition of `sbi_mpxy_send_message_with_resp'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x2c): first defined here
   riscv64-linux-ld: arch/riscv/kernel/cpu.o: in function `sbi_mpxy_send_message_without_resp':
>> cpu.c:(.text+0x3cc): multiple definition of `sbi_mpxy_send_message_without_resp'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x30): first defined here
   riscv64-linux-ld: arch/riscv/kernel/cpu.o: in function `sbi_mpxy_get_notifications':
>> cpu.c:(.text+0x3d0): multiple definition of `sbi_mpxy_get_notifications'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x34): first defined here
   riscv64-linux-ld: arch/riscv/kernel/cpufeature.o: in function `sbi_mpxy_read_attrs':
   cpufeature.c:(.text+0x338): multiple definition of `sbi_mpxy_read_attrs'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x24): first defined here
   riscv64-linux-ld: arch/riscv/kernel/cpufeature.o: in function `sbi_mpxy_write_attrs':
   cpufeature.c:(.text+0x33c): multiple definition of `sbi_mpxy_write_attrs'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x28): first defined here
   riscv64-linux-ld: arch/riscv/kernel/cpufeature.o: in function `sbi_mpxy_send_message_with_resp':
   cpufeature.c:(.text+0x340): multiple definition of `sbi_mpxy_send_message_with_resp'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x2c): first defined here
   riscv64-linux-ld: arch/riscv/kernel/cpufeature.o: in function `sbi_mpxy_send_message_without_resp':
   cpufeature.c:(.text+0x344): multiple definition of `sbi_mpxy_send_message_without_resp'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x30): first defined here
   riscv64-linux-ld: arch/riscv/kernel/cpufeature.o: in function `sbi_mpxy_get_notifications':
   cpufeature.c:(.text+0x348): multiple definition of `sbi_mpxy_get_notifications'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x34): first defined here
   riscv64-linux-ld: arch/riscv/kernel/irq.o: in function `sbi_mpxy_read_attrs':
   irq.c:(.text+0x18): multiple definition of `sbi_mpxy_read_attrs'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x24): first defined here
   riscv64-linux-ld: arch/riscv/kernel/irq.o: in function `sbi_mpxy_write_attrs':
   irq.c:(.text+0x1c): multiple definition of `sbi_mpxy_write_attrs'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x28): first defined here
   riscv64-linux-ld: arch/riscv/kernel/irq.o: in function `sbi_mpxy_send_message_with_resp':
   irq.c:(.text+0x20): multiple definition of `sbi_mpxy_send_message_with_resp'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x2c): first defined here
   riscv64-linux-ld: arch/riscv/kernel/irq.o: in function `sbi_mpxy_send_message_without_resp':
   irq.c:(.text+0x24): multiple definition of `sbi_mpxy_send_message_without_resp'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x30): first defined here
   riscv64-linux-ld: arch/riscv/kernel/irq.o: in function `sbi_mpxy_get_notifications':
   irq.c:(.text+0x28): multiple definition of `sbi_mpxy_get_notifications'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x34): first defined here
   riscv64-linux-ld: arch/riscv/kernel/setup.o: in function `sbi_mpxy_read_attrs':
   setup.c:(.text+0x0): multiple definition of `sbi_mpxy_read_attrs'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x24): first defined here
   riscv64-linux-ld: arch/riscv/kernel/setup.o: in function `sbi_mpxy_write_attrs':
   setup.c:(.text+0x4): multiple definition of `sbi_mpxy_write_attrs'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x28): first defined here
   riscv64-linux-ld: arch/riscv/kernel/setup.o: in function `sbi_mpxy_send_message_with_resp':
   setup.c:(.text+0x8): multiple definition of `sbi_mpxy_send_message_with_resp'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x2c): first defined here
   riscv64-linux-ld: arch/riscv/kernel/setup.o: in function `sbi_mpxy_send_message_without_resp':
   setup.c:(.text+0xc): multiple definition of `sbi_mpxy_send_message_without_resp'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x30): first defined here
   riscv64-linux-ld: arch/riscv/kernel/setup.o: in function `sbi_mpxy_get_notifications':
   setup.c:(.text+0x10): multiple definition of `sbi_mpxy_get_notifications'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x34): first defined here
   riscv64-linux-ld: arch/riscv/kernel/sys_hwprobe.o: in function `sbi_mpxy_read_attrs':
   sys_hwprobe.c:(.text+0xdea): multiple definition of `sbi_mpxy_read_attrs'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x24): first defined here
   riscv64-linux-ld: arch/riscv/kernel/sys_hwprobe.o: in function `sbi_mpxy_write_attrs':
   sys_hwprobe.c:(.text+0xdee): multiple definition of `sbi_mpxy_write_attrs'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x28): first defined here
   riscv64-linux-ld: arch/riscv/kernel/sys_hwprobe.o: in function `sbi_mpxy_send_message_with_resp':
   sys_hwprobe.c:(.text+0xdf2): multiple definition of `sbi_mpxy_send_message_with_resp'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x2c): first defined here
   riscv64-linux-ld: arch/riscv/kernel/sys_hwprobe.o: in function `sbi_mpxy_send_message_without_resp':
   sys_hwprobe.c:(.text+0xdf6): multiple definition of `sbi_mpxy_send_message_without_resp'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x30): first defined here
   riscv64-linux-ld: arch/riscv/kernel/sys_hwprobe.o: in function `sbi_mpxy_get_notifications':
   sys_hwprobe.c:(.text+0xdfa): multiple definition of `sbi_mpxy_get_notifications'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x34): first defined here
   riscv64-linux-ld: arch/riscv/kernel/time.o: in function `sbi_mpxy_read_attrs':
   time.c:(.text+0x0): multiple definition of `sbi_mpxy_read_attrs'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x24): first defined here
   riscv64-linux-ld: arch/riscv/kernel/time.o: in function `sbi_mpxy_write_attrs':
   time.c:(.text+0x4): multiple definition of `sbi_mpxy_write_attrs'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x28): first defined here
   riscv64-linux-ld: arch/riscv/kernel/time.o: in function `sbi_mpxy_send_message_with_resp':
   time.c:(.text+0x8): multiple definition of `sbi_mpxy_send_message_with_resp'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x2c): first defined here
   riscv64-linux-ld: arch/riscv/kernel/time.o: in function `sbi_mpxy_send_message_without_resp':
   time.c:(.text+0xc): multiple definition of `sbi_mpxy_send_message_without_resp'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x30): first defined here
   riscv64-linux-ld: arch/riscv/kernel/time.o: in function `sbi_mpxy_get_notifications':
   time.c:(.text+0x10): multiple definition of `sbi_mpxy_get_notifications'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x34): first defined here
   riscv64-linux-ld: arch/riscv/kernel/traps_misaligned.o: in function `sbi_mpxy_read_attrs':
   traps_misaligned.c:(.text+0x59c): multiple definition of `sbi_mpxy_read_attrs'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x24): first defined here
   riscv64-linux-ld: arch/riscv/kernel/traps_misaligned.o: in function `sbi_mpxy_write_attrs':
   traps_misaligned.c:(.text+0x5a0): multiple definition of `sbi_mpxy_write_attrs'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x28): first defined here
   riscv64-linux-ld: arch/riscv/kernel/traps_misaligned.o: in function `sbi_mpxy_send_message_with_resp':
   traps_misaligned.c:(.text+0x5a4): multiple definition of `sbi_mpxy_send_message_with_resp'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x2c): first defined here
   riscv64-linux-ld: arch/riscv/kernel/traps_misaligned.o: in function `sbi_mpxy_send_message_without_resp':
   traps_misaligned.c:(.text+0x5a8): multiple definition of `sbi_mpxy_send_message_without_resp'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x30): first defined here
   riscv64-linux-ld: arch/riscv/kernel/traps_misaligned.o: in function `sbi_mpxy_get_notifications':
   traps_misaligned.c:(.text+0x5ac): multiple definition of `sbi_mpxy_get_notifications'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x34): first defined here
   riscv64-linux-ld: arch/riscv/kernel/kernel_mode_vector.o: in function `sbi_mpxy_read_attrs':
   kernel_mode_vector.c:(.text+0x2f0): multiple definition of `sbi_mpxy_read_attrs'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x24): first defined here
   riscv64-linux-ld: arch/riscv/kernel/kernel_mode_vector.o: in function `sbi_mpxy_write_attrs':
   kernel_mode_vector.c:(.text+0x2f4): multiple definition of `sbi_mpxy_write_attrs'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x28): first defined here
   riscv64-linux-ld: arch/riscv/kernel/kernel_mode_vector.o: in function `sbi_mpxy_send_message_with_resp':
   kernel_mode_vector.c:(.text+0x2f8): multiple definition of `sbi_mpxy_send_message_with_resp'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x2c): first defined here
   riscv64-linux-ld: arch/riscv/kernel/kernel_mode_vector.o: in function `sbi_mpxy_send_message_without_resp':
   kernel_mode_vector.c:(.text+0x2fc): multiple definition of `sbi_mpxy_send_message_without_resp'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x30): first defined here
   riscv64-linux-ld: arch/riscv/kernel/kernel_mode_vector.o: in function `sbi_mpxy_get_notifications':
   kernel_mode_vector.c:(.text+0x300): multiple definition of `sbi_mpxy_get_notifications'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x34): first defined here
   riscv64-linux-ld: arch/riscv/kernel/cpu_ops.o: in function `sbi_mpxy_read_attrs':
   cpu_ops.c:(.text+0x0): multiple definition of `sbi_mpxy_read_attrs'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x24): first defined here
   riscv64-linux-ld: arch/riscv/kernel/cpu_ops.o: in function `sbi_mpxy_write_attrs':
   cpu_ops.c:(.text+0x4): multiple definition of `sbi_mpxy_write_attrs'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x28): first defined here
   riscv64-linux-ld: arch/riscv/kernel/cpu_ops.o: in function `sbi_mpxy_send_message_with_resp':
   cpu_ops.c:(.text+0x8): multiple definition of `sbi_mpxy_send_message_with_resp'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x2c): first defined here
   riscv64-linux-ld: arch/riscv/kernel/cpu_ops.o: in function `sbi_mpxy_send_message_without_resp':
   cpu_ops.c:(.text+0xc): multiple definition of `sbi_mpxy_send_message_without_resp'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x30): first defined here
   riscv64-linux-ld: arch/riscv/kernel/cpu_ops.o: in function `sbi_mpxy_get_notifications':
   cpu_ops.c:(.text+0x10): multiple definition of `sbi_mpxy_get_notifications'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x34): first defined here
   riscv64-linux-ld: arch/riscv/kernel/cpu_ops_spinwait.o: in function `sbi_mpxy_read_attrs':
   cpu_ops_spinwait.c:(.text+0x3e): multiple definition of `sbi_mpxy_read_attrs'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x24): first defined here
   riscv64-linux-ld: arch/riscv/kernel/cpu_ops_spinwait.o: in function `sbi_mpxy_write_attrs':
   cpu_ops_spinwait.c:(.text+0x42): multiple definition of `sbi_mpxy_write_attrs'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x28): first defined here
   riscv64-linux-ld: arch/riscv/kernel/cpu_ops_spinwait.o: in function `sbi_mpxy_send_message_with_resp':
   cpu_ops_spinwait.c:(.text+0x46): multiple definition of `sbi_mpxy_send_message_with_resp'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x2c): first defined here
   riscv64-linux-ld: arch/riscv/kernel/cpu_ops_spinwait.o: in function `sbi_mpxy_send_message_without_resp':
   cpu_ops_spinwait.c:(.text+0x4a): multiple definition of `sbi_mpxy_send_message_without_resp'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x30): first defined here
   riscv64-linux-ld: arch/riscv/kernel/cpu_ops_spinwait.o: in function `sbi_mpxy_get_notifications':
   cpu_ops_spinwait.c:(.text+0x4e): multiple definition of `sbi_mpxy_get_notifications'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x34): first defined here
   riscv64-linux-ld: arch/riscv/kernel/suspend.o: in function `sbi_mpxy_read_attrs':
   suspend.c:(.text+0x0): multiple definition of `sbi_mpxy_read_attrs'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x24): first defined here
   riscv64-linux-ld: arch/riscv/kernel/suspend.o: in function `sbi_mpxy_write_attrs':
   suspend.c:(.text+0x4): multiple definition of `sbi_mpxy_write_attrs'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x28): first defined here
   riscv64-linux-ld: arch/riscv/kernel/suspend.o: in function `sbi_mpxy_send_message_with_resp':
   suspend.c:(.text+0x8): multiple definition of `sbi_mpxy_send_message_with_resp'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x2c): first defined here
   riscv64-linux-ld: arch/riscv/kernel/suspend.o: in function `sbi_mpxy_send_message_without_resp':
   suspend.c:(.text+0xc): multiple definition of `sbi_mpxy_send_message_without_resp'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x30): first defined here
   riscv64-linux-ld: arch/riscv/kernel/suspend.o: in function `sbi_mpxy_get_notifications':
   suspend.c:(.text+0x10): multiple definition of `sbi_mpxy_get_notifications'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x34): first defined here

--
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-10-05 11:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-05 11:54 [avpatel:riscv_mpxy_imp_v1 2/5] cpu.c:(.text+0x3c0): multiple definition of `sbi_mpxy_read_attrs'; arch/riscv/kernel/alternative.o:alternative.c:(.text+0x24): first defined here kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.