[xlnx:xlnx_rebase_v5.10 941/1758] rtc-zynqmp.c:undefined reference to `__divdi3'

From: kernel test robot <hidden>
Date: 2021-08-01 09:59:33
Also in: oe-kbuild-all

tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.10
head:   cc84db65c53872c3beece8f401232232609b47de
commit: c2389b3a5c755a713dd15013c0d75cabbb9e12e5 [941/1758] rtc: zynqmp: Add calibration set and get support
config: h8300-randconfig-c004-20210728 (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/Xilinx/linux-xlnx/commit/c2389b3a5c755a713dd15013c0d75cabbb9e12e5
        git remote add xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xlnx xlnx_rebase_v5.10
        git checkout c2389b3a5c755a713dd15013c0d75cabbb9e12e5
        # 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 <redacted>

All errors (new ones prefixed by >>):

   h8300-linux-ld: section .init.text LMA [0000000000500960,0000000000543ceb] overlaps section .text LMA [000000000000025c,0000000000a8dccf]
   h8300-linux-ld: section .data VMA [0000000000400000,000000000050095f] overlaps section .text VMA [000000000000025c,0000000000a8dccf]
   h8300-linux-ld: arch/h8300/kernel/entry.o: in function `resume_kernel':
   (.text+0x280): undefined reference to `TI_PRE_COUNT'
   h8300-linux-ld: drivers/rtc/rtc-zynqmp.o: in function `xlnx_rtc_read_offset':
quoted
rtc-zynqmp.c:(.text+0x1b1): undefined reference to `__divdi3'
   h8300-linux-ld: drivers/rtc/rtc-zynqmp.o: in function `xlnx_rtc_set_offset':
   rtc-zynqmp.c:(.text+0x5a1): undefined reference to `__divdi3'

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

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help