[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202204131029.GIdIxZ9E-lkp@intel.com>
Date: Wed, 13 Apr 2022 11:03:25 +0800
From: kernel test robot <lkp@...el.com>
To: Mark Rutland <mark.rutland@....com>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org
Subject: [mark:stacktrace/testing 1/1] ERROR: modpost:
"kallsyms_lookup_size_offset" [lib/test_stacktrace/test_stacktrace.ko]
undefined!
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git stacktrace/testing
head: a8e8825116626f8c3e8be3bb889b6442a7465cb8
commit: a8e8825116626f8c3e8be3bb889b6442a7465cb8 [1/1] WIP: stacktrace tests
config: hexagon-randconfig-r041-20220412 (https://download.01.org/0day-ci/archive/20220413/202204131029.GIdIxZ9E-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project fe2478d44e4f7f191c43fef629ac7a23d0251e72)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git/commit/?id=a8e8825116626f8c3e8be3bb889b6442a7465cb8
git remote add mark https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
git fetch --no-tags mark stacktrace/testing
git checkout a8e8825116626f8c3e8be3bb889b6442a7465cb8
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All error/warnings (new ones prefixed by >>, old ones prefixed by <<):
>> ERROR: modpost: "kallsyms_lookup_size_offset" [lib/test_stacktrace/test_stacktrace.ko] undefined!
--
>> lib/test_stacktrace/kunit.c:54:5: warning: no previous prototype for function 'st_find_func_idx' [-Wmissing-prototypes]
int st_find_func_idx(struct st_data *st, void *func, int start)
^
lib/test_stacktrace/kunit.c:54:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int st_find_func_idx(struct st_data *st, void *func, int start)
^
static
1 warning generated.
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists