dir.c:undefined reference to `atomic64_dec_386'

From: kernel test robot
Date: Sun Apr 04 2021 - 00:09:26 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 2023a53bdf41b7646b1d384b6816af06309f73a5
commit: f9009efac49c830460f55b9f6c08ee0d76f31b0d ceph: add dentry lease metric support
date: 10 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=f9009efac49c830460f55b9f6c08ee0d76f31b0d
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout f9009efac49c830460f55b9f6c08ee0d76f31b0d
# 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: 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+0x3c32): undefined reference to `atomic64_set_386'
/usr/bin/ld: net/netfilter/ipset/ip_set_hash_ip.o:ip_set_hash_ip.c:(.text+0x3c4c): more undefined references to `atomic64_set_386' follow
/usr/bin/ld: net/ceph/osd_client.o: in function `__submit_request':
osd_client.c:(.text+0x5a7a): undefined reference to `atomic64_inc_return_386'
/usr/bin/ld: net/ceph/osd_client.o: in function `handle_timeout':
osd_client.c:(.text+0x8fd5): undefined reference to `atomic64_inc_return_386'
/usr/bin/ld: net/ceph/osd_client.o: in function `ceph_osdc_sync':
osd_client.c:(.text+0xaa92): 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+0x1e78): undefined reference to `atomic64_add_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `__bpf_prog_get':
syscall.c:(.text+0x35d): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `__bpf_map_put.constprop.0':
syscall.c:(.text+0x2605): undefined reference to `atomic64_dec_return_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_put_with_uref':
syscall.c:(.text+0x269d): undefined reference to `atomic64_dec_return_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `map_create':
syscall.c:(.text+0x2902): undefined reference to `atomic64_set_386'
/usr/bin/ld: syscall.c:(.text+0x2910): undefined reference to `atomic64_set_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_inc':
syscall.c:(.text+0x2c5a): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_inc_with_uref':
syscall.c:(.text+0x2c70): undefined reference to `atomic64_inc_386'
/usr/bin/ld: syscall.c:(.text+0x2c7b): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_get':
syscall.c:(.text+0x2cd7): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_get_with_uref':
syscall.c:(.text+0x2d4e): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o:syscall.c:(.text+0x2d59): 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+0x2d9b): undefined reference to `atomic64_read_386'
/usr/bin/ld: syscall.c:(.text+0x2dd5): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: kernel/bpf/syscall.o: in function `__bpf_prog_put.constprop.0':
syscall.c:(.text+0x3c58): undefined reference to `atomic64_dec_return_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_load':
syscall.c:(.text+0x3f5d): undefined reference to `atomic64_set_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_add':
syscall.c:(.text+0x4410): undefined reference to `atomic64_add_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_sub':
syscall.c:(.text+0x4426): undefined reference to `atomic64_sub_return_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_inc':
syscall.c:(.text+0x445d): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_inc_not_zero':
syscall.c:(.text+0x4476): undefined reference to `atomic64_read_386'
/usr/bin/ld: syscall.c:(.text+0x44ab): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_link_init':
syscall.c:(.text+0x455d): undefined reference to `atomic64_set_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_link_inc':
syscall.c:(.text+0x459a): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_link_put':
syscall.c:(.text+0x45ac): undefined reference to `atomic64_dec_return_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_raw_tracepoint_open':
syscall.c:(.text+0x47a7): undefined reference to `atomic64_set_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_link_get_from_fd':
syscall.c:(.text+0x48cd): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_by_id':
syscall.c:(.text+0x4938): undefined reference to `atomic64_read_386'
/usr/bin/ld: syscall.c:(.text+0x496b): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: kernel/bpf/syscall.o: in function `__do_sys_bpf':
syscall.c:(.text+0x525e): undefined reference to `atomic64_read_386'
/usr/bin/ld: syscall.c:(.text+0x52a5): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: syscall.c:(.text+0x52ea): undefined reference to `atomic64_inc_386'
/usr/bin/ld: fs/ceph/inode.o: in function `ceph_set_ino_cb':
inode.c:(.text+0x9c): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/ceph/inode.o: in function `ceph_alloc_inode':
inode.c:(.text+0x11c3): undefined reference to `atomic64_set_386'
/usr/bin/ld: inode.c:(.text+0x11cb): undefined reference to `atomic64_set_386'
/usr/bin/ld: inode.c:(.text+0x11d5): undefined reference to `atomic64_set_386'
/usr/bin/ld: inode.c:(.text+0x11dd): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/ceph/inode.o: in function `ceph_fill_inode':
inode.c:(.text+0x2660): undefined reference to `atomic64_read_386'
/usr/bin/ld: inode.c:(.text+0x2683): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: inode.c:(.text+0x3299): undefined reference to `atomic64_read_386'
/usr/bin/ld: inode.c:(.text+0x32ac): undefined reference to `atomic64_read_386'
/usr/bin/ld: inode.c:(.text+0x32e0): undefined reference to `atomic64_read_386'
/usr/bin/ld: inode.c:(.text+0x32ed): undefined reference to `atomic64_read_386'
/usr/bin/ld: inode.c:(.text+0x32f6): undefined reference to `atomic64_set_386'
/usr/bin/ld: inode.c:(.text+0x330b): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/ceph/inode.o: in function `ceph_fill_trace':
inode.c:(.text+0x36ea): undefined reference to `atomic64_inc_386'
/usr/bin/ld: inode.c:(.text+0x392f): undefined reference to `atomic64_inc_386'
/usr/bin/ld: inode.c:(.text+0x3b4d): undefined reference to `atomic64_inc_386'
/usr/bin/ld: inode.c:(.text+0x3b5b): undefined reference to `atomic64_inc_386'
/usr/bin/ld: inode.c:(.text+0x3bad): undefined reference to `atomic64_inc_386'
/usr/bin/ld: fs/ceph/inode.o:inode.c:(.text+0x3c8d): more undefined references to `atomic64_inc_386' follow
/usr/bin/ld: fs/ceph/inode.o: in function `ceph_readdir_prepopulate':
inode.c:(.text+0x4637): undefined reference to `atomic64_read_386'
/usr/bin/ld: inode.c:(.text+0x4653): undefined reference to `atomic64_read_386'
/usr/bin/ld: inode.c:(.text+0x48a0): undefined reference to `atomic64_read_386'
/usr/bin/ld: inode.c:(.text+0x48e1): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/ceph/dir.o: in function `ceph_d_prune':
dir.c:(.text+0xb3): undefined reference to `atomic64_inc_386'
/usr/bin/ld: dir.c:(.text+0xde): undefined reference to `atomic64_inc_386'
/usr/bin/ld: fs/ceph/dir.o: in function `ceph_d_release':
>> dir.c:(.text+0x1b5): undefined reference to `atomic64_dec_386'
/usr/bin/ld: fs/ceph/dir.o: in function `ceph_d_init':
dir.c:(.text+0x294): undefined reference to `atomic64_inc_386'
/usr/bin/ld: fs/ceph/dir.o: in function `__dcache_find_get_entry':
dir.c:(.text+0x503): undefined reference to `atomic64_read_386'
/usr/bin/ld: dir.c:(.text+0x512): undefined reference to `atomic64_read_386'
/usr/bin/ld: dir.c:(.text+0x556): undefined reference to `atomic64_read_386'
/usr/bin/ld: dir.c:(.text+0x565): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/ceph/dir.o: in function `ceph_async_unlink_cb':
dir.c:(.text+0x9a8): undefined reference to `atomic64_inc_386'
/usr/bin/ld: fs/ceph/dir.o: in function `ceph_lookup':
dir.c:(.text+0x1b53): undefined reference to `atomic64_read_386'
/usr/bin/ld: dir.c:(.text+0x1b63): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/ceph/dir.o: in function `ceph_d_revalidate':
dir.c:(.text+0x293f): undefined reference to `atomic64_inc_386'
/usr/bin/ld: fs/ceph/dir.o: in function `ceph_readdir':
dir.c:(.text+0x343d): undefined reference to `atomic64_read_386'
/usr/bin/ld: dir.c:(.text+0x344c): undefined reference to `atomic64_read_386'
/usr/bin/ld: dir.c:(.text+0x3462): undefined reference to `atomic64_read_386'
/usr/bin/ld: dir.c:(.text+0x3471): undefined reference to `atomic64_read_386'
/usr/bin/ld: dir.c:(.text+0x3ef6): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/ceph/dir.o:dir.c:(.text+0x3f76): more undefined references to `atomic64_read_386' follow
/usr/bin/ld: fs/ceph/dir.o: in function `ceph_readdir':
dir.c:(.text+0x3fac): undefined reference to `atomic64_set_386'
/usr/bin/ld: dir.c:(.text+0x3fbf): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/ceph/file.o: in function `ceph_finish_async_create':
file.c:(.text+0x68d): undefined reference to `atomic64_inc_386'
/usr/bin/ld: file.c:(.text+0x6ce): undefined reference to `atomic64_inc_386'
/usr/bin/ld: fs/ceph/file.o: in function `ceph_async_create_cb':
file.c:(.text+0x1f55): undefined reference to `atomic64_inc_386'
/usr/bin/ld: fs/ceph/file.o: in function `ceph_write_iter':
file.c:(.text+0x32a0): undefined reference to `atomic64_inc_386'
/usr/bin/ld: fs/ceph/file.o: in function `__ceph_copy_file_range':
file.c:(.text+0x4a60): undefined reference to `atomic64_inc_386'
/usr/bin/ld: fs/ceph/file.o: in function `ceph_atomic_open':
file.c:(.text+0x5c1a): undefined reference to `atomic64_read_386'
/usr/bin/ld: file.c:(.text+0x5c2b): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/ceph/addr.o: in function `ceph_page_mkwrite':
addr.c:(.text+0x648a): undefined reference to `atomic64_inc_386'
/usr/bin/ld: fs/ceph/caps.o: in function `__send_cap':
caps.c:(.text+0x1696): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/ceph/caps.o: in function `__check_cap_issue.isra.0':
caps.c:(.text+0x326b): undefined reference to `atomic64_inc_386'
/usr/bin/ld: fs/ceph/caps.o: in function `ceph_check_caps':
caps.c:(.text+0x5df2): undefined reference to `atomic64_read_386'
/usr/bin/ld: caps.c:(.text+0x5e00): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/ceph/caps.o: in function `handle_cap_grant':
caps.c:(.text+0x6ceb): undefined reference to `atomic64_read_386'
/usr/bin/ld: caps.c:(.text+0x6d0e): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/ceph/snap.o: in function `__ceph_finish_cap_snap':
snap.c:(.text+0xcde): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/ceph/quota.o: in function `ceph_adjust_quota_realms_count':
quota.c:(.text+0x689): undefined reference to `atomic64_inc_386'
/usr/bin/ld: quota.c:(.text+0x691): undefined reference to `atomic64_dec_386'
/usr/bin/ld: fs/ceph/quota.o: in function `ceph_handle_quota':
quota.c:(.text+0x7d9): undefined reference to `atomic64_inc_386'
/usr/bin/ld: quota.c:(.text+0x829): undefined reference to `atomic64_dec_386'
/usr/bin/ld: fs/ceph/quota.o: in function `ceph_quota_is_max_files_exceeded':
quota.c:(.text+0x95d): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/ceph/quota.o: in function `ceph_quota_is_max_bytes_exceeded':
quota.c:(.text+0x9eb): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/ceph/quota.o: in function `ceph_quota_is_max_bytes_approaching':
quota.c:(.text+0xa80): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/ceph/mds_client.o: in function `ceph_invalidate_dir_request':
mds_client.c:(.text+0x5894): undefined reference to `atomic64_inc_386'
/usr/bin/ld: mds_client.c:(.text+0x58a3): undefined reference to `atomic64_inc_386'
/usr/bin/ld: fs/ceph/mds_client.o: in function `ceph_mdsc_init':
mds_client.c:(.text+0x8117): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/ceph/debugfs.o: in function `metric_show':
>> debugfs.c:(.text+0x103): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/ceph/metric.o: in function `ceph_metric_init':
>> metric.c:(.text+0x11): undefined reference to `atomic64_set_386'
/usr/bin/ld: drivers/misc/altera-stapl/altera-lpt.o:(.altinstructions+0x8): undefined reference to `X86_FEATURE_XMM2'
/usr/bin/ld: drivers/misc/altera-stapl/altera-lpt.o:(.altinstructions+0x15): undefined reference to `X86_FEATURE_XMM'
/usr/bin/ld: drivers/misc/altera-stapl/altera-lpt.o:(.altinstructions+0x22): undefined reference to `X86_FEATURE_XMM'
/usr/bin/ld: drivers/misc/altera-stapl/altera-lpt.o:(.altinstructions+0x2f): undefined reference to `X86_FEATURE_XMM2'
/usr/bin/ld: drivers/misc/altera-stapl/altera-lpt.o:(.altinstructions+0x3c): undefined reference to `X86_FEATURE_XMM'
/usr/bin/ld: drivers/misc/altera-stapl/altera-lpt.o:(.altinstructions+0x49): undefined reference to `X86_FEATURE_XMM'
/usr/bin/ld: drivers/dma-buf/dma-fence.o: in function `dma_fence_context_alloc':
dma-fence.c:(.text+0x1fc): undefined reference to `atomic64_add_return_386'
/usr/bin/ld: drivers/mtd/nand/raw/nand_legacy.o:(.altinstructions+0x8): undefined reference to `X86_FEATURE_XMM2'
/usr/bin/ld: drivers/mtd/nand/raw/nand_legacy.o:(.altinstructions+0x15): undefined reference to `X86_FEATURE_XMM2'
/usr/bin/ld: drivers/fpga/altera-pr-ip-core.o:(.altinstructions+0x8): undefined reference to `X86_FEATURE_XMM2'
/usr/bin/ld: drivers/fpga/altera-pr-ip-core.o:(.altinstructions+0x15): undefined reference to `X86_FEATURE_XMM'
/usr/bin/ld: drivers/fpga/altera-pr-ip-core.o:(.altinstructions+0x22): undefined reference to `X86_FEATURE_XMM2'
/usr/bin/ld: drivers/fpga/altera-pr-ip-core.o:(.altinstructions+0x2f): undefined reference to `X86_FEATURE_XMM'
/usr/bin/ld: drivers/fpga/altera-pr-ip-core.o:(.altinstructions+0x3c): undefined reference to `X86_FEATURE_XMM'
/usr/bin/ld: drivers/fpga/altera-pr-ip-core.o:(.altinstructions+0x49): undefined reference to `X86_FEATURE_XMM'
/usr/bin/ld: drivers/fpga/altera-pr-ip-core.o:(.altinstructions+0x56): undefined reference to `X86_FEATURE_XMM'
/usr/bin/ld: drivers/fpga/altera-pr-ip-core.o:(.altinstructions+0x63): undefined reference to `X86_FEATURE_XMM2'
/usr/bin/ld: net/netfilter/nf_conntrack_core.o: in function `nf_ct_acct_add':
nf_conntrack_core.c:(.text+0x1c2f): undefined reference to `atomic64_add_386'
/usr/bin/ld: nf_conntrack_core.c:(.text+0x1c3c): undefined reference to `atomic64_add_386'
/usr/bin/ld: net/netfilter/nf_conntrack_core.o: in function `__nf_ct_refresh_acct':
nf_conntrack_core.c:(.text+0x2c48): undefined reference to `atomic64_add_386'
/usr/bin/ld: nf_conntrack_core.c:(.text+0x2c54): undefined reference to `atomic64_add_386'
/usr/bin/ld: net/netfilter/nf_conntrack_core.o: in function `nf_ct_kill_acct':
nf_conntrack_core.c:(.text+0x31c5): undefined reference to `atomic64_add_386'
/usr/bin/ld: net/netfilter/nf_conntrack_core.o:nf_conntrack_core.c:(.text+0x31d1): more undefined references to `atomic64_add_386' follow
/usr/bin/ld: net/netfilter/nf_conntrack_core.o: in function `__nf_ct_resolve_clash':
nf_conntrack_core.c:(.text.unlikely+0xcf): undefined reference to `atomic64_read_386'
/usr/bin/ld: nf_conntrack_core.c:(.text.unlikely+0x106): undefined reference to `atomic64_add_386'
/usr/bin/ld: nf_conntrack_core.c:(.text.unlikely+0x113): undefined reference to `atomic64_add_386'
/usr/bin/ld: net/ipv4/inet_timewait_sock.o: in function `inet_twsk_alloc':
inet_timewait_sock.c:(.text+0x36e): undefined reference to `atomic64_read_386'
/usr/bin/ld: inet_timewait_sock.c:(.text+0x37a): undefined reference to `atomic64_set_386'
/usr/bin/ld: net/ipv4/inet_connection_sock.o: in function `inet_csk_clone_lock':
inet_connection_sock.c:(.text+0x170c): undefined reference to `atomic64_read_386'
/usr/bin/ld: inet_connection_sock.c:(.text+0x1718): undefined reference to `atomic64_set_386'
/usr/bin/ld: net/ipv4/tcp_input.o: in function `inet_reqsk_alloc':
tcp_input.c:(.text+0x9f10): undefined reference to `atomic64_set_386'
/usr/bin/ld: net/ipv4/tcp_input.o: in function `tcp_conn_request':
tcp_input.c:(.text+0xa1a5): undefined reference to `atomic64_set_386'
collect2: error: ld returned 1 exit status

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

Attachment: .config.gz
Description: application/gzip