On 7/7/22 12:17, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: e8a4e1c1bb697b1d9fc48f0e56dc0f50bc024bee > commit: 7036440eab3e2d47a775d4616909f8235488d714 ARM: omap1: enable multiplatform > date: 5 weeks ago > config: arm-randconfig-r035-20220706 (https://download.01.org/0day-ci/archive/20220708/202207080322.DnumSqh8-lkp@xxxxxxxxx/config) > compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project f553287b588916de09c66e3e32bf75e5060f967f) > 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 arm cross compiling tool for clang build > # apt-get install binutils-arm-linux-gnueabi > # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7036440eab3e2d47a775d4616909f8235488d714 > git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > git fetch --no-tags linus master > git checkout 7036440eab3e2d47a775d4616909f8235488d714 > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm 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 >>): > >>> ld.lld: error: undefined symbol: omap_set_dma_priority > >>> referenced by omapfb_main.c:1706 (drivers/video/fbdev/omap/omapfb_main.c:1706) > >>> video/fbdev/omap/omapfb_main.o:(omapfb_do_probe) in archive drivers/built-in.a (also happens with gcc) Discrepancy between arch/arm/Kconfig and arch/arm/mach-omap1/{Kconfig,Makefile}, drivers/video/fbdev/omap/Kconfig, and <linux/omap-dma.h>. Kernel .config has CONFIG_ARCH_OMAP1=y # CONFIG_ARCH_OMAP730 is not set # CONFIG_ARCH_OMAP850 is not set # CONFIG_ARCH_OMAP16XX is not set CONFIG_ARCH_OMAP=y FB_OMAP_DMA_TUNE depends on FB_OMAP, which depends on ARCH_OMAP1 || (ARM && COMPILE_TEST), all of which are 'y'. <linux/omap-dma.h> expects omap_set_dma_priority() to be defined elsewhere (not inline) for this .config: #if defined(CONFIG_ARCH_OMAP1) extern void omap_set_dma_priority(int lch, int dst_port, int priority); #else static inline void omap_set_dma_priority(int lch, int dst_port, int priority) { } #endif but arch/arm/mach-omap1/Makefile only builds omap-dma.o for ifdef CONFIG_ARCH_OMAP1_ANY, which is not set. -- ~Randy