Skip to contentSkip to conversation

mipsel-linux-ld: kernel/kexec_core.c:undefined reference to `machine_kexec'

PATCH kernel test robot 2 participants 2 messages Nov 30, 2023 – Dec 1, 2023 Memory management

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git pending-fixes
head:   1867b4f140ac1336fdc9f7989171e230ab3cea6a
commit: f8ff23429c625c2b2a134d87f490a89a98c544ce [239/291] kernel/Kconfig.kexec: drop select of KEXEC for CRASH_DUMP
config: mips-randconfig-r015-20211216 (https://download.01.org/0day-ci/archive/20231130/[email protected]/config)
compiler: mipsel-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231130/[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 >>):

mipsel-linux-ld: kernel/kexec_core.o: in function `kimage_free':

>> kernel/kexec_core.c:(.text+0x2200): undefined reference to `machine_kexec_cleanup'
   mipsel-linux-ld: kernel/kexec_core.o: in function `__crash_kexec':
>> kernel/kexec_core.c:(.text+0x2480): undefined reference to `machine_crash_shutdown'
>> mipsel-linux-ld: kernel/kexec_core.c:(.text+0x2488): undefined reference to `machine_kexec'
   mipsel-linux-ld: kernel/kexec_core.o: in function `kernel_kexec':
>> kernel/kexec_core.c:(.text+0x29b8): undefined reference to `machine_shutdown'

mipsel-linux-ld: kernel/kexec_core.c:(.text+0x29c0): undefined reference to `machine_kexec'

Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
#1 lore raw

Hi,

Quoted 14 lines · kernel test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git pending-fixes
head:   1867b4f140ac1336fdc9f7989171e230ab3cea6a
commit: f8ff23429c625c2b2a134d87f490a89a98c544ce [239/291] kernel/Kconfig.kexec: drop select of KEXEC for CRASH_DUMP
config: mips-randconfig-r015-20211216 (https://download.01.org/0day-ci/archive/20231130/[email protected]/config)
compiler: mipsel-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231130/[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 >>):

Quoted 8 lines

mipsel-linux-ld: kernel/kexec_core.o: in function `kimage_free':

Quoted 1 line
Quoted 1 line

kernel/kexec_core.c:(.text+0x2200): undefined reference to `machine_kexec_cleanup'

mipsel-linux-ld: kernel/kexec_core.o: in function `__crash_kexec':

Quoted 2 lines
Quoted 2 lines

kernel/kexec_core.c:(.text+0x2480): undefined reference to `machine_crash_shutdown'
mipsel-linux-ld: kernel/kexec_core.c:(.text+0x2488): undefined reference to `machine_kexec'

mipsel-linux-ld: kernel/kexec_core.o: in function `kernel_kexec':

Quoted 1 line
Quoted 1 line

kernel/kexec_core.c:(.text+0x29b8): undefined reference to `machine_shutdown'

mipsel-linux-ld: kernel/kexec_core.c:(.text+0x29c0): undefined reference to `machine_kexec'

Thanks for reporting this.

The fix for this issue has been included in below patch.

[PATCH v2] kexec_core: change dependency of object files
https://lore.kernel.org/all/[email protected]/T/#u