[kbuild:kbuild 50/55] efi.c:undefined reference to `__udivdi3'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://kernel.googlesource.com/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git kbuild
head:   025960c034eacc433afd366085077991f8ed6e4e
commit: 9d429754d43ad1c701b8875cfd645736c8570976 [50/55] kbuild: change *FLAGS_<basetarget>.o to take the path relative to $(obj)
config: ia64-defconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 9d429754d43ad1c701b8875cfd645736c8570976
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=ia64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

   init/do_mounts_rd.o: In function `rd_load_image':
   do_mounts_rd.c:(.init.text+0xce2): undefined reference to `__udivdi3'
   do_mounts_rd.c:(.init.text+0xec2): undefined reference to `__umoddi3'
   arch/ia64/kernel/efi.o: In function `find_memmap_space':
>> efi.c:(.text+0x2542): undefined reference to `__udivdi3'
   arch/ia64/kernel/time.o: In function `ia64_cpu_local_tick':
>> time.c:(.text+0x741): undefined reference to `__udivdi3'
   arch/ia64/kernel/time.o: In function `ia64_init_itm':
   time.c:(.text+0x982): undefined reference to `__udivdi3'
   time.c:(.text+0xc52): undefined reference to `__udivdi3'
   time.c:(.text+0xcd2): undefined reference to `__udivdi3'
   arch/ia64/kernel/time.o:time.c:(.text+0xeb2): more undefined references to `__udivdi3' follow
   arch/ia64/kernel/iosapic.o: In function `get_target_cpu':
   iosapic.c:(.text+0x1822): undefined reference to `__moddi3'
   arch/ia64/kernel/mca_drv.o: In function `mca_make_slidx':
   mca_drv.c:(.text+0x412): undefined reference to `__moddi3'
   mca_drv.c:(.text+0xa52): undefined reference to `__moddi3'
   mca_drv.c:(.text+0xb32): undefined reference to `__moddi3'
   mca_drv.c:(.text+0xc12): undefined reference to `__moddi3'
   arch/ia64/kernel/mca_drv.o:mca_drv.c:(.text+0xcf2): more undefined references to `__moddi3' follow
   arch/ia64/dig/setup.o: In function `dig_setup':
>> setup.c:(.init.text+0x122): undefined reference to `__udivdi3'
   kernel/sysctl.o: In function `__do_proc_doulongvec_minmax':
   sysctl.c:(.text+0x23a2): undefined reference to `__udivdi3'
   sysctl.c:(.text+0x2772): undefined reference to `__udivdi3'
   kernel/ptrace.o: In function `ptrace_request':
>> ptrace.c:(.text+0x4312): undefined reference to `__umoddi3'
   kernel/sched/core.o: In function `to_ratio':
>> core.c:(.text+0x8412): undefined reference to `__udivdi3'
   kernel/sched/cputime.o: In function `cputime_adjust':
>> cputime.c:(.text+0x1012): undefined reference to `__udivdi3'
   kernel/sched/fair.o: In function `__calc_delta':
>> fair.c:(.text+0x682): undefined reference to `__udivdi3'
   kernel/sched/fair.o: In function `attach_entity_load_avg.isra.1':
   fair.c:(.text+0x2702): undefined reference to `__udivdi3'
   kernel/sched/fair.o: In function `select_task_rq_fair':
   fair.c:(.text+0x39d2): undefined reference to `__udivdi3'
   kernel/sched/fair.o:fair.c:(.text+0x3fb2): more undefined references to `__udivdi3' follow
   kernel/irq/irqdomain.o: In function `irq_domain_alloc_descs':
   irqdomain.c:(.text+0x2372): undefined reference to `__umoddi3'
   kernel/irq/affinity.o: In function `__irq_build_affinity_masks':
   affinity.c:(.text+0x4b2): undefined reference to `__udivdi3'
   affinity.c:(.text+0x532): undefined reference to `__umoddi3'
   affinity.c:(.text+0x572): undefined reference to `__udivdi3'
   kernel/rcu/tree.o: In function `rcu_gp_slow.part.40':
   tree.c:(.text+0x8542): undefined reference to `__umoddi3'
   kernel/rcu/tree.o: In function `rcu_init':
   tree.c:(.init.text+0xb52): undefined reference to `__udivdi3'
   tree.c:(.init.text+0x1112): undefined reference to `__moddi3'
   kernel/time/timekeeping.o: In function `scale64_check_overflow':
>> timekeeping.c:(.text+0x2002): undefined reference to `__umoddi3'
>> timekeeping.c:(.text+0x2022): undefined reference to `__udivdi3'
   timekeeping.c:(.text+0x2172): undefined reference to `__udivdi3'
   kernel/time/timekeeping.o: In function `get_device_system_crosststamp':
   timekeeping.c:(.text+0x32f2): undefined reference to `__umoddi3'
   timekeeping.c:(.text+0x3312): undefined reference to `__udivdi3'
   timekeeping.c:(.text+0x3332): undefined reference to `__udivdi3'
   kernel/time/timekeeping.o: In function `timekeeping_advance':
   timekeeping.c:(.text+0x4442): undefined reference to `__udivdi3'
   kernel/time/timekeeping.o: In function `tk_setup_internals.constprop.6':
   timekeeping.c:(.text+0x4bf2): undefined reference to `__udivdi3'
   kernel/time/clocksource.o: In function `clocks_calc_mult_shift':
>> clocksource.c:(.text+0xf2): undefined reference to `__udivdi3'
   kernel/time/clocksource.o:clocksource.c:(.text+0x13e2): more undefined references to `__udivdi3' follow
   kernel/bpf/core.o: In function `___bpf_prog_run':
