Skip to contentSkip to conversation

setup.c:undefined reference to `m68k_cpumodel'

PATCH kernel test robot 1 participant 1 message Nov 9

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu.git cpu-model
head:   6217ad6f81c95c3046e6d406734dfdbf2aa85542
commit: d034e5f2c808aebe347eb33720e5a9937d6395c3 [1/10] m68k: support reporting CPU model name and revision
config: m68k-randconfig-2001-20261109 (https://download.01.org/0day-ci/archive/20261109/[email protected]/config)
compiler: m68k-linux-gcc (GCC) 12.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261109/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

m68k-linux-ld: arch/m68k/kernel/setup.o: in function `show_cpuinfo':

>> setup.c:(.text+0x11e): undefined reference to `m68k_cpumodel'
>> m68k-linux-ld: setup.c:(.text+0x13a): undefined reference to `m68k_cpurevision'
   m68k-linux-ld: arch/m68k/kernel/setup.o: in function `setup_arch':
>> setup.c:(.init.text+0x86): undefined reference to `m68k_cpumodel'
>> m68k-linux-ld: setup.c:(.init.text+0x92): undefined reference to `m68k_cpumodel'
>> m68k-linux-ld: setup.c:(.init.text+0x98): undefined reference to `m68k_cpurevision'

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki