tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: b8170452cd5121b11a5726e3ea8dbdfc2d74e771 commit: 7c44c1248c36342bf1ccc0fab4a4ed9c62286604 [10923/11475] ata: pata_legacy: add compile test support config: hexagon-randconfig-r001-20220108 (https://download.01.org/0day-ci/archive/20220109/202201090318.1AtgpfBK-lkp@xxxxxxxxx/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project f3a344d2125fa37e59bae1b0874442c650a19607) 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=7c44c1248c36342bf1ccc0fab4a4ed9c62286604 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 7c44c1248c36342bf1ccc0fab4a4ed9c62286604 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): >> ld.lld: error: undefined symbol: ata_timing_compute >>> referenced by pata_legacy.c >>> ata/pata_legacy.o:(ht6560a_set_piomode) in archive drivers/built-in.a >>> referenced by pata_legacy.c >>> ata/pata_legacy.o:(ht6560a_set_piomode) in archive drivers/built-in.a >>> referenced by pata_legacy.c >>> ata/pata_legacy.o:(ht6560b_set_piomode) in archive drivers/built-in.a >>> referenced 13 more times -- >> ld.lld: error: undefined symbol: ata_timing_merge >>> referenced by pata_legacy.c >>> ata/pata_legacy.o:(opti82c611a_set_piomode) in archive drivers/built-in.a >>> referenced by pata_legacy.c >>> ata/pata_legacy.o:(opti82c611a_set_piomode) in archive drivers/built-in.a >>> referenced by pata_legacy.c >>> ata/pata_legacy.o:(opti82c46x_set_piomode) in archive drivers/built-in.a >>> referenced 1 more times Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for PATA_LEGACY Depends on ATA && ATA_SFF && (ISA || PCI Selected by - PATA_QDI && ATA && ATA_SFF && (ISA || COMPILE_TEST --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx