tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 840126e36e8ff272cb63158646433fa1324533d9 commit: 649f7e9813237a33b10ac2c228deeba1bfcd8166 [5503/5667] kbuild: add debug level and macro defs options config: loongarch-randconfig-r031-20220906 (https://download.01.org/0day-ci/archive/20220907/202209071708.Knelj7it-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/next/linux-next.git/commit/?id=649f7e9813237a33b10ac2c228deeba1bfcd8166 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 649f7e9813237a33b10ac2c228deeba1bfcd8166 # 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: loongarch64-linux-ld: DWARF error: could not find abbrev number 1995 drivers/irqchip/irq-loongson-eiointc.o: in function `.LVL82': irq-loongson-eiointc.c:(.init.text+0x4c): undefined reference to `pch_msi_acpi_init' loongarch64-linux-ld: loongarch64-linux-ld: DWARF error: could not find abbrev number 13400 drivers/pci/msi/legacy.o: in function `.LVL5': legacy.c:(.text+0x3c): undefined reference to `msi_first_desc' loongarch64-linux-ld: drivers/pci/msi/legacy.o: in function `.LVL12': legacy.c:(.text+0x74): undefined reference to `msi_next_desc' loongarch64-linux-ld: drivers/pci/msi/legacy.o: in function `.LVL18': legacy.c:(.text+0xbc): undefined reference to `msi_first_desc' loongarch64-linux-ld: drivers/pci/msi/legacy.o: in function `.L18': legacy.c:(.text+0xec): undefined reference to `msi_next_desc' loongarch64-linux-ld: drivers/pci/msi/legacy.o: in function `.LVL32': legacy.c:(.text+0x160): undefined reference to `msi_first_desc' loongarch64-linux-ld: drivers/pci/msi/legacy.o: in function `.LVL35': legacy.c:(.text+0x174): undefined reference to `msi_next_desc' loongarch64-linux-ld: drivers/pci/msi/legacy.o: in function `.LVL40': >> legacy.c:(.text+0x1a8): undefined reference to `msi_device_populate_sysfs' loongarch64-linux-ld: drivers/pci/msi/legacy.o: in function `.LVL44': legacy.c:(.text+0x1dc): undefined reference to `msi_device_destroy_sysfs' loongarch64-linux-ld: loongarch64-linux-ld: DWARF error: could not find abbrev number 42 drivers/firmware/sysfb.o: in function `.LVL3': sysfb.c:(.init.text+0x3c): undefined reference to `screen_info' loongarch64-linux-ld: sysfb.c:(.init.text+0x40): undefined reference to `screen_info' loongarch64-linux-ld: sysfb.c:(.init.text+0x40): undefined reference to `screen_info' loongarch64-linux-ld: drivers/firmware/sysfb.o: in function `.L8': sysfb.c:(.init.text+0x54): undefined reference to `screen_info' loongarch64-linux-ld: sysfb.c:(.init.text+0x58): undefined reference to `screen_info' loongarch64-linux-ld: drivers/firmware/sysfb.o:sysfb.c:(.init.text+0x58): more undefined references to `screen_info' follow loongarch64-linux-ld: loongarch64-linux-ld: DWARF error: could not find abbrev number 1843 arch/loongarch/pci/pci.o: in function `.LVL30': pci.c:(.text+0x1a0): undefined reference to `get_pch_msi_handle' -- 0-DAY CI Kernel Test Service https://01.org/lkp