[asahilinux:pr/5 2/3] h8300-linux-ld: pwm-apple-m1.c:undefined reference to `__udivdi3'

From: kernel test robot
Date: Mon Aug 09 2021 - 22:45:16 EST


tree: https://github.com/AsahiLinux/linux pr/5
head: 2a8cb244c84674dc9205e7f29620f687a5fab68e
commit: 512136b4d869aec2efd9be2d6b2b7d70f54cb847 [2/3] pwm: apple-m1: Add Apple M1 FPWM controller driver
config: h8300-allyesconfig (attached as .config)
compiler: h8300-linux-gcc (GCC) 10.3.0
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://github.com/AsahiLinux/linux/commit/512136b4d869aec2efd9be2d6b2b7d70f54cb847
git remote add asahilinux https://github.com/AsahiLinux/linux
git fetch --no-tags asahilinux pr/5
git checkout 512136b4d869aec2efd9be2d6b2b7d70f54cb847
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=h8300 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 >>):

h8300-linux-ld: drivers/pwm/pwm-apple-m1.o: in function `fpwm_config':
pwm-apple-m1.c:(.text+0x2e7): undefined reference to `__udivdi3'
>> h8300-linux-ld: pwm-apple-m1.c:(.text+0x39f): undefined reference to `__udivdi3'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip