[linux-next:master 14542/14717] loongarch64-linux-ld: drivers/acpi/pci_mcfg.o:undefined reference to `loongson_pci_ecam_ops'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Huacai,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   6c8f479764ebe2848589de3249743ea552ed2495
commit: 0e81a4eb7bbca00e326adae81191969512ad583c [14542/14717] LoongArch: Add PCI controller support
config: loongarch-randconfig-s031-20220808 (https://download.01.org/0day-ci/archive/20220809/202208092008.Y5Q7YIt1-lkp@xxxxxxxxx/config)
compiler: loongarch64-linux-gcc (GCC) 12.1.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.4-39-gce1a6720-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=0e81a4eb7bbca00e326adae81191969512ad583c
        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 0e81a4eb7bbca00e326adae81191969512ad583c
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' 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+0x120): undefined reference to `efi'
   loongarch64-linux-ld: env.c:(.init.text+0x124): undefined reference to `efi'
   loongarch64-linux-ld: env.c:(.init.text+0x124): undefined reference to `efi'
   loongarch64-linux-ld: env.c:(.init.text+0x154): undefined reference to `efi_get_fdt_params'
   loongarch64-linux-ld: env.c:(.init.text+0x16c): undefined reference to `efi_memmap_init_early'
   loongarch64-linux-ld: arch/loongarch/kernel/setup.o: in function `.L9':
   setup.c:(.init.text+0x128): undefined reference to `efi'
   loongarch64-linux-ld: setup.c:(.init.text+0x12c): undefined reference to `efi'
   loongarch64-linux-ld: setup.c:(.init.text+0x12c): undefined reference to `efi'
   loongarch64-linux-ld: arch/loongarch/kernel/setup.o: in function `platform_init':
   setup.c:(.init.text+0x6a4): undefined reference to `efi_init'
   loongarch64-linux-ld: setup.c:(.init.text+0x74c): 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: arch/loongarch/kernel/numa.o: in function `.L56':
   numa.c:(.init.text+0x564): undefined reference to `efi'
   loongarch64-linux-ld: numa.c:(.init.text+0x568): undefined reference to `efi'
   loongarch64-linux-ld: arch/loongarch/kernel/numa.o:numa.c:(.init.text+0x568): more undefined references to `efi' follow
   loongarch64-linux-ld: mm/memory_hotplug.o: in function `.L377':
   memory_hotplug.c:(.ref.text+0xc10): undefined reference to `arch_remove_memory'
   loongarch64-linux-ld: drivers/irqchip/irq-loongarch-cpu.o: in function `.L12':
   irq-loongarch-cpu.c:(.text+0x78): undefined reference to `pch_lpc_handle'
   loongarch64-linux-ld: irq-loongarch-cpu.c:(.text+0x7c): undefined reference to `pch_lpc_handle'
   loongarch64-linux-ld: irq-loongarch-cpu.c:(.text+0x7c): undefined reference to `pch_lpc_handle'
   loongarch64-linux-ld: drivers/irqchip/irq-loongarch-cpu.o: in function `.L13':
   irq-loongarch-cpu.c:(.text+0x98): undefined reference to `find_pch_pic'
   loongarch64-linux-ld: drivers/irqchip/irq-loongarch-cpu.o: in function `.L11':
   irq-loongarch-cpu.c:(.text+0xac): undefined reference to `pch_pic_handle'
   loongarch64-linux-ld: irq-loongarch-cpu.c:(.text+0xb0): undefined reference to `pch_pic_handle'
   loongarch64-linux-ld: irq-loongarch-cpu.c:(.text+0xb0): undefined reference to `pch_pic_handle'
   loongarch64-linux-ld: drivers/irqchip/irq-loongarch-cpu.o: in function `eiointc_parse_madt':
   irq-loongarch-cpu.c:(.init.text+0x10): undefined reference to `eiointc_acpi_init'
>> loongarch64-linux-ld: drivers/acpi/pci_mcfg.o:(.data+0x68): undefined reference to `loongson_pci_ecam_ops'
   loongarch64-linux-ld: drivers/acpi/pci_mcfg.o:(.data+0x108): undefined reference to `loongson_pci_ecam_ops'
   loongarch64-linux-ld: drivers/acpi/pci_mcfg.o:(.data+0x1a8): undefined reference to `loongson_pci_ecam_ops'
   loongarch64-linux-ld: drivers/acpi/pci_mcfg.o:(.data+0x248): undefined reference to `loongson_pci_ecam_ops'
   loongarch64-linux-ld: arch/loongarch/pci/pci.o: in function `pcibios_device_add':
>> pci.c:(.text+0x1e4): undefined reference to `get_pch_msi_handle'
   loongarch64-linux-ld: arch/loongarch/pci/acpi.o: in function `.L39':
>> acpi.c:(.text+0x31c): undefined reference to `loongson_pci_ecam_ops'
>> loongarch64-linux-ld: acpi.c:(.text+0x320): undefined reference to `loongson_pci_ecam_ops'
>> loongarch64-linux-ld: acpi.c:(.text+0x320): undefined reference to `loongson_pci_ecam_ops'

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux