export.c:undefined reference to `atomic64_read_386'

From: kernel test robot
Date: Sat Apr 10 2021 - 13:05:12 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d4961772226de3b48a395a26c076d450d7044c76
commit: 3cc55f4434b421d37300aa9a167ace7d60b45ccf nfs: use change attribute for NFS re-exports
date: 2 months ago
config: um-randconfig-r023-20210410 (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=3cc55f4434b421d37300aa9a167ace7d60b45ccf
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 3cc55f4434b421d37300aa9a167ace7d60b45ccf
# 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/sched/rt.o: in function `update_curr_rt':
rt.c:(.text+0x1fa0): undefined reference to `atomic64_add_386'
/usr/bin/ld: kernel/sched/deadline.o:deadline.c:(.text+0x3455): 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+0x14b4): undefined reference to `atomic64_read_386'
/usr/bin/ld: posix-cpu-timers.c:(.text+0x14c2): undefined reference to `atomic64_read_386'
/usr/bin/ld: posix-cpu-timers.c:(.text+0x14e6): undefined reference to `atomic64_read_386'
/usr/bin/ld: posix-cpu-timers.c:(.text+0x14f7): undefined reference to `atomic64_read_386'
/usr/bin/ld: posix-cpu-timers.c:(.text+0x1506): undefined reference to `atomic64_read_386'
/usr/bin/ld: kernel/time/posix-cpu-timers.o:posix-cpu-timers.c:(.text+0x15c8): more undefined references to `atomic64_read_386' follow
/usr/bin/ld: kernel/time/posix-cpu-timers.o: in function `cpu_clock_sample_group':
posix-cpu-timers.c:(.text+0x169f): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: posix-cpu-timers.c:(.text+0x16ef): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: posix-cpu-timers.c:(.text+0x173f): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: kernel/time/posix-cpu-timers.o: in function `thread_group_sample_cputime':
posix-cpu-timers.c:(.text+0x2d0b): undefined reference to `atomic64_read_386'
/usr/bin/ld: posix-cpu-timers.c:(.text+0x2d1c): undefined reference to `atomic64_read_386'
/usr/bin/ld: posix-cpu-timers.c:(.text+0x2d2b): 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+0x2f42): undefined reference to `atomic64_read_386'
/usr/bin/ld: posix-cpu-timers.c:(.text+0x2f53): undefined reference to `atomic64_read_386'
/usr/bin/ld: kernel/time/posix-cpu-timers.o:posix-cpu-timers.c:(.text+0x2f64): more undefined references to `atomic64_read_386' follow
/usr/bin/ld: kernel/cgroup/pids.o: in function `pids_max_write':
pids.c:(.text+0x171): undefined reference to `atomic64_set_386'
/usr/bin/ld: kernel/cgroup/pids.o: in function `pids_cancel.constprop.0':
pids.c:(.text+0x27c): undefined reference to `atomic64_add_return_386'
/usr/bin/ld: kernel/cgroup/pids.o: in function `pids_can_fork':
pids.c:(.text+0x3b3): undefined reference to `atomic64_add_return_386'
/usr/bin/ld: pids.c:(.text+0x3c3): undefined reference to `atomic64_read_386'
/usr/bin/ld: pids.c:(.text+0x41b): undefined reference to `atomic64_inc_return_386'
/usr/bin/ld: kernel/cgroup/pids.o: in function `pids_can_attach':
pids.c:(.text+0x553): undefined reference to `atomic64_add_386'
/usr/bin/ld: kernel/cgroup/pids.o: in function `pids_cancel_attach':
pids.c:(.text+0x633): undefined reference to `atomic64_add_386'
/usr/bin/ld: kernel/cgroup/pids.o: in function `pids_css_alloc':
pids.c:(.text+0x7ea): undefined reference to `atomic64_set_386'
/usr/bin/ld: pids.c:(.text+0x7fa): undefined reference to `atomic64_set_386'
/usr/bin/ld: pids.c:(.text+0x807): undefined reference to `atomic64_set_386'
/usr/bin/ld: kernel/trace/trace_clock.o: in function `trace_clock_counter':
trace_clock.c:(.text+0x175): undefined reference to `atomic64_add_return_386'
/usr/bin/ld: kernel/bpf/core.o: in function `___bpf_prog_run':
core.c:(.text+0x3802): undefined reference to `atomic64_add_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_inc':
syscall.c:(.text+0x33): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_inc_with_uref':
syscall.c:(.text+0x54): undefined reference to `atomic64_inc_386'
/usr/bin/ld: syscall.c:(.text+0x5f): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_add':
syscall.c:(.text+0x83): undefined reference to `atomic64_add_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_inc':
syscall.c:(.text+0xa0): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_put_uref':
syscall.c:(.text+0xf3): undefined reference to `atomic64_dec_return_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `__bpf_map_inc_not_zero':
syscall.c:(.text+0x34c): undefined reference to `atomic64_read_386'
/usr/bin/ld: syscall.c:(.text+0x3b0): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: syscall.c:(.text+0x44e): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_inc_not_zero':
syscall.c:(.text+0x547): undefined reference to `atomic64_read_386'
/usr/bin/ld: syscall.c:(.text+0x5aa): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_sub':
syscall.c:(.text+0xce5): undefined reference to `atomic64_sub_return_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `__bpf_map_put.constprop.0':
syscall.c:(.text+0x6bd3): undefined reference to `atomic64_dec_return_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `map_create':
syscall.c:(.text+0x77b9): undefined reference to `atomic64_set_386'
/usr/bin/ld: syscall.c:(.text+0x77c7): undefined reference to `atomic64_set_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_get':
syscall.c:(.text+0x9504): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_get_with_uref':
syscall.c:(.text+0x95e4): undefined reference to `atomic64_inc_386'
/usr/bin/ld: syscall.c:(.text+0x95ef): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `__bpf_prog_put.constprop.0':
syscall.c:(.text+0xc220): undefined reference to `atomic64_dec_return_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `__bpf_prog_get':
syscall.c:(.text+0xc6fa): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_load':
syscall.c:(.text+0xd314): undefined reference to `atomic64_set_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_link_init':
syscall.c:(.text+0xe095): undefined reference to `atomic64_set_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_link_inc':
syscall.c:(.text+0xe10d): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_link_put':
syscall.c:(.text+0xe130): undefined reference to `atomic64_dec_return_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_tracing_prog_attach':
syscall.c:(.text+0xe683): undefined reference to `atomic64_set_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_link_get_from_fd':
syscall.c:(.text+0xef65): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_link_by_id':
syscall.c:(.text+0xf322): undefined reference to `atomic64_read_386'
/usr/bin/ld: syscall.c:(.text+0xf383): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: kernel/bpf/bpf_iter.o: in function `prepare_seq_file':
bpf_iter.c:(.text+0x3d0): undefined reference to `atomic64_inc_return_386'
/usr/bin/ld: fs/nfs/nfstrace.o: in function `trace_event_raw_event_nfs_inode_event':
nfstrace.c:(.text+0x31ec): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/nfs/nfstrace.o: in function `trace_event_raw_event_nfs_inode_event_done':
nfstrace.c:(.text+0x5a01): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/nfs/nfstrace.o: in function `trace_event_raw_event_nfs_access_exit':
nfstrace.c:(.text+0x5ea1): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/nfs/export.o: in function `nfs_fetch_iversion':
>> export.c:(.text+0x4d): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/nfs/fscache.o: in function `nfs_fscache_update_auxdata':
fscache.c:(.text+0x183): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/nfs/fscache-index.o:fscache-index.c:(.text+0x193): more undefined references to `atomic64_read_386' follow
/usr/bin/ld: fs/nfs/nfs4proc.o: in function `nfs4_update_changeattr_locked':
nfs4proc.c:(.text+0xd3d): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/nfs/nfs4proc.o: in function `_nfs4_open_and_get_state':
nfs4proc.c:(.text+0x1187f): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/nfs/delegation.o: in function `nfs_inode_set_delegation':
delegation.c:(.text+0x20a1): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/nfsd/nfs3xdr.o: in function `fill_pre_wcc':
nfs3xdr.c:(.text+0x1cee): undefined reference to `atomic64_read_386'
/usr/bin/ld: nfs3xdr.c:(.text+0x1dca): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/nfsd/nfs3xdr.o: in function `fill_post_wcc':
nfs3xdr.c:(.text+0x2099): undefined reference to `atomic64_read_386'
/usr/bin/ld: nfs3xdr.c:(.text+0x20df): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: drivers/misc/altera-stapl/altera-lpt.o:(.altinstructions+0x8): undefined reference to `X86_FEATURE_XMM'
/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_XMM2'
/usr/bin/ld: drivers/misc/altera-stapl/altera-lpt.o:(.altinstructions+0x49): undefined reference to `X86_FEATURE_XMM'
/usr/bin/ld: net/ipv4/inet_timewait_sock.o: in function `inet_twsk_alloc':
inet_timewait_sock.c:(.text+0xeb): undefined reference to `atomic64_read_386'
/usr/bin/ld: inet_timewait_sock.c:(.text+0xf7): 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+0xc18): undefined reference to `atomic64_read_386'
/usr/bin/ld: inet_connection_sock.c:(.text+0xc24): undefined reference to `atomic64_set_386'
/usr/bin/ld: net/ipv4/tcp_input.o: in function `inet_reqsk_alloc':
tcp_input.c:(.text+0x37cd): undefined reference to `atomic64_set_386'
/usr/bin/ld: net/sunrpc/auth_gss/svcauth_gss.o: in function `gss_proxy_save_rsc':
svcauth_gss.c:(.text+0x1dd4): undefined reference to `atomic64_inc_return_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