oe-kbuild-all.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [jpoimboe:static-call-null-3 2/5] ld.lld: error: undefined symbol: __static_call_return0
@ 2023-03-10 22:53 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-03-10 22:53 UTC (permalink / raw)
  To: Josh Poimboeuf; +Cc: llvm, oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git static-call-null-3
head:   432e4844ba65840af4a24f5e3f561aead867f6e7
commit: 999f0b7f8056dcb51476a6515a8601c9d6374aa2 [2/5] static_call: Make NULL static calls return 0
config: arm-buildonly-randconfig-r004-20230310 (https://download.01.org/0day-ci/archive/20230311/202303110626.hGiRSrOk-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 67409911353323ca5edf2049ef0df54132fa1ca7)
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
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git/commit/?id=999f0b7f8056dcb51476a6515a8601c9d6374aa2
        git remote add jpoimboe https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git
        git fetch --no-tags jpoimboe static-call-null-3
        git checkout 999f0b7f8056dcb51476a6515a8601c9d6374aa2
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303110626.hGiRSrOk-lkp@intel.com/

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: __static_call_return0
   >>> referenced by core.c
   >>>               kernel/events/core.o:(__SCK__perf_snapshot_branch_stack) in archive vmlinux.a
   >>> referenced by trusted_core.c
   >>>               security/keys/trusted-keys/trusted_core.o:(__SCK__trusted_key_init) in archive vmlinux.a
   >>> referenced by trusted_core.c
   >>>               security/keys/trusted-keys/trusted_core.o:(__SCK__trusted_key_seal) in archive vmlinux.a
   >>> referenced 3 more times

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-10 22:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-10 22:53 [jpoimboe:static-call-null-3 2/5] ld.lld: error: undefined symbol: __static_call_return0 kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).