[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202104041527.DPt5Pk1C-lkp@intel.com>
Date: Sun, 4 Apr 2021 15:25:30 +0800
From: kernel test robot <lkp@...el.com>
To: Daniel Borkmann <daniel@...earbox.net>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Alexei Starovoitov <ast@...nel.org>,
Eric Dumazet <edumazet@...gle.com>
Subject: /usr/bin/ld: sock_diag.c:undefined reference to
`atomic64_dec_return_386'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 2023a53bdf41b7646b1d384b6816af06309f73a5
commit: 92acdc58ab11af66fcaef485433fde61b5e32fac bpf, net: Rework cookie generator as per-cpu one
date: 6 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=92acdc58ab11af66fcaef485433fde61b5e32fac
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 92acdc58ab11af66fcaef485433fde61b5e32fac
# 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@...el.com>
All errors (new ones prefixed by >>):
/usr/bin/ld: kernel/fork.o: in function `mm_init.isra.0':
fork.c:(.text+0x322): undefined reference to `atomic64_set_386'
/usr/bin/ld: kernel/futex.o: in function `get_futex_key':
futex.c:(.text+0xc5a): undefined reference to `atomic64_read_386'
/usr/bin/ld: futex.c:(.text+0xcc9): undefined reference to `atomic64_add_return_386'
/usr/bin/ld: futex.c:(.text+0xcdc): 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+0xd52): undefined reference to `atomic64_inc_386'
/usr/bin/ld: z3fold.c:(.text+0x110d): undefined reference to `atomic64_dec_386'
/usr/bin/ld: mm/z3fold.o: in function `z3fold_reclaim_page.constprop.0':
z3fold.c:(.text+0x142f): undefined reference to `atomic64_dec_386'
/usr/bin/ld: z3fold.c:(.text+0x18e5): undefined reference to `atomic64_dec_386'
/usr/bin/ld: mm/z3fold.o: in function `do_compact_page':
z3fold.c:(.text+0x1f93): undefined reference to `atomic64_dec_386'
/usr/bin/ld: z3fold.c:(.text+0x23cc): undefined reference to `atomic64_dec_386'
/usr/bin/ld: mm/z3fold.o:z3fold.c:(.text+0x2644): 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+0x1ffc): undefined reference to `atomic64_read_386'
/usr/bin/ld: inode.c:(.text+0x203a): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/inode.o: in function `file_update_time':
inode.c:(.text+0x27ae): 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+0x112): undefined reference to `atomic64_add_386'
/usr/bin/ld: fs/io_uring.o: in function `io_sqe_buffer_unregister':
io_uring.c:(.text+0x79f): undefined reference to `atomic64_sub_386'
/usr/bin/ld: fs/io_uring.o: in function `__se_sys_io_uring_register':
io_uring.c:(.text+0xcb5d): undefined reference to `atomic64_sub_386'
/usr/bin/ld: io_uring.c:(.text+0xcf49): undefined reference to `atomic64_sub_386'
/usr/bin/ld: io_uring.c:(.text+0xd0e3): 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_process_iotlb_msg':
vdpa.c:(.text+0x5d5): undefined reference to `atomic64_add_return_386'
/usr/bin/ld: vdpa.c:(.text+0x7a4): undefined reference to `atomic64_sub_386'
/usr/bin/ld: net/core/net_namespace.o: in function `__net_gen_cookie':
net_namespace.c:(.text+0x7ec): undefined reference to `atomic64_read_386'
/usr/bin/ld: net_namespace.c:(.text+0x831): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: net_namespace.c:(.text+0x838): undefined reference to `atomic64_read_386'
/usr/bin/ld: net_namespace.c:(.text+0x854): 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+0x3c92): undefined reference to `atomic64_add_386'
/usr/bin/ld: ip_set_core.c:(.text+0x3ca6): undefined reference to `atomic64_add_386'
/usr/bin/ld: ip_set_core.c:(.text+0x3d18): 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+0x6218): undefined reference to `atomic64_inc_return_386'
/usr/bin/ld: net/ceph/osd_client.o: in function `handle_timeout':
osd_client.c:(.text+0x9318): undefined reference to `atomic64_inc_return_386'
/usr/bin/ld: net/ceph/osd_client.o: in function `ceph_osdc_sync':
osd_client.c:(.text+0xae51): 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+0x1ee8): 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+0x2b67): undefined reference to `atomic64_dec_return_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_put_with_uref':
syscall.c:(.text+0x2bff): undefined reference to `atomic64_dec_return_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `map_create':
syscall.c:(.text+0x2e64): undefined reference to `atomic64_set_386'
/usr/bin/ld: syscall.c:(.text+0x2e72): undefined reference to `atomic64_set_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_inc':
syscall.c:(.text+0x3230): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_inc_with_uref':
syscall.c:(.text+0x3246): undefined reference to `atomic64_inc_386'
/usr/bin/ld: syscall.c:(.text+0x3251): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_get':
syscall.c:(.text+0x32ad): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_get_with_uref':
syscall.c:(.text+0x3324): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o:syscall.c:(.text+0x332f): 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+0x3371): undefined reference to `atomic64_read_386'
/usr/bin/ld: syscall.c:(.text+0x33ab): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: kernel/bpf/syscall.o: in function `__bpf_prog_put.constprop.0':
syscall.c:(.text+0x422e): undefined reference to `atomic64_dec_return_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_load':
syscall.c:(.text+0x454b): undefined reference to `atomic64_set_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_add':
syscall.c:(.text+0x4ae4): undefined reference to `atomic64_add_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_sub':
syscall.c:(.text+0x4afa): undefined reference to `atomic64_sub_return_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_inc':
syscall.c:(.text+0x4b31): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_inc_not_zero':
syscall.c:(.text+0x4b4a): undefined reference to `atomic64_read_386'
/usr/bin/ld: syscall.c:(.text+0x4b7f): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_link_init':
syscall.c:(.text+0x4c34): undefined reference to `atomic64_set_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_link_inc':
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (11849 bytes)
Powered by blists - more mailing lists