irq-loongson-pch-pic.c:undefined reference to `pch_lpc_acpi_init'
From: kernel test robot
Date: Sun Aug 14 2022 - 09:43:07 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: aea23e7c464bfdec04b52cf61edb62030e9e0d0a
commit: bcdd75c596c89d7925a3438fde2578ca23a62b06 irqchip/loongson-pch-pic: Add ACPI init support
date: 4 weeks ago
config: loongarch-randconfig-r024-20220814 (https://download.01.org/0day-ci/archive/20220814/202208142108.qFi7EGi7-lkp@xxxxxxxxx/config)
compiler: loongarch64-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bcdd75c596c89d7925a3438fde2578ca23a62b06
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout bcdd75c596c89d7925a3438fde2578ca23a62b06
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
loongarch64-linux-ld: arch/loongarch/kernel/env.o: in function `init_environ':
env.c:(.init.text+0x130): undefined reference to `efi'
loongarch64-linux-ld: env.c:(.init.text+0x134): undefined reference to `efi'
loongarch64-linux-ld: env.c:(.init.text+0x134): undefined reference to `efi'
loongarch64-linux-ld: env.c:(.init.text+0x164): undefined reference to `efi_get_fdt_params'
loongarch64-linux-ld: env.c:(.init.text+0x17c): undefined reference to `efi_memmap_init_early'
loongarch64-linux-ld: arch/loongarch/kernel/setup.o: in function `platform_init':
setup.c:(.init.text+0x4f0): undefined reference to `efi_init'
loongarch64-linux-ld: setup.c:(.init.text+0x530): undefined reference to `efi_runtime_init'
loongarch64-linux-ld: arch/loongarch/kernel/mem.o: in function `memblock_init':
mem.c:(.init.text+0x24): undefined reference to `efi'
loongarch64-linux-ld: mem.c:(.init.text+0x28): undefined reference to `efi'
loongarch64-linux-ld: mem.c:(.init.text+0x28): undefined reference to `efi'
loongarch64-linux-ld: drivers/irqchip/irq-loongson-pch-pic.o: in function `pch_lpc_parse_madt':
>> irq-loongson-pch-pic.c:(.init.text+0x14): undefined reference to `pch_lpc_acpi_init'
--
0-DAY CI Kernel Test Service
https://01.org/lkp