ERROR: ".current_stack_frame" undefined!

From: kernel test robot
Date: Wed Feb 03 2021 - 21:04:54 EST


Hi Michael,

First bad commit (maybe != root cause):

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 3aaf0a27ffc29b19a62314edd684b9bc6346f9a8
commit: 3d13e839e801e081bdece0127c2affa33d0f77cf powerpc: Rename current_stack_pointer() to current_stack_frame()
date: 11 months ago
config: powerpc64-randconfig-s032-20210202 (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.3-215-g0fb77bb6-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3d13e839e801e081bdece0127c2affa33d0f77cf
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 3d13e839e801e081bdece0127c2affa33d0f77cf
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=powerpc64

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

ERROR: ".iov_iter_advance" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".__sanitizer_cov_trace_cmp8" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".virtio_check_driver_offered_feature" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".unregister_virtio_driver" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".__init_waitqueue_head" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".__sanitizer_cov_trace_const_cmp8" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".iov_iter_single_seg_count" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".sysfs_create_file_ns" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".__might_sleep" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".finish_wait" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".virtqueue_get_buf" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".mutex_lock_nested" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".__kmalloc" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".kvfree" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".prepare_to_wait_event" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".__list_add_valid" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".vmalloc_to_page" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".__sanitizer_cov_trace_pc" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".__raw_spin_lock_init" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".schedule" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".__sanitizer_cov_trace_const_cmp1" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".sysfs_remove_file_ns" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".p9_req_put" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".kobject_uevent" [net/9p/9pnet_virtio.ko] undefined!
ERROR: "._raw_spin_lock_irqsave" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".is_vmalloc_addr" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".v9fs_unregister_trans" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".init_wait_entry" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".memcpy" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".__wake_up" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".nr_free_buffer_pages" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".virtqueue_kick" [net/9p/9pnet_virtio.ko] undefined!
ERROR: "._dev_err" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".printk" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".__list_del_entry_valid" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".msleep" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".__sanitizer_cov_trace_const_cmp4" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".mutex_unlock" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".strcmp" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".v9fs_register_trans" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".register_virtio_driver" [net/9p/9pnet_virtio.ko] undefined!
ERROR: ".event_triggers_call" [net/9p/9pnet.ko] undefined!
ERROR: ".__put_page" [net/9p/9pnet.ko] undefined!
ERROR: "._raw_spin_unlock_irqrestore" [net/9p/9pnet.ko] undefined!
ERROR: ".try_module_get" [net/9p/9pnet.ko] undefined!
ERROR: ".__sanitizer_cov_trace_cmp4" [net/9p/9pnet.ko] undefined!
ERROR: ".kmem_cache_alloc_trace" [net/9p/9pnet.ko] undefined!
ERROR: ".lockdep_rcu_suspicious" [net/9p/9pnet.ko] undefined!
ERROR: ".strlen" [net/9p/9pnet.ko] undefined!
ERROR: ".__sock_create" [net/9p/9pnet.ko] undefined!
ERROR: ".iov_iter_kvec" [net/9p/9pnet.ko] undefined!
ERROR: ".dump_page" [net/9p/9pnet.ko] undefined!
ERROR: "._copy_to_iter" [net/9p/9pnet.ko] undefined!
ERROR: ".rcu_is_watching" [net/9p/9pnet.ko] undefined!
ERROR: ".fortify_panic" [net/9p/9pnet.ko] undefined!
ERROR: ".sscanf" [net/9p/9pnet.ko] undefined!
ERROR: ".kmem_cache_create_usercopy" [net/9p/9pnet.ko] undefined!
ERROR: ".perf_trace_buf_alloc" [net/9p/9pnet.ko] undefined!
ERROR: ".iov_iter_advance" [net/9p/9pnet.ko] undefined!
ERROR: ".__sanitizer_cov_trace_cmp8" [net/9p/9pnet.ko] undefined!
ERROR: ".cancel_work_sync" [net/9p/9pnet.ko] undefined!
ERROR: ".memcmp" [net/9p/9pnet.ko] undefined!
ERROR: ".refcount_warn_saturate" [net/9p/9pnet.ko] undefined!
ERROR: ".kmem_cache_free" [net/9p/9pnet.ko] undefined!
ERROR: ".bpf_trace_run2" [net/9p/9pnet.ko] undefined!
ERROR: ".module_put" [net/9p/9pnet.ko] undefined!
ERROR: ".__init_waitqueue_head" [net/9p/9pnet.ko] undefined!
ERROR: ".strncmp" [net/9p/9pnet.ko] undefined!
ERROR: ".__sanitizer_cov_trace_const_cmp8" [net/9p/9pnet.ko] undefined!
ERROR: ".fput" [net/9p/9pnet.ko] undefined!
ERROR: ".idr_alloc" [net/9p/9pnet.ko] undefined!
ERROR: ".kernel_bind" [net/9p/9pnet.ko] undefined!
ERROR: ".__might_sleep" [net/9p/9pnet.ko] undefined!
ERROR: ".finish_wait" [net/9p/9pnet.ko] undefined!
ERROR: ".idr_get_next" [net/9p/9pnet.ko] undefined!
ERROR: ".strscpy" [net/9p/9pnet.ko] undefined!
ERROR: ".lock_acquire" [net/9p/9pnet.ko] undefined!
ERROR: ".__kmalloc" [net/9p/9pnet.ko] undefined!
ERROR: ".prepare_to_wait_event" [net/9p/9pnet.ko] undefined!
ERROR: "._raw_spin_lock_irq" [net/9p/9pnet.ko] undefined!
ERROR: ".__list_add_valid" [net/9p/9pnet.ko] undefined!
ERROR: "._raw_spin_lock" [net/9p/9pnet.ko] undefined!
ERROR: ".__sanitizer_cov_trace_switch" [net/9p/9pnet.ko] undefined!
ERROR: ".seq_puts" [net/9p/9pnet.ko] undefined!
ERROR: ".match_token" [net/9p/9pnet.ko] undefined!
ERROR: ".kmem_cache_create" [net/9p/9pnet.ko] undefined!
ERROR: ".__sanitizer_cov_trace_const_cmp2" [net/9p/9pnet.ko] undefined!
ERROR: ".__sanitizer_cov_trace_pc" [net/9p/9pnet.ko] undefined!
ERROR: ".debug_lockdep_rcu_enabled" [net/9p/9pnet.ko] undefined!
ERROR: ".trace_event_buffer_commit" [net/9p/9pnet.ko] undefined!
ERROR: ".__raw_spin_lock_init" [net/9p/9pnet.ko] undefined!
ERROR: ".sock_release" [net/9p/9pnet.ko] undefined!
ERROR: ".schedule" [net/9p/9pnet.ko] undefined!
ERROR: ".__sanitizer_cov_trace_const_cmp1" [net/9p/9pnet.ko] undefined!
ERROR: ".perf_trace_run_bpf_submit" [net/9p/9pnet.ko] undefined!
ERROR: ".flush_work" [net/9p/9pnet.ko] undefined!
ERROR: ".__sanitizer_cov_trace_cmp2" [net/9p/9pnet.ko] undefined!
ERROR: ".in_aton" [net/9p/9pnet.ko] undefined!
ERROR: ".idr_preload" [net/9p/9pnet.ko] undefined!
ERROR: ".trace_raw_output_prep" [net/9p/9pnet.ko] undefined!
>> ERROR: ".current_stack_frame" [net/9p/9pnet.ko] undefined!
ERROR: ".kstrdup" [net/9p/9pnet.ko] undefined!
ERROR: ".strsep" [net/9p/9pnet.ko] undefined!
ERROR: "._raw_spin_lock_irqsave" [net/9p/9pnet.ko] undefined!
ERROR: ".trace_event_buffer_reserve" [net/9p/9pnet.ko] undefined!
ERROR: "._copy_from_iter_full" [net/9p/9pnet.ko] undefined!
ERROR: ".seq_printf" [net/9p/9pnet.ko] undefined!
ERROR: ".bpf_trace_run4" [net/9p/9pnet.ko] undefined!
ERROR: ".__check_object_size" [net/9p/9pnet.ko] undefined!
ERROR: "._raw_spin_unlock_irq" [net/9p/9pnet.ko] undefined!
ERROR: ".init_wait_entry" [net/9p/9pnet.ko] undefined!
ERROR: "._raw_spin_unlock" [net/9p/9pnet.ko] undefined!
ERROR: ".memcpy" [net/9p/9pnet.ko] undefined!
ERROR: ".queue_work_on" [net/9p/9pnet.ko] undefined!
ERROR: ".__page_ref_mod_and_test" [net/9p/9pnet.ko] undefined!
ERROR: ".add_wait_queue" [net/9p/9pnet.ko] undefined!
ERROR: ".__wake_up" [net/9p/9pnet.ko] undefined!
ERROR: ".memset" [net/9p/9pnet.ko] undefined!
ERROR: ".idr_remove" [net/9p/9pnet.ko] undefined!
ERROR: ".memmove" [net/9p/9pnet.ko] undefined!
ERROR: ".kernel_write" [net/9p/9pnet.ko] undefined!
ERROR: ".trace_seq_printf" [net/9p/9pnet.ko] undefined!
ERROR: ".kmem_cache_alloc" [net/9p/9pnet.ko] undefined!
ERROR: ".idr_alloc_u32" [net/9p/9pnet.ko] undefined!
ERROR: ".sock_alloc_file" [net/9p/9pnet.ko] undefined!
ERROR: ".bpf_trace_run3" [net/9p/9pnet.ko] undefined!
ERROR: ".kernel_read" [net/9p/9pnet.ko] undefined!
ERROR: ".printk" [net/9p/9pnet.ko] undefined!
ERROR: ".trace_event_ignore_this_pid" [net/9p/9pnet.ko] undefined!
ERROR: ".__list_del_entry_valid" [net/9p/9pnet.ko] undefined!
ERROR: ".trace_print_symbols_seq" [net/9p/9pnet.ko] undefined!
ERROR: ".remove_wait_queue" [net/9p/9pnet.ko] undefined!
ERROR: ".rcu_read_lock_sched_held" [net/9p/9pnet.ko] undefined!
ERROR: ".lockdep_init_map" [net/9p/9pnet.ko] undefined!
ERROR: ".__stack_chk_fail" [net/9p/9pnet.ko] undefined!
ERROR: ".__sanitizer_cov_trace_const_cmp4" [net/9p/9pnet.ko] undefined!
ERROR: ".fget" [net/9p/9pnet.ko] undefined!
ERROR: ".lock_release" [net/9p/9pnet.ko] undefined!
ERROR: ".strcmp" [net/9p/9pnet.ko] undefined!
ERROR: ".match_int" [net/9p/9pnet.ko] undefined!
ERROR: ".dump_stack" [net/9p/9pnet.ko] undefined!
ERROR: ".trace_handle_return" [net/9p/9pnet.ko] undefined!
ERROR: ".kmem_cache_destroy" [net/9p/9pnet.ko] undefined!
ERROR: ".match_strdup" [net/9p/9pnet.ko] undefined!
ERROR: ".recalc_sigpending" [net/9p/9pnet.ko] undefined!
ERROR: ".idr_find" [net/9p/9pnet.ko] undefined!
ERROR: ".sock_diag_unregister" [net/smc/smc_diag.ko] undefined!
ERROR: ".sock_diag_register" [net/smc/smc_diag.ko] undefined!
ERROR: "._raw_read_unlock" [net/smc/smc_diag.ko] undefined!
ERROR: ".__sanitizer_cov_trace_const_cmp8" [net/smc/smc_diag.ko] undefined!
ERROR: "._raw_read_lock" [net/smc/smc_diag.ko] undefined!
ERROR: ".skb_trim" [net/smc/smc_diag.ko] undefined!
ERROR: ".memset" [net/smc/smc_diag.ko] undefined!
ERROR: ".sock_i_ino" [net/smc/smc_diag.ko] undefined!
ERROR: ".sock_i_uid" [net/smc/smc_diag.ko] undefined!
ERROR: ".nla_put" [net/smc/smc_diag.ko] undefined!
ERROR: ".__sanitizer_cov_trace_const_cmp1" [net/smc/smc_diag.ko] undefined!
ERROR: ".sock_diag_save_cookie" [net/smc/smc_diag.ko] undefined!
ERROR: ".__nlmsg_put" [net/smc/smc_diag.ko] undefined!
ERROR: ".__sanitizer_cov_trace_const_cmp4" [net/smc/smc_diag.ko] undefined!
ERROR: ".__netlink_dump_start" [net/smc/smc_diag.ko] undefined!
ERROR: ".__sanitizer_cov_trace_const_cmp2" [net/smc/smc_diag.ko] undefined!
ERROR: ".sprintf" [net/smc/smc_diag.ko] undefined!
ERROR: ".__sanitizer_cov_trace_pc" [net/smc/smc_diag.ko] undefined!
ERROR: ".ib_register_event_handler" [net/smc/smc.ko] undefined!
ERROR: ".cancel_delayed_work_sync" [net/smc/smc.ko] undefined!
ERROR: ".__put_page" [net/smc/smc.ko] undefined!
ERROR: ".register_netdevice_notifier" [net/smc/smc.ko] undefined!
ERROR: "._raw_spin_unlock_irqrestore" [net/smc/smc.ko] undefined!
ERROR: ".sk_stream_wait_connect" [net/smc/smc.ko] undefined!
ERROR: ".ib_alloc_mr_user" [net/smc/smc.ko] undefined!
ERROR: ".mod_delayed_work_on" [net/smc/smc.ko] undefined!
ERROR: ".__sanitizer_cov_trace_cmp4" [net/smc/smc.ko] undefined!
ERROR: ".static_key_enable" [net/smc/smc.ko] undefined!
ERROR: ".__nlmsg_put" [net/smc/smc.ko] undefined!
ERROR: ".kmem_cache_alloc_trace" [net/smc/smc.ko] undefined!
ERROR: ".device_add" [net/smc/smc.ko] undefined!
ERROR: ".sock_wake_async" [net/smc/smc.ko] undefined!
ERROR: ".__tasklet_schedule" [net/smc/smc.ko] undefined!
ERROR: ".lockdep_rcu_suspicious" [net/smc/smc.ko] undefined!
ERROR: ".register_pernet_subsys" [net/smc/smc.ko] undefined!
ERROR: ".__mutex_init" [net/smc/smc.ko] undefined!
ERROR: ".cancel_delayed_work" [net/smc/smc.ko] undefined!
ERROR: ".release_sock" [net/smc/smc.ko] undefined!
ERROR: ".strlen" [net/smc/smc.ko] undefined!
ERROR: ".ib_map_mr_sg" [net/smc/smc.ko] undefined!
ERROR: ".iov_iter_kvec" [net/smc/smc.ko] undefined!
ERROR: ".sk_stream_error" [net/smc/smc.ko] undefined!
ERROR: ".genl_unregister_family" [net/smc/smc.ko] undefined!
ERROR: ".dump_page" [net/smc/smc.ko] undefined!
ERROR: "._copy_to_iter" [net/smc/smc.ko] undefined!
ERROR: ".rdma_get_gid_attr" [net/smc/smc.ko] undefined!
ERROR: ".destroy_workqueue" [net/smc/smc.ko] undefined!
ERROR: ".ib_query_qp" [net/smc/smc.ko] undefined!
ERROR: ".rcu_is_watching" [net/smc/smc.ko] undefined!
ERROR: ".init_timer_key" [net/smc/smc.ko] undefined!
ERROR: ".__ib_alloc_pd" [net/smc/smc.ko] undefined!
ERROR: ".unregister_netdevice_notifier" [net/smc/smc.ko] undefined!
ERROR: ".kernel_getsockname" [net/smc/smc.ko] undefined!
ERROR: ".xa_load" [net/smc/smc.ko] undefined!
ERROR: "._raw_read_unlock" [net/smc/smc.ko] undefined!

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

Attachment: .config.gz
Description: application/gzip