[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202209190647.RMC2Un6E-lkp@intel.com>
Date: Mon, 19 Sep 2022 06:37:58 +0800
From: kernel test robot <lkp@...el.com>
To: Ard Biesheuvel <ardb@...nel.org>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org
Subject: [ardb:for-kernelci 17/21] ld.lld: error: undefined symbol:
phys_initrd_size
tree: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git for-kernelci
head: 54f3c80676eedf739488a57e3356946ce8d1c091
commit: 498ea7824248d5d0aac3a69546303dae4c75e777 [17/21] efi: libstub: unify initrd loading between architectures
config: riscv-randconfig-r011-20220918
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920)
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 riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/commit/?id=498ea7824248d5d0aac3a69546303dae4c75e777
git remote add ardb git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
git fetch --no-tags ardb for-kernelci
git checkout 498ea7824248d5d0aac3a69546303dae4c75e777
# 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=riscv SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> ld.lld: error: undefined symbol: phys_initrd_size
>>> referenced by efi.c:108 (drivers/firmware/efi/efi.c:108)
>>> firmware/efi/efi.o:(efi_config_parse_tables) in archive drivers/built-in.a
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (177425 bytes)
Powered by blists - more mailing lists