vdpa.c:undefined reference to `atomic64_add_386'

From: kernel test robot
Date: Sun Apr 04 2021 - 04:53:13 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 2023a53bdf41b7646b1d384b6816af06309f73a5
commit: ad89653f79f1882d55d9df76c9b2b94f008c4e27 vhost-vdpa: fix page pinning leakage in error path (rework)
date: 4 months ago
config: um-randconfig-r016-20210404 (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=ad89653f79f1882d55d9df76c9b2b94f008c4e27
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout ad89653f79f1882d55d9df76c9b2b94f008c4e27
# 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@xxxxxxxxx>

All errors (new ones prefixed by >>):

/usr/bin/ld: kernel/fork.o: in function `mm_init.isra.0':
fork.c:(.text+0x387): undefined reference to `atomic64_set_386'
/usr/bin/ld: kernel/futex.o: in function `get_futex_key':
futex.c:(.text+0xc60): undefined reference to `atomic64_read_386'
/usr/bin/ld: futex.c:(.text+0xccf): undefined reference to `atomic64_add_return_386'
/usr/bin/ld: futex.c:(.text+0xce2): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: mm/debug.o: in function `dump_mm':
debug.c:(.text+0x275): undefined reference to `atomic64_read_386'
/usr/bin/ld: mm/z3fold.o: in function `z3fold_zpool_total_size':
z3fold.c:(.text+0x8a): undefined reference to `atomic64_read_386'
/usr/bin/ld: mm/z3fold.o: in function `z3fold_zpool_create':
z3fold.c:(.text+0x402): undefined reference to `atomic64_set_386'
/usr/bin/ld: mm/z3fold.o: in function `z3fold_page_putback':
z3fold.c:(.text+0x983): undefined reference to `atomic64_dec_386'
/usr/bin/ld: mm/z3fold.o: in function `z3fold_alloc':
z3fold.c:(.text+0xd3a): undefined reference to `atomic64_inc_386'
/usr/bin/ld: z3fold.c:(.text+0x10f5): undefined reference to `atomic64_dec_386'
/usr/bin/ld: mm/z3fold.o: in function `z3fold_reclaim_page.constprop.0':
z3fold.c:(.text+0x1417): undefined reference to `atomic64_dec_386'
/usr/bin/ld: z3fold.c:(.text+0x18cd): undefined reference to `atomic64_dec_386'
/usr/bin/ld: mm/z3fold.o: in function `do_compact_page':
z3fold.c:(.text+0x1f7b): undefined reference to `atomic64_dec_386'
/usr/bin/ld: z3fold.c:(.text+0x23b4): undefined reference to `atomic64_dec_386'
/usr/bin/ld: mm/z3fold.o:z3fold.c:(.text+0x262c): more undefined references to `atomic64_dec_386' follow
/usr/bin/ld: fs/inode.o: in function `inode_init_always':
inode.c:(.text+0x317): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/inode.o: in function `generic_update_time':
inode.c:(.text+0x2003): undefined reference to `atomic64_read_386'
/usr/bin/ld: inode.c:(.text+0x2041): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/inode.o: in function `file_update_time':
inode.c:(.text+0x28e1): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/namespace.o: in function `alloc_mnt_ns':
namespace.c:(.text+0x23e): undefined reference to `atomic64_add_return_386'
/usr/bin/ld: fs/io_uring.o: in function `io_account_mem':
io_uring.c:(.text+0x4de): undefined reference to `atomic64_add_386'
/usr/bin/ld: fs/io_uring.o: in function `io_sqe_buffer_unregister':
io_uring.c:(.text+0xf00): undefined reference to `atomic64_sub_386'
/usr/bin/ld: drivers/vhost/vdpa.o: in function `vhost_vdpa_iotlb_unmap':
vdpa.c:(.text+0x1e2): undefined reference to `atomic64_sub_386'
/usr/bin/ld: drivers/vhost/vdpa.o: in function `vhost_vdpa_map':
>> vdpa.c:(.text+0x43a): undefined reference to `atomic64_add_386'
/usr/bin/ld: drivers/vhost/vdpa.o: in function `vhost_vdpa_process_iotlb_msg':
vdpa.c:(.text+0x661): undefined reference to `atomic64_read_386'
/usr/bin/ld: net/core/net_namespace.o: in function `__net_gen_cookie':
net_namespace.c:(.text+0x7fa): undefined reference to `atomic64_read_386'
/usr/bin/ld: net_namespace.c:(.text+0x83f): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: net_namespace.c:(.text+0x846): undefined reference to `atomic64_read_386'
/usr/bin/ld: net_namespace.c:(.text+0x862): undefined reference to `atomic64_dec_return_386'
/usr/bin/ld: net/core/sock_diag.o: in function `__sock_gen_cookie':
sock_diag.c:(.text+0x30c): undefined reference to `atomic64_read_386'
/usr/bin/ld: sock_diag.c:(.text+0x351): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: sock_diag.c:(.text+0x358): undefined reference to `atomic64_read_386'
/usr/bin/ld: sock_diag.c:(.text+0x374): undefined reference to `atomic64_dec_return_386'
/usr/bin/ld: net/core/sock_diag.o: in function `sock_diag_check_cookie':
sock_diag.c:(.text+0x39f): undefined reference to `atomic64_read_386'
/usr/bin/ld: sock_diag.c:(.text+0x3e7): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: sock_diag.c:(.text+0x3ee): undefined reference to `atomic64_read_386'
/usr/bin/ld: sock_diag.c:(.text+0x41d): undefined reference to `atomic64_dec_return_386'
/usr/bin/ld: net/core/sock_diag.o: in function `sock_diag_save_cookie':
sock_diag.c:(.text+0x441): undefined reference to `atomic64_read_386'
/usr/bin/ld: sock_diag.c:(.text+0x487): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: sock_diag.c:(.text+0x48e): undefined reference to `atomic64_read_386'
/usr/bin/ld: sock_diag.c:(.text+0x4b4): undefined reference to `atomic64_dec_return_386'
/usr/bin/ld: net/sched/sch_cbs.o: in function `cbs_set_port_rate':
sch_cbs.c:(.text+0x1d6): undefined reference to `atomic64_set_386'
/usr/bin/ld: sch_cbs.c:(.text+0x1fe): undefined reference to `atomic64_read_386'
/usr/bin/ld: net/sched/sch_cbs.o: in function `cbs_dequeue_soft':
sch_cbs.c:(.text+0x6be): undefined reference to `atomic64_read_386'
/usr/bin/ld: sch_cbs.c:(.text+0x72b): undefined reference to `atomic64_read_386'
/usr/bin/ld: sch_cbs.c:(.text+0x73b): undefined reference to `atomic64_read_386'
/usr/bin/ld: net/netfilter/nfnetlink_acct.o: in function `nfnl_acct_fill_info.constprop.0':
nfnetlink_acct.c:(.text+0x13f): undefined reference to `atomic64_read_386'
/usr/bin/ld: net/netfilter/nfnetlink_acct.o:nfnetlink_acct.c:(.text+0x14d): more undefined references to `atomic64_read_386' follow
/usr/bin/ld: net/netfilter/nfnetlink_acct.o: in function `nfnl_acct_fill_info.constprop.0':
nfnetlink_acct.c:(.text+0x254): undefined reference to `atomic64_xchg_386'
/usr/bin/ld: nfnetlink_acct.c:(.text+0x262): undefined reference to `atomic64_xchg_386'
/usr/bin/ld: net/netfilter/nfnetlink_acct.o: in function `nfnl_acct_new':
nfnetlink_acct.c:(.text+0x5a3): undefined reference to `atomic64_set_386'
/usr/bin/ld: nfnetlink_acct.c:(.text+0x5ab): undefined reference to `atomic64_set_386'
/usr/bin/ld: nfnetlink_acct.c:(.text+0x65c): undefined reference to `atomic64_set_386'
/usr/bin/ld: nfnetlink_acct.c:(.text+0x688): undefined reference to `atomic64_set_386'
/usr/bin/ld: net/netfilter/nfnetlink_acct.o: in function `nfnl_acct_update':
nfnetlink_acct.c:(.text+0x98c): undefined reference to `atomic64_inc_386'
/usr/bin/ld: nfnetlink_acct.c:(.text+0x99c): undefined reference to `atomic64_add_386'
/usr/bin/ld: net/netfilter/nfnetlink_acct.o: in function `nfnl_acct_overquota':
nfnetlink_acct.c:(.text+0x9c3): undefined reference to `atomic64_read_386'
/usr/bin/ld: nfnetlink_acct.c:(.text+0x9ff): undefined reference to `atomic64_read_386'
/usr/bin/ld: net/netfilter/xt_connbytes.o: in function `connbytes_mt':
xt_connbytes.c:(.text+0x11a): undefined reference to `atomic64_read_386'
/usr/bin/ld: xt_connbytes.c:(.text+0x150): undefined reference to `atomic64_read_386'
/usr/bin/ld: xt_connbytes.c:(.text+0x19f): undefined reference to `atomic64_read_386'
/usr/bin/ld: net/netfilter/xt_connbytes.o:xt_connbytes.c:(.text+0x1ac): more undefined references to `atomic64_read_386' follow
/usr/bin/ld: net/netfilter/ipset/ip_set_core.o: in function `ip_set_match_extensions':
ip_set_core.c:(.text+0x3c6a): undefined reference to `atomic64_add_386'
/usr/bin/ld: ip_set_core.c:(.text+0x3c7b): undefined reference to `atomic64_add_386'
/usr/bin/ld: ip_set_core.c:(.text+0x3cad): undefined reference to `atomic64_read_386'
/usr/bin/ld: net/netfilter/ipset/ip_set_bitmap_ip.o: in function `bitmap_ip_add':
ip_set_bitmap_ip.c:(.text+0x3d4): undefined reference to `atomic64_set_386'
/usr/bin/ld: ip_set_bitmap_ip.c:(.text+0x3ee): undefined reference to `atomic64_set_386'
/usr/bin/ld: net/netfilter/ipset/ip_set_bitmap_ipmac.o: in function `bitmap_ipmac_add':
ip_set_bitmap_ipmac.c:(.text+0x934): undefined reference to `atomic64_set_386'
/usr/bin/ld: ip_set_bitmap_ipmac.c:(.text+0x94e): undefined reference to `atomic64_set_386'
/usr/bin/ld: net/netfilter/ipset/ip_set_hash_ip.o: in function `hash_ip6_add':
ip_set_hash_ip.c:(.text+0x3c1e): undefined reference to `atomic64_set_386'
/usr/bin/ld: net/netfilter/ipset/ip_set_hash_ip.o:ip_set_hash_ip.c:(.text+0x3c38): more undefined references to `atomic64_set_386' follow
/usr/bin/ld: net/ceph/osd_client.o: in function `__submit_request':
osd_client.c:(.text+0x6443): undefined reference to `atomic64_inc_return_386'
/usr/bin/ld: net/ceph/osd_client.o: in function `handle_timeout':
osd_client.c:(.text+0x82b7): undefined reference to `atomic64_inc_return_386'
/usr/bin/ld: net/ceph/osd_client.o: in function `ceph_osdc_sync':
osd_client.c:(.text+0xb065): undefined reference to `atomic64_read_386'
/usr/bin/ld: kernel/trace/trace_clock.o: in function `trace_clock_counter':
trace_clock.c:(.text+0xcd): undefined reference to `atomic64_add_return_386'
/usr/bin/ld: kernel/bpf/core.o: in function `___bpf_prog_run':
core.c:(.text+0x23de): undefined reference to `atomic64_add_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `__bpf_prog_get':
syscall.c:(.text+0x3ea): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `__bpf_map_put.constprop.0':
syscall.c:(.text+0x2b6d): undefined reference to `atomic64_dec_return_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_put_with_uref':
syscall.c:(.text+0x2c05): undefined reference to `atomic64_dec_return_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `map_create':
syscall.c:(.text+0x2e6a): undefined reference to `atomic64_set_386'
/usr/bin/ld: syscall.c:(.text+0x2e78): undefined reference to `atomic64_set_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_inc':
syscall.c:(.text+0x3236): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_inc_with_uref':
syscall.c:(.text+0x324c): undefined reference to `atomic64_inc_386'
/usr/bin/ld: syscall.c:(.text+0x3257): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_get':
syscall.c:(.text+0x32b3): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_get_with_uref':
syscall.c:(.text+0x332a): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o:syscall.c:(.text+0x3335): more undefined references to `atomic64_inc_386' follow
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_inc_not_zero':
syscall.c:(.text+0x3377): undefined reference to `atomic64_read_386'
/usr/bin/ld: syscall.c:(.text+0x33b1): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: kernel/bpf/syscall.o: in function `__bpf_prog_put.constprop.0':
syscall.c:(.text+0x4240): undefined reference to `atomic64_dec_return_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_load':
syscall.c:(.text+0x4560): undefined reference to `atomic64_set_386'

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

Attachment: .config.gz
Description: application/gzip