Hi, > -----Original Message----- > From: kernel test robot <lkp@xxxxxxxxx> > Sent: Wednesday, February 1, 2023 10:42 AM > To: Biju Das <biju.das.jz@xxxxxxxxxxxxxx> > Cc: llvm@xxxxxxxxxxxxxxx; oe-kbuild-all@xxxxxxxxxxxxxxx; linux- > usb@xxxxxxxxxxxxxxx; Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> > Subject: [usb:usb-next 35/58] ld.lld: error: undefined symbol: > rzv2m_usb3drd_reset > head: 45bf39f8df7f05efb83b302c65ae3b9bc92b7065 > commit: c52c9acc415eb6ff54f658492f8c53da0fc3528a [35/58] xhci: host: Add > Renesas RZ/V2M SoC support > config: arm64-randconfig-r015-20230201 > compiler: clang version 16.0.0 > chmod +x ~/bin/make.cross > # install arm64 cross compiling tool for clang build > # apt-get install binutils-aarch64-linux-gnu > # > git remote add usb > git fetch --no-tags usb usb-next > git checkout c52c9acc415eb6ff54f658492f8c53da0fc3528a > # 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=arm64 olddefconfig > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 > O=build_dir ARCH=arm64 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: rzv2m_usb3drd_reset > >>> referenced by xhci-rzv2m.c > >>> drivers/usb/host/xhci-rzv2m.o:(xhci_rzv2m_init_quirk) > in archive vmlinux.a > > Kconfig warnings: (for reference only) > WARNING: unmet direct dependencies detected for USB_RZV2M_USB3DRD > Depends on [n]: USB_SUPPORT [=y] && USB_GADGET [=n] && (ARCH_R9A09G011 > [=n] || COMPILE_TEST [=y]) > Selected by [y]: > - USB_XHCI_RZV2M [=y] && USB_SUPPORT [=y] && USB [=y] && USB_XHCI_HCD > [=y] && USB_XHCI_PLATFORM [=y] && (ARCH_R9A09G011 [=n] || COMPILE_TEST [=y]) Arnd sent a patch[1] to fix these unmet direct dependencies. [1] https://lore.kernel.org/linux-usb/OS0PR01MB59227F6D1B7C28E6316A5E3986D09@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/T/#t Cheers, Biju