>> core.c:(.text+0xb82): undefined reference to `__umoddi3'
   core.c:(.text+0xc22): undefined reference to `__umoddi3'
   core.c:(.text+0xd22): undefined reference to `__udivdi3'
   core.c:(.text+0xd62): undefined reference to `__umoddi3'
   core.c:(.text+0xe02): undefined reference to `__umoddi3'
   mm/page-writeback.o: In function `__wb_calc_thresh':
   page-writeback.c:(.text+0x602): undefined reference to `__udivdi3'
   mm/page-writeback.o: In function `__wb_update_bandwidth.isra.10':
   page-writeback.c:(.text+0x2a92): undefined reference to `__udivdi3'
   page-writeback.c:(.text+0x2ab2): undefined reference to `__udivdi3'
   page-writeback.c:(.text+0x2b52): undefined reference to `__udivdi3'
   page-writeback.c:(.text+0x2ca2): undefined reference to `__udivdi3'
   mm/page-writeback.o:page-writeback.c:(.text+0x2e22): more undefined references to `__udivdi3' follow
   mm/percpu.o: In function `pcpu_dump_alloc_info':
>> percpu.c:(.text.unlikely+0x3f2): undefined reference to `__moddi3'
   percpu.c:(.text.unlikely+0x492): undefined reference to `__moddi3'
   mm/compaction.o: In function `compaction_zonelist_suitable':
>> compaction.c:(.text+0x8492): undefined reference to `__udivdi3'
   mm/vmalloc.o: In function `pcpu_get_vm_areas':
   vmalloc.c:(.text+0xa852): undefined reference to `__moddi3'
   mm/page_alloc.o: In function `setup_per_zone_lowmem_reserve':
>> page_alloc.c:(.text+0x7c2): undefined reference to `__udivdi3'
   mm/page_alloc.o: In function `pageset_set_high_and_batch':
   page_alloc.c:(.text+0x4942): undefined reference to `__udivdi3'
   mm/page_alloc.o: In function `setup_per_zone_wmarks':
   page_alloc.c:(.text+0x101f2): undefined reference to `__udivdi3'
   mm/page_alloc.o: In function `find_zone_movable_pfns_for_nodes':
>> page_alloc.c:(.init.text+0xdc2): undefined reference to `__udivdi3'
   page_alloc.c:(.init.text+0xe42): undefined reference to `__udivdi3'
   mm/page_alloc.o:page_alloc.c:(.init.text+0x3c12): more undefined references to `__udivdi3' follow
   mm/swapfile.o: In function `__se_sys_swapon':
>> swapfile.c:(.text+0xc732): undefined reference to `__umoddi3'
   mm/dmapool.o: In function `show_pools':
>> dmapool.c:(.text+0x242): undefined reference to `__udivdi3'
   dmapool.c:(.text+0x3e2): undefined reference to `__udivdi3'
   mm/dmapool.o: In function `dma_pool_create':
>> dmapool.c:(.text+0x4e2): undefined reference to `__umoddi3'
   mm/mempolicy.o: In function `offset_il_node':
>> mempolicy.c:(.text+0x412): undefined reference to `__umoddi3'
   mm/slub.o: In function `calculate_sizes':
>> slub.c:(.text+0x14e2): undefined reference to `__udivdi3'
   slub.c:(.text+0x1572): undefined reference to `__udivdi3'
   slub.c:(.text+0x1652): undefined reference to `__udivdi3'
   slub.c:(.text+0x1692): undefined reference to `__udivdi3'

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux