Messages in this thread | | | Date | Thu, 8 Apr 2021 07:34:25 +0800 | From | kernel test robot <> | Subject | undefined reference to `cmpxchg8b_emu' |
| |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 454859c552da78b0f587205d308401922b56863e commit: 1c530d431c698f156538b8954b07df95337beb34 dma-buf: Use atomic_fetch_add() for the context id date: 11 months ago config: um-randconfig-r034-20210407 (attached as .config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1c530d431c698f156538b8954b07df95337beb34 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 1c530d431c698f156538b8954b07df95337beb34 # save the attached .config to linux build tree make W=1 ARCH=um
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
/usr/bin/ld: arch/x86/um/../lib/atomic64_32.o:(___ksymtab+atomic64_xchg_386+0x0): undefined reference to `atomic64_xchg_386' /usr/bin/ld: arch/x86/um/../lib/atomic64_32.o:(___ksymtab+atomic64_set_386+0x0): undefined reference to `atomic64_set_386' /usr/bin/ld: arch/x86/um/../lib/atomic64_32.o:(___ksymtab+atomic64_read_386+0x0): undefined reference to `atomic64_read_386' /usr/bin/ld: arch/x86/um/../lib/atomic64_32.o:(___ksymtab+atomic64_dec_386+0x0): undefined reference to `atomic64_dec_386' /usr/bin/ld: arch/x86/um/../lib/atomic64_32.o:(___ksymtab+atomic64_inc_386+0x0): undefined reference to `atomic64_inc_386' /usr/bin/ld: arch/x86/um/../lib/atomic64_32.o:(___ksymtab+atomic64_sub_386+0x0): undefined reference to `atomic64_sub_386' /usr/bin/ld: arch/x86/um/../lib/atomic64_32.o:(___ksymtab+atomic64_add_386+0x0): undefined reference to `atomic64_add_386' /usr/bin/ld: kernel/sched/cputime.o: in function `account_user_time': (.text+0x47): undefined reference to `atomic64_add_386' /usr/bin/ld: kernel/sched/cputime.o: in function `account_guest_time': (.text+0x1a4): undefined reference to `atomic64_add_386' /usr/bin/ld: kernel/sched/cputime.o: in function `account_system_index_time': (.text+0x24d): undefined reference to `atomic64_add_386' /usr/bin/ld: kernel/sched/rt.o: in function `update_curr_rt': rt.c:(.text+0x807): undefined reference to `atomic64_add_386' /usr/bin/ld: kernel/sched/deadline.o:deadline.c:(.text+0x1174): more undefined references to `atomic64_add_386' follow /usr/bin/ld: kernel/time/posix-cpu-timers.o: in function `cpu_clock_sample_group': posix-cpu-timers.c:(.text+0x7f7): undefined reference to `atomic64_read_386' /usr/bin/ld: posix-cpu-timers.c:(.text+0x805): undefined reference to `atomic64_read_386' /usr/bin/ld: posix-cpu-timers.c:(.text+0x827): undefined reference to `atomic64_read_386' /usr/bin/ld: posix-cpu-timers.c:(.text+0x838): undefined reference to `atomic64_read_386' /usr/bin/ld: posix-cpu-timers.c:(.text+0x847): undefined reference to `atomic64_read_386' /usr/bin/ld: posix-cpu-timers.c:(.text+0x901): undefined reference to `cmpxchg8b_emu' /usr/bin/ld: posix-cpu-timers.c:(.text+0x939): undefined reference to `atomic64_read_386' /usr/bin/ld: posix-cpu-timers.c:(.text+0x991): undefined reference to `cmpxchg8b_emu' /usr/bin/ld: posix-cpu-timers.c:(.text+0x9c9): undefined reference to `atomic64_read_386' /usr/bin/ld: posix-cpu-timers.c:(.text+0xa21): undefined reference to `cmpxchg8b_emu' /usr/bin/ld: posix-cpu-timers.c:(.text+0xa59): undefined reference to `atomic64_read_386' /usr/bin/ld: kernel/time/posix-cpu-timers.o: in function `thread_group_sample_cputime': posix-cpu-timers.c:(.text+0x233e): undefined reference to `atomic64_read_386' /usr/bin/ld: posix-cpu-timers.c:(.text+0x234f): undefined reference to `atomic64_read_386' /usr/bin/ld: posix-cpu-timers.c:(.text+0x235e): undefined reference to `atomic64_read_386' /usr/bin/ld: kernel/time/posix-cpu-timers.o: in function `run_posix_cpu_timers': posix-cpu-timers.c:(.text+0x25f5): undefined reference to `atomic64_read_386' /usr/bin/ld: kernel/time/posix-cpu-timers.o:posix-cpu-timers.c:(.text+0x2606): more undefined references to `atomic64_read_386' follow /usr/bin/ld: kernel/trace/trace_clock.o: in function `trace_clock_counter': (.text+0x145): undefined reference to `atomic64_add_return_386' /usr/bin/ld: kernel/bpf/core.o: in function `___bpf_prog_run': core.c:(.text+0x236f): undefined reference to `atomic64_add_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_inc': (.text+0x173): undefined reference to `atomic64_inc_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_inc_with_uref': (.text+0x194): undefined reference to `atomic64_inc_386' /usr/bin/ld: (.text+0x19f): undefined reference to `atomic64_inc_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_add': (.text+0x1c3): undefined reference to `atomic64_add_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_sub': (.text+0x1e3): undefined reference to `atomic64_sub_return_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_inc': (.text+0x200): undefined reference to `atomic64_inc_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_inc_not_zero': (.text+0x2d4): undefined reference to `atomic64_read_386' /usr/bin/ld: (.text+0x328): undefined reference to `cmpxchg8b_emu' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_inc_not_zero': (.text+0x3b7): undefined reference to `atomic64_read_386' /usr/bin/ld: (.text+0x404): undefined reference to `cmpxchg8b_emu' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_mmap': syscall.c:(.text+0x7ff): undefined reference to `atomic64_inc_386' /usr/bin/ld: syscall.c:(.text+0x80a): undefined reference to `atomic64_inc_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_mmap_open': syscall.c:(.text+0x8ce): undefined reference to `atomic64_inc_386' /usr/bin/ld: syscall.c:(.text+0x8d9): undefined reference to `atomic64_inc_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `__bpf_prog_get.constprop.0': syscall.c:(.text+0x133f): undefined reference to `atomic64_inc_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `__bpf_map_put.constprop.0': syscall.c:(.text+0x4ae4): undefined reference to `atomic64_dec_return_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_put_with_uref': (.text+0x4bc5): undefined reference to `atomic64_dec_return_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `map_create': syscall.c:(.text+0x511f): undefined reference to `atomic64_set_386' /usr/bin/ld: syscall.c:(.text+0x512a): undefined reference to `atomic64_set_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_get': (.text+0x570c): undefined reference to `atomic64_inc_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_get_with_uref': (.text+0x57fc): undefined reference to `atomic64_inc_386' /usr/bin/ld: (.text+0x5807): undefined reference to `atomic64_inc_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `__bpf_prog_put.constprop.0': syscall.c:(.text+0x71a1): undefined reference to `atomic64_dec_return_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_load': syscall.c:(.text+0x76d9): undefined reference to `atomic64_set_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_link_init': (.text+0x7ee5): undefined reference to `atomic64_set_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_link_inc': (.text+0x7f3d): undefined reference to `atomic64_inc_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_link_put': (.text+0x7f62): undefined reference to `atomic64_dec_return_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_raw_tracepoint_open': syscall.c:(.text+0x8333): undefined reference to `atomic64_set_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_link_get_from_fd': (.text+0x8574): undefined reference to `atomic64_inc_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_by_id': (.text+0x862a): undefined reference to `atomic64_read_386' /usr/bin/ld: (.text+0x867b): undefined reference to `cmpxchg8b_emu' /usr/bin/ld: kernel/bpf/syscall.o: in function `__do_sys_bpf': syscall.c:(.text+0x9846): undefined reference to `atomic64_read_386' /usr/bin/ld: syscall.c:(.text+0x98b7): undefined reference to `cmpxchg8b_emu' /usr/bin/ld: syscall.c:(.text+0x993c): undefined reference to `atomic64_inc_386' /usr/bin/ld: fs/proc/task_mmu.o: in function `task_mem': task_mmu.c:(.text+0x3224): undefined reference to `atomic64_read_386' /usr/bin/ld: drivers/dma-buf/dma-fence.o: in function `dma_fence_context_alloc': >> (.text+0x63): undefined reference to `cmpxchg8b_emu' collect2: error: ld returned 1 exit status
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [unhandled content-type:application/gzip] | |