lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sun, 4 Apr 2021 10:20:27 +0800
From:   kernel test robot <lkp@...el.com>
To:     Tiwei Bie <tiwei.bie@...el.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        "Michael S. Tsirkin" <mst@...hat.com>,
        Eugenio PĂ©rez <eperezma@...hat.com>,
        Jason Wang <jasowang@...hat.com>
Subject: vdpa.c:undefined reference to `atomic64_sub_386'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   2023a53bdf41b7646b1d384b6816af06309f73a5
commit: 4c8cf31885f69e86be0b5b9e6677a26797365e1d vhost: introduce vDPA-based backend
date:   1 year 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=4c8cf31885f69e86be0b5b9e6677a26797365e1d
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 4c8cf31885f69e86be0b5b9e6677a26797365e1d
        # 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+0x3c5): undefined reference to `atomic64_set_386'
   /usr/bin/ld: kernel/futex.o: in function `get_futex_key':
   futex.c:(.text+0xcfe): undefined reference to `atomic64_read_386'
   /usr/bin/ld: futex.c:(.text+0xd68): undefined reference to `atomic64_add_return_386'
   /usr/bin/ld: futex.c:(.text+0xd7b): undefined reference to `cmpxchg8b_emu'
   /usr/bin/ld: mm/debug.o: in function `dump_mm':
   debug.c:(.text+0x2ca): 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+0x3f9): undefined reference to `atomic64_set_386'
   /usr/bin/ld: mm/z3fold.o: in function `z3fold_page_putback':
   z3fold.c:(.text+0x93f): undefined reference to `atomic64_dec_386'
   /usr/bin/ld: mm/z3fold.o: in function `z3fold_alloc':
   z3fold.c:(.text+0xcf9): undefined reference to `atomic64_inc_386'
   /usr/bin/ld: z3fold.c:(.text+0x10e8): undefined reference to `atomic64_dec_386'
   /usr/bin/ld: mm/z3fold.o: in function `z3fold_reclaim_page.constprop.0':
   z3fold.c:(.text+0x1403): undefined reference to `atomic64_dec_386'
   /usr/bin/ld: z3fold.c:(.text+0x18dd): undefined reference to `atomic64_dec_386'
   /usr/bin/ld: mm/z3fold.o: in function `do_compact_page':
   z3fold.c:(.text+0x1f41): undefined reference to `atomic64_dec_386'
   /usr/bin/ld: z3fold.c:(.text+0x2390): undefined reference to `atomic64_dec_386'
   /usr/bin/ld: mm/z3fold.o:z3fold.c:(.text+0x25f7): more undefined references to `atomic64_dec_386' follow
   /usr/bin/ld: fs/inode.o: in function `inode_init_always':
   inode.c:(.text+0x310): undefined reference to `atomic64_set_386'
   /usr/bin/ld: fs/inode.o: in function `generic_update_time':
   inode.c:(.text+0x1d34): undefined reference to `atomic64_read_386'
   /usr/bin/ld: inode.c:(.text+0x1d72): undefined reference to `cmpxchg8b_emu'
   /usr/bin/ld: fs/inode.o: in function `file_update_time':
   inode.c:(.text+0x24e6): undefined reference to `atomic64_read_386'
   /usr/bin/ld: fs/namespace.o: in function `alloc_mnt_ns':
   namespace.c:(.text+0x222): undefined reference to `atomic64_add_return_386'
   /usr/bin/ld: drivers/vhost/vdpa.o: in function `vhost_vdpa_iotlb_unmap':
>> vdpa.c:(.text+0x19f): undefined reference to `atomic64_sub_386'
   /usr/bin/ld: drivers/vhost/vdpa.o: in function `vhost_vdpa_process_iotlb_msg':
   vdpa.c:(.text+0x515): undefined reference to `atomic64_add_return_386'
   /usr/bin/ld: vdpa.c:(.text+0x6c2): undefined reference to `atomic64_sub_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+0x31e): undefined reference to `atomic64_inc_return_386'
   /usr/bin/ld: sock_diag.c:(.text+0x337): undefined reference to `cmpxchg8b_emu'
   /usr/bin/ld: sock_diag.c:(.text+0x33e): undefined reference to `atomic64_read_386'
   /usr/bin/ld: net/core/sock_diag.o: in function `sock_diag_check_cookie':
   sock_diag.c:(.text+0x36e): undefined reference to `atomic64_read_386'
   /usr/bin/ld: sock_diag.c:(.text+0x382): undefined reference to `atomic64_inc_return_386'
   /usr/bin/ld: sock_diag.c:(.text+0x399): undefined reference to `cmpxchg8b_emu'
   /usr/bin/ld: sock_diag.c:(.text+0x3a0): undefined reference to `atomic64_read_386'
   /usr/bin/ld: net/core/sock_diag.o: in function `sock_diag_save_cookie':
   sock_diag.c:(.text+0x3e6): undefined reference to `atomic64_read_386'
   /usr/bin/ld: sock_diag.c:(.text+0x3f8): undefined reference to `atomic64_inc_return_386'
   /usr/bin/ld: sock_diag.c:(.text+0x40f): undefined reference to `cmpxchg8b_emu'
   /usr/bin/ld: sock_diag.c:(.text+0x416): undefined reference to `atomic64_read_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+0x61a): 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+0x21c): undefined reference to `atomic64_read_386'
   /usr/bin/ld: nfnetlink_acct.c:(.text+0x22a): undefined reference to `atomic64_read_386'
   /usr/bin/ld: nfnetlink_acct.c:(.text+0x331): undefined reference to `atomic64_xchg_386'
   /usr/bin/ld: nfnetlink_acct.c:(.text+0x33f): undefined reference to `atomic64_xchg_386'
   /usr/bin/ld: net/netfilter/nfnetlink_acct.o: in function `nfnl_acct_new':
   nfnetlink_acct.c:(.text+0x680): undefined reference to `atomic64_set_386'
   /usr/bin/ld: nfnetlink_acct.c:(.text+0x688): undefined reference to `atomic64_set_386'
   /usr/bin/ld: nfnetlink_acct.c:(.text+0x739): undefined reference to `atomic64_set_386'
   /usr/bin/ld: nfnetlink_acct.c:(.text+0x765): undefined reference to `atomic64_set_386'
   /usr/bin/ld: net/netfilter/nfnetlink_acct.o: in function `nfnl_acct_update':
   nfnetlink_acct.c:(.text+0x963): undefined reference to `atomic64_inc_386'
   /usr/bin/ld: nfnetlink_acct.c:(.text+0x973): undefined reference to `atomic64_add_386'
   /usr/bin/ld: net/netfilter/nfnetlink_acct.o: in function `nfnl_acct_overquota':
   nfnetlink_acct.c:(.text+0x99a): undefined reference to `atomic64_read_386'
   /usr/bin/ld: nfnetlink_acct.c:(.text+0x9d6): 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+0x3c6b): undefined reference to `atomic64_add_386'
   /usr/bin/ld: ip_set_core.c:(.text+0x3c7f): undefined reference to `atomic64_add_386'
   /usr/bin/ld: ip_set_core.c:(.text+0x3cf1): 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+0x3c1d): undefined reference to `atomic64_set_386'
   /usr/bin/ld: net/netfilter/ipset/ip_set_hash_ip.o:ip_set_hash_ip.c:(.text+0x3c37): more undefined references to `atomic64_set_386' follow
   /usr/bin/ld: net/ceph/osd_client.o: in function `__submit_request':
   osd_client.c:(.text+0x5aa8): undefined reference to `atomic64_inc_return_386'
   /usr/bin/ld: net/ceph/osd_client.o: in function `handle_timeout':
   osd_client.c:(.text+0x8ffd): undefined reference to `atomic64_inc_return_386'
   /usr/bin/ld: net/ceph/osd_client.o: in function `ceph_osdc_sync':
   osd_client.c:(.text+0xaadb): 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+0x1e6f): undefined reference to `atomic64_add_386'
   /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_mmap':
   syscall.c:(.text+0x20a): undefined reference to `atomic64_inc_386'
   /usr/bin/ld: syscall.c:(.text+0x215): undefined reference to `atomic64_inc_386'
   /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_mmap_open':
   syscall.c:(.text+0x27d): undefined reference to `atomic64_inc_386'
   /usr/bin/ld: syscall.c:(.text+0x288): undefined reference to `atomic64_inc_386'
   /usr/bin/ld: kernel/bpf/syscall.o: in function `__bpf_prog_get':
   syscall.c:(.text+0x347): undefined reference to `atomic64_inc_386'
   /usr/bin/ld: kernel/bpf/syscall.o: in function `__bpf_map_put.constprop.0':
   syscall.c:(.text+0x25a0): undefined reference to `atomic64_dec_return_386'
   /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_put_with_uref':
   syscall.c:(.text+0x2631): undefined reference to `atomic64_dec_return_386'
   /usr/bin/ld: kernel/bpf/syscall.o: in function `map_create':
   syscall.c:(.text+0x280a): undefined reference to `atomic64_set_386'
   /usr/bin/ld: syscall.c:(.text+0x2818): undefined reference to `atomic64_set_386'
   /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_inc':
   syscall.c:(.text+0x2bcd): undefined reference to `atomic64_inc_386'
   /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_inc_with_uref':
   syscall.c:(.text+0x2be3): undefined reference to `atomic64_inc_386'
   /usr/bin/ld: syscall.c:(.text+0x2bee): undefined reference to `atomic64_inc_386'
   /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_get_with_uref':
   syscall.c:(.text+0x2c4a): undefined reference to `atomic64_inc_386'
   /usr/bin/ld: syscall.c:(.text+0x2c55): undefined reference to `atomic64_inc_386'
   /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_inc_not_zero':
   syscall.c:(.text+0x2c97): undefined reference to `atomic64_read_386'
   /usr/bin/ld: syscall.c:(.text+0x2cd1): undefined reference to `cmpxchg8b_emu'
   /usr/bin/ld: kernel/bpf/syscall.o: in function `__bpf_prog_put.constprop.0':
   syscall.c:(.text+0x3b29): undefined reference to `atomic64_dec_return_386'
   /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_load':
   syscall.c:(.text+0x3f34): undefined reference to `atomic64_set_386'
   /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_add':
   syscall.c:(.text+0x43c4): undefined reference to `atomic64_add_386'
   /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_sub':

---
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" (11620 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