[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202210201332.fasRfgxW-lkp@intel.com>
Date: Thu, 20 Oct 2022 13:27:48 +0800
From: kernel test robot <lkp@...el.com>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org
Subject: [arm-integrator:kernel-in-vmalloc-v6.1-rc1 25/26] ld.lld: error:
undefined symbol: kernel_sec_start
tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git kernel-in-vmalloc-v6.1-rc1
head: dd354395fff14a411a8b85bd2a9d70e3a43e393b
commit: a57b3f2dec6a146ffd7ffc4a293de2b76f7d9054 [25/26] init debug
config: arm-randconfig-r033-20221019
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 arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git/commit/?id=a57b3f2dec6a146ffd7ffc4a293de2b76f7d9054
git remote add arm-integrator https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git
git fetch --no-tags arm-integrator kernel-in-vmalloc-v6.1-rc1
git checkout a57b3f2dec6a146ffd7ffc4a293de2b76f7d9054
# 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 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: kernel_sec_start
>>> referenced by init.c:197 (arch/arm/mm/init.c:197)
>>> arch/arm/mm/init.o:(arm_memblock_init) in archive vmlinux.a
>>> referenced by init.c:197 (arch/arm/mm/init.c:197)
>>> arch/arm/mm/init.o:(arm_memblock_init) in archive vmlinux.a
--
>> ld.lld: error: undefined symbol: kernel_sec_end
>>> referenced by init.c:197 (arch/arm/mm/init.c:197)
>>> arch/arm/mm/init.o:(arm_memblock_init) in archive vmlinux.a
>>> referenced by init.c:197 (arch/arm/mm/init.c:197)
>>> arch/arm/mm/init.o:(arm_memblock_init) in archive vmlinux.a
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (154554 bytes)
Powered by blists - more mailing lists