tree: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/hotplug
head: 80828c71ab0544a5460eca2dc0f60c458ea467e1
commit: 80828c71ab0544a5460eca2dc0f60c458ea467e1 [5/5] PCI/ERR: Reduce compile time for CONFIG_PCIEAER=n
config: riscv-randconfig-r034-20211015 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 6069a6a5049497a32a50a49661c2f4169078bdba)
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
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git/commit/?id=80828c71ab0544a5460eca2dc0f60c458ea467e1
git remote add helgaas-pci https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git
git fetch --no-tags helgaas-pci pci/hotplug
git checkout 80828c71ab0544a5460eca2dc0f60c458ea467e1
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <redacted>
All errors (new ones prefixed by >>):
quoted
ld.lld: error: undefined symbol: pci_uevent_ers
>>> referenced by err.c
>>> pci/pcie/err.o:(pcie_do_recovery) in archive drivers/built-in.a
>>> referenced by err.c
>>> pci/pcie/err.o:(report_resume) in archive drivers/built-in.a
>>> referenced by err.c
>>> pci/pcie/err.o:(report_error_detected) in archive drivers/built-in.a
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org