Messages in this thread | | | Date | Sun, 4 Apr 2021 07:48:09 +0800 | From | kernel test robot <> | Subject | /usr/bin/ld: core.c:undefined reference to `cmpxchg8b_emu' |
| |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 2023a53bdf41b7646b1d384b6816af06309f73a5 commit: 5ffa25502b5ab3d639829a2d1e316cff7f59a41e bpf: Add instructions for atomic_[cmp]xchg date: 3 months ago config: um-randconfig-c003-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=5ffa25502b5ab3d639829a2d1e316cff7f59a41e git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 5ffa25502b5ab3d639829a2d1e316cff7f59a41e # 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@intel.com>
All errors (new ones prefixed by >>):
algapi.c:(.text+0x19e3): undefined reference to `atomic64_inc_386' /usr/bin/ld: algapi.c:(.text+0x19f3): undefined reference to `atomic64_add_386' /usr/bin/ld: algapi.c:(.text+0x1a1a): undefined reference to `atomic64_inc_386' /usr/bin/ld: crypto/algapi.o: in function `crypto_stats_akcipher_decrypt': algapi.c:(.text+0x1a70): undefined reference to `atomic64_inc_386' /usr/bin/ld: algapi.c:(.text+0x1a80): undefined reference to `atomic64_add_386' /usr/bin/ld: algapi.c:(.text+0x1aa7): undefined reference to `atomic64_inc_386' /usr/bin/ld: crypto/algapi.o: in function `crypto_stats_akcipher_sign': algapi.c:(.text+0x1b01): undefined reference to `atomic64_inc_386' /usr/bin/ld: algapi.c:(.text+0x1b2b): undefined reference to `atomic64_inc_386' /usr/bin/ld: crypto/algapi.o: in function `crypto_stats_akcipher_verify': algapi.c:(.text+0x1b8b): undefined reference to `atomic64_inc_386' /usr/bin/ld: algapi.c:(.text+0x1bb5): undefined reference to `atomic64_inc_386' /usr/bin/ld: crypto/algapi.o:algapi.c:(.text+0x1c11): more undefined references to `atomic64_inc_386' follow /usr/bin/ld: crypto/algapi.o: in function `crypto_stats_compress': algapi.c:(.text+0x1c21): undefined reference to `atomic64_add_386' /usr/bin/ld: algapi.c:(.text+0x1c48): undefined reference to `atomic64_inc_386' /usr/bin/ld: crypto/algapi.o: in function `crypto_stats_decompress': algapi.c:(.text+0x1c9e): undefined reference to `atomic64_inc_386' /usr/bin/ld: algapi.c:(.text+0x1cae): undefined reference to `atomic64_add_386' /usr/bin/ld: algapi.c:(.text+0x1cd5): undefined reference to `atomic64_inc_386' /usr/bin/ld: crypto/algapi.o: in function `crypto_stats_ahash_update': algapi.c:(.text+0x1d30): undefined reference to `atomic64_add_386' /usr/bin/ld: algapi.c:(.text+0x1d57): undefined reference to `atomic64_inc_386' /usr/bin/ld: crypto/algapi.o: in function `crypto_stats_ahash_final': algapi.c:(.text+0x1dad): undefined reference to `atomic64_inc_386' /usr/bin/ld: algapi.c:(.text+0x1dbd): undefined reference to `atomic64_add_386' /usr/bin/ld: algapi.c:(.text+0x1de4): undefined reference to `atomic64_inc_386' /usr/bin/ld: crypto/algapi.o: in function `crypto_stats_kpp_set_secret': algapi.c:(.text+0x1e35): undefined reference to `atomic64_inc_386' /usr/bin/ld: algapi.c:(.text+0x1e78): undefined reference to `atomic64_inc_386' /usr/bin/ld: crypto/algapi.o: in function `crypto_stats_kpp_generate_public_key': algapi.c:(.text+0x1eb6): undefined reference to `atomic64_inc_386' /usr/bin/ld: algapi.c:(.text+0x1ef9): undefined reference to `atomic64_inc_386' /usr/bin/ld: crypto/algapi.o:algapi.c:(.text+0x1f37): more undefined references to `atomic64_inc_386' follow /usr/bin/ld: crypto/algapi.o: in function `crypto_stats_rng_generate': algapi.c:(.text+0x2057): undefined reference to `atomic64_add_386' /usr/bin/ld: algapi.c:(.text+0x207e): undefined reference to `atomic64_inc_386' /usr/bin/ld: crypto/algapi.o: in function `crypto_stats_skcipher_encrypt': algapi.c:(.text+0x20d4): undefined reference to `atomic64_inc_386' /usr/bin/ld: algapi.c:(.text+0x20e4): undefined reference to `atomic64_add_386' /usr/bin/ld: algapi.c:(.text+0x210b): undefined reference to `atomic64_inc_386' /usr/bin/ld: crypto/algapi.o: in function `crypto_stats_skcipher_decrypt': algapi.c:(.text+0x2161): undefined reference to `atomic64_inc_386' /usr/bin/ld: algapi.c:(.text+0x2171): undefined reference to `atomic64_add_386' /usr/bin/ld: algapi.c:(.text+0x2198): undefined reference to `atomic64_inc_386' /usr/bin/ld: drivers/phy/ingenic/phy-ingenic-usb.o: in function `ingenic_usb_phy_probe': phy-ingenic-usb.c:(.text+0x336): undefined reference to `devm_platform_ioremap_resource' /usr/bin/ld: net/core/net_namespace.o: in function `__net_gen_cookie': net_namespace.c:(.text+0x965): undefined reference to `atomic64_read_386' /usr/bin/ld: net_namespace.c:(.text+0x9aa): undefined reference to `cmpxchg8b_emu' /usr/bin/ld: net_namespace.c:(.text+0x9b1): undefined reference to `atomic64_read_386' /usr/bin/ld: net_namespace.c:(.text+0x9cd): undefined reference to `atomic64_dec_return_386' /usr/bin/ld: net/core/sock_diag.o: in function `__sock_gen_cookie': sock_diag.c:(.text+0x385): undefined reference to `atomic64_read_386' /usr/bin/ld: sock_diag.c:(.text+0x3ca): undefined reference to `cmpxchg8b_emu' /usr/bin/ld: sock_diag.c:(.text+0x3d1): undefined reference to `atomic64_read_386' /usr/bin/ld: sock_diag.c:(.text+0x3ed): 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+0x42c): undefined reference to `atomic64_read_386' /usr/bin/ld: sock_diag.c:(.text+0x475): undefined reference to `cmpxchg8b_emu' /usr/bin/ld: sock_diag.c:(.text+0x47c): undefined reference to `atomic64_read_386' /usr/bin/ld: sock_diag.c:(.text+0x4b2): 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+0x4e5): undefined reference to `atomic64_read_386' /usr/bin/ld: sock_diag.c:(.text+0x52b): undefined reference to `cmpxchg8b_emu' /usr/bin/ld: sock_diag.c:(.text+0x532): undefined reference to `atomic64_read_386' /usr/bin/ld: sock_diag.c:(.text+0x565): 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+0x28a): undefined reference to `atomic64_set_386' /usr/bin/ld: net/sched/sch_cbs.o: in function `cbs_dequeue_soft': sch_cbs.c:(.text+0x792): undefined reference to `atomic64_read_386' /usr/bin/ld: sch_cbs.c:(.text+0x80a): undefined reference to `atomic64_read_386' /usr/bin/ld: sch_cbs.c:(.text+0x81a): undefined reference to `atomic64_read_386' /usr/bin/ld: net/sched/sch_taprio.o: in function `taprio_set_picos_per_byte': sch_taprio.c:(.text+0x42a): undefined reference to `atomic64_set_386' /usr/bin/ld: net/sched/sch_taprio.o: in function `parse_sched_entry': sch_taprio.c:(.text+0x647): undefined reference to `atomic64_read_386' /usr/bin/ld: net/sched/sch_taprio.o: in function `find_entry_to_transmit': sch_taprio.c:(.text+0x8f0): undefined reference to `atomic64_read_386' /usr/bin/ld: net/sched/sch_taprio.o: in function `advance_sched': sch_taprio.c:(.text+0x10e7): undefined reference to `atomic64_read_386' /usr/bin/ld: net/sched/sch_taprio.o: in function `taprio_dequeue_soft': sch_taprio.c:(.text+0x13ea): undefined reference to `atomic64_read_386' /usr/bin/ld: net/sched/sch_taprio.o: in function `taprio_enqueue': sch_taprio.c:(.text+0x17c7): undefined reference to `atomic64_read_386' /usr/bin/ld: net/sched/sch_taprio.o:sch_taprio.c:(.text+0x2b50): more undefined references to `atomic64_read_386' follow /usr/bin/ld: net/tls/tls_device.o: in function `tls_device_rx_resync_new_rec': tls_device.c:(.text+0x181d): undefined reference to `cmpxchg8b_emu' /usr/bin/ld: tls_device.c:(.text+0x183b): undefined reference to `atomic64_read_386' /usr/bin/ld: tls_device.c:(.text+0x18a6): undefined reference to `cmpxchg8b_emu' /usr/bin/ld: tls_device.c:(.text+0x19ed): undefined reference to `cmpxchg8b_emu' /usr/bin/ld: net/batman-adv/tp_meter.o: in function `batadv_tp_send': tp_meter.c:(.text+0xa02): undefined reference to `atomic64_read_386' /usr/bin/ld: net/batman-adv/tp_meter.o: in function `batadv_tp_recv_ack.isra.0': tp_meter.c:(.text+0x176d): undefined reference to `atomic64_add_386' /usr/bin/ld: net/batman-adv/tp_meter.o: in function `batadv_tp_start': tp_meter.c:(.text+0x1cf3): undefined reference to `atomic64_set_386' /usr/bin/ld: kernel/bpf/core.o: in function `___bpf_prog_run': core.c:(.text+0xd0c): undefined reference to `cmpxchg8b_emu' >> /usr/bin/ld: core.c:(.text+0xd83): undefined reference to `cmpxchg8b_emu' /usr/bin/ld: core.c:(.text+0x2bb2): undefined reference to `atomic64_add_386' /usr/bin/ld: core.c:(.text+0x2c5d): undefined reference to `atomic64_xchg_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `__bpf_prog_get': syscall.c:(.text+0x408): undefined reference to `atomic64_inc_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `__bpf_map_put.constprop.0': syscall.c:(.text+0x2baf): undefined reference to `atomic64_dec_return_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_put_with_uref': syscall.c:(.text+0x2c6c): undefined reference to `atomic64_dec_return_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `map_create': syscall.c:(.text+0x2f49): undefined reference to `atomic64_set_386' /usr/bin/ld: syscall.c:(.text+0x2f54): undefined reference to `atomic64_set_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_inc': syscall.c:(.text+0x338a): undefined reference to `atomic64_inc_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_inc_with_uref': syscall.c:(.text+0x33a4): undefined reference to `atomic64_inc_386' /usr/bin/ld: syscall.c:(.text+0x33ac): undefined reference to `atomic64_inc_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_get': syscall.c:(.text+0x3419): undefined reference to `atomic64_inc_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_get_with_uref': syscall.c:(.text+0x34a5): undefined reference to `atomic64_inc_386' /usr/bin/ld: kernel/bpf/syscall.o:syscall.c:(.text+0x34ad): 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+0x34f8): undefined reference to `atomic64_read_386' /usr/bin/ld: syscall.c:(.text+0x3531): undefined reference to `cmpxchg8b_emu' /usr/bin/ld: kernel/bpf/syscall.o: in function `__bpf_prog_put.constprop.0': syscall.c:(.text+0x46c1): undefined reference to `atomic64_dec_return_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_load': syscall.c:(.text+0x4ab2): undefined reference to `atomic64_set_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_add': syscall.c:(.text+0x52cc): undefined reference to `atomic64_add_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_sub': syscall.c:(.text+0x52e9): undefined reference to `atomic64_sub_return_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_inc': syscall.c:(.text+0x5334): undefined reference to `atomic64_inc_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_inc_not_zero': syscall.c:(.text+0x534d): undefined reference to `atomic64_read_386' /usr/bin/ld: syscall.c:(.text+0x5382): undefined reference to `cmpxchg8b_emu' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_link_init': syscall.c:(.text+0x543b): undefined reference to `atomic64_set_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_link_inc': syscall.c:(.text+0x549f): undefined reference to `atomic64_inc_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_link_put': syscall.c:(.text+0x54b1): undefined reference to `atomic64_dec_return_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_tracing_prog_attach': syscall.c:(.text+0x57cb): undefined reference to `atomic64_set_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_link_get_from_fd': syscall.c:(.text+0x5c36): undefined reference to `atomic64_inc_386' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_get_curr_or_next': syscall.c:(.text+0x5c9d): undefined reference to `atomic64_read_386' /usr/bin/ld: syscall.c:(.text+0x5cd6): undefined reference to `cmpxchg8b_emu' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_get_curr_or_next': syscall.c:(.text+0x5d67): undefined reference to `atomic64_read_386' /usr/bin/ld: syscall.c:(.text+0x5da0): undefined reference to `cmpxchg8b_emu' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_by_id': syscall.c:(.text+0x5e4f): undefined reference to `atomic64_read_386' /usr/bin/ld: syscall.c:(.text+0x5e82): undefined reference to `cmpxchg8b_emu' /usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_link_by_id': syscall.c:(.text+0x5f2a): undefined reference to `atomic64_read_386' /usr/bin/ld: syscall.c:(.text+0x5f57): undefined reference to `cmpxchg8b_emu' /usr/bin/ld: kernel/bpf/syscall.o: in function `__do_sys_bpf': syscall.c:(.text+0x6a4d): undefined reference to `atomic64_read_386' /usr/bin/ld: syscall.c:(.text+0x6a88): undefined reference to `cmpxchg8b_emu' /usr/bin/ld: syscall.c:(.text+0x6abe): undefined reference to `atomic64_inc_386' /usr/bin/ld: kernel/bpf/bpf_iter.o: in function `prepare_seq_file': bpf_iter.c:(.text+0x1b2): undefined reference to `atomic64_inc_return_386' /usr/bin/ld: crypto/crypto_user_stat.o: in function `crypto_report_aead': crypto_user_stat.c:(.text+0x44): undefined reference to `atomic64_read_386' /usr/bin/ld: crypto_user_stat.c:(.text+0x55): undefined reference to `atomic64_read_386' /usr/bin/ld: crypto_user_stat.c:(.text+0x66): undefined reference to `atomic64_read_386' /usr/bin/ld: crypto_user_stat.c:(.text+0x77): undefined reference to `atomic64_read_386' /usr/bin/ld: crypto_user_stat.c:(.text+0x88): undefined reference to `atomic64_read_386' /usr/bin/ld: crypto/crypto_user_stat.o:crypto_user_stat.c:(.text+0xfe): more undefined references to `atomic64_read_386' follow /usr/bin/ld: drivers/dma-buf/dma-fence.o: in function `dma_fence_context_alloc': dma-fence.c:(.text+0x6b): undefined reference to `cmpxchg8b_emu' /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_XMM2' /usr/bin/ld: drivers/fpga/altera-pr-ip-core.o:(.altinstructions+0x22): undefined reference to `X86_FEATURE_XMM' /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/ipv4/inet_timewait_sock.o: in function `inet_twsk_alloc': inet_timewait_sock.c:(.text+0x3d1): undefined reference to `atomic64_read_386' /usr/bin/ld: inet_timewait_sock.c:(.text+0x3dd): 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+0x1d74): undefined reference to `atomic64_read_386' /usr/bin/ld: inet_connection_sock.c:(.text+0x1d80): undefined reference to `atomic64_set_386' /usr/bin/ld: net/ipv4/tcp_input.o: in function `inet_reqsk_alloc': tcp_input.c:(.text+0xa345): undefined reference to `atomic64_set_386' /usr/bin/ld: net/mac80211/wpa.o: in function `ieee80211_crypto_tkip_encrypt': wpa.c:(.text+0x739): undefined reference to `atomic64_inc_return_386' /usr/bin/ld: net/mac80211/wpa.o: in function `ieee80211_crypto_ccmp_encrypt': wpa.c:(.text+0xa50): undefined reference to `atomic64_inc_return_386' /usr/bin/ld: net/mac80211/wpa.o: in function `ieee80211_crypto_gcmp_encrypt': wpa.c:(.text+0xf65): undefined reference to `atomic64_inc_return_386' /usr/bin/ld: net/mac80211/wpa.o: in function `ieee80211_crypto_aes_cmac_encrypt': wpa.c:(.text+0x13dc): undefined reference to `atomic64_inc_return_386' /usr/bin/ld: net/mac80211/wpa.o: in function `ieee80211_crypto_aes_cmac_256_encrypt': wpa.c:(.text+0x1592): undefined reference to `atomic64_inc_return_386'
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [unhandled content-type:application/gzip] | |