[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202204240554.gz9y0hb8-lkp@intel.com>
Date: Sun, 24 Apr 2022 05:15:51 +0800
From: kernel test robot <lkp@...el.com>
To: Dmitry Osipenko <digetx@...il.com>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org, Thierry Reding <treding@...dia.com>
Subject: ld.lld: error: undefined symbol: cpu_sa110_suspend_size
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 45ab9400e73f34103e73c18a73280c9aa1650e98
commit: faae6c9f2e68e62687636a7d6e0517b3bf594add cpuidle: tegra: Enable compile testing
date: 7 months ago
config: arm-buildonly-randconfig-r006-20220423 (https://download.01.org/0day-ci/archive/20220424/202204240554.gz9y0hb8-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 5bd87350a5ae429baf8f373cb226a57b62f87280)
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/torvalds/linux.git/commit/?id=faae6c9f2e68e62687636a7d6e0517b3bf594add
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout faae6c9f2e68e62687636a7d6e0517b3bf594add
# 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 as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
ld.lld: warning: lld uses blx instruction, no object with architecture supporting feature detected
ld.lld: warning: lld uses blx instruction, no object with architecture supporting feature detected
>> ld.lld: error: undefined symbol: cpu_sa110_suspend_size
>>> referenced by kernel/sleep.o:(.text+0x68) in archive arch/arm/built-in.a
--
>> ld.lld: error: undefined symbol: cpu_sa110_do_suspend
>>> referenced by suspend.c
>>> kernel/suspend.o:(__cpu_suspend_save) in archive arch/arm/built-in.a
--
>> ld.lld: error: undefined symbol: cpu_sa110_do_resume
>>> referenced by suspend.c
>>> kernel/suspend.o:(__cpu_suspend_save) in archive arch/arm/built-in.a
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for ARM_CPU_SUSPEND
Depends on ARCH_SUSPEND_POSSIBLE
Selected by
- ARM_TEGRA_CPUIDLE && CPU_IDLE && (ARM || ARM64) && (ARCH_TEGRA || COMPILE_TEST && !ARM64 && MMU
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists