[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202206291516.Nr0bqPCp-lkp@intel.com>
Date: Wed, 29 Jun 2022 15:42:29 +0800
From: kernel test robot <lkp@...el.com>
To: Ard Biesheuvel <ardb@...nel.org>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
GNU/Weeb Mailing List <gwml@...r.gnuweeb.org>,
linux-kernel@...r.kernel.org, Will Deacon <will@...nel.org>
Subject: [ammarfaizi2-block:arm64/linux/for-next/boot 20/21] ld.lld: error:
undefined hidden symbol: __pi___memmove
tree: https://github.com/ammarfaizi2/linux-block arm64/linux/for-next/boot
head: 7559d9f97581654fbd0c3fa21878b6d043bbe439
commit: aacd149b62382c63911060b8f64c1e3d89bd405a [20/21] arm64: head: avoid relocating the kernel twice for KASLR
config: arm64-buildonly-randconfig-r006-20220627 (https://download.01.org/0day-ci/archive/20220629/202206291516.Nr0bqPCp-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 016342e319fd31e41cf5ed16a6140a8ea2de74dd)
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 arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://github.com/ammarfaizi2/linux-block/commit/aacd149b62382c63911060b8f64c1e3d89bd405a
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block arm64/linux/for-next/boot
git checkout aacd149b62382c63911060b8f64c1e3d89bd405a
# 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=arm64 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 hidden symbol: __pi___memmove
>>> referenced by fdt.c:333 (lib/../scripts/dtc/libfdt/fdt.c:333)
>>> kernel/pi/lib-fdt.pi.o:(__pi_fdt_move) in archive arch/arm64/built-in.a
--
>> ld.lld: error: undefined hidden symbol: __pi___memcpy
>>> referenced by fdt_ro.c:568 (lib/../scripts/dtc/libfdt/fdt_ro.c:568)
>>> kernel/pi/lib-fdt_ro.pi.o:(__pi_fdt_get_path) in archive arch/arm64/built-in.a
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists