From: kernel test robot <lkp@intel.com>
To: Stephan Gerhold <stephan@gerhold.net>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
"Rafael J. Wysocki" <rjw@rjwysocki.net>,
Lina Iyer <ilina@codeaurora.org>,
Ulf Hansson <ulf.hansson@linaro.org>
Subject: undefined reference to `cpu_sa110_suspend_size'
Date: Sun, 24 Jan 2021 17:41:50 +0800 [thread overview]
Message-ID: <202101241748.UTPpkPRu-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 4569 bytes --]
Hi Stephan,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: e1ae4b0be15891faf46d390e9f3dc9bd71a8cae1
commit: a871be6b8eee13a35a3e8e56c62770ef17ee9220 cpuidle: Convert Qualcomm SPM driver to a generic CPUidle driver
date: 8 months ago
config: arm-randconfig-r035-20210124 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
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
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a871be6b8eee13a35a3e8e56c62770ef17ee9220
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout a871be6b8eee13a35a3e8e56c62770ef17ee9220
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
arm-linux-gnueabi-ld: arch/arm/kernel/sleep.o: in function `__cpu_suspend':
>> (.text+0x60): undefined reference to `cpu_sa110_suspend_size'
kernel/softirq.o: in function `spawn_ksoftirqd':
softirq.c:(.init.text+0x40): relocation truncated to fit: R_ARM_PC24 against symbol `__cpuhp_setup_state' defined in .text section in kernel/cpu.o
softirq.c:(.init.text+0x48): relocation truncated to fit: R_ARM_PC24 against symbol `smpboot_register_percpu_thread' defined in .text section in kernel/smpboot.o
softirq.c:(.init.text+0x64): relocation truncated to fit: R_ARM_PC24 against symbol `ftrace_likely_update' defined in .text section in kernel/trace/trace_branch.o
init/main.o: in function `do_early_param':
main.c:(.init.text+0x378): relocation truncated to fit: R_ARM_PC24 against symbol `parameq' defined in .text section in kernel/params.o
main.c:(.init.text+0x440): relocation truncated to fit: R_ARM_PC24 against symbol `printk' defined in .text.unlikely section in kernel/printk/printk.o
init/main.o: in function `unknown_bootoption':
main.c:(.init.text+0x6dc): relocation truncated to fit: R_ARM_PC24 against symbol `parameqn' defined in .text section in kernel/params.o
main.c:(.init.text+0x770): relocation truncated to fit: R_ARM_PC24 against symbol `printk' defined in .text.unlikely section in kernel/printk/printk.o
init/main.o: in function `xbc_snprint_cmdline':
main.c:(.init.text+0xc90): relocation truncated to fit: R_ARM_PC24 against symbol `__stack_chk_fail' defined in .text section in kernel/panic.o
init/main.o: in function `trace_initcall_finish_cb':
main.c:(.init.text+0xce8): relocation truncated to fit: R_ARM_PC24 against symbol `ktime_get' defined in .text section in kernel/time/timekeeping.o
main.c:(.init.text+0xd18): relocation truncated to fit: R_ARM_PC24 against symbol `printk' defined in .text.unlikely section in kernel/printk/printk.o
init/main.o: in function `trace_initcall_start_cb':
main.c:(.init.text+0xd74): additional relocation overflows omitted from the output
arm-linux-gnueabi-ld: arch/arm/kernel/suspend.o: in function `__cpu_suspend_save':
>> suspend.c:(.text+0x114): undefined reference to `cpu_sa110_do_suspend'
>> arm-linux-gnueabi-ld: suspend.c:(.text+0x138): undefined reference to `cpu_sa110_do_resume'
arm-linux-gnueabi-ld: drivers/cpuidle/cpuidle-qcom-spm.o: in function `spm_dev_probe':
cpuidle-qcom-spm.c:(.text+0x370): undefined reference to `cpu_resume_arm'
arm-linux-gnueabi-ld: drivers/firmware/qcom_scm-smc.o: in function `__scm_smc_do_quirk':
qcom_scm-smc.c:(.text+0x6c): undefined reference to `__arm_smccc_smc'
arm-linux-gnueabi-ld: drivers/firmware/qcom_scm-legacy.o: in function `scm_legacy_call':
qcom_scm-legacy.c:(.text+0x168): undefined reference to `__arm_smccc_smc'
arm-linux-gnueabi-ld: drivers/firmware/qcom_scm-legacy.o: in function `scm_legacy_call_atomic':
qcom_scm-legacy.c:(.text+0x5f0): undefined reference to `__arm_smccc_smc'
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for ARM_CPU_SUSPEND
Depends on ARCH_SUSPEND_POSSIBLE
Selected by
- ARM_QCOM_SPM_CPUIDLE && CPU_IDLE && (ARM || ARM64) && (ARCH_QCOM || COMPILE_TEST && !ARM64
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34644 bytes --]
next reply other threads:[~2021-01-24 9:42 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-24 9:41 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-07-08 8:45 kernel test robot
2022-03-14 2:29 kernel test robot
2022-01-24 12:47 kernel test robot
2021-12-14 20:39 kernel test robot
2021-05-25 0:59 kernel test robot
2021-03-02 4:54 kernel test robot
2020-12-07 4:46 kernel test robot
2020-12-11 2:58 ` Randy Dunlap
2020-11-24 20:58 kernel test robot
2020-11-11 11:57 kernel test robot
2020-11-24 0:32 ` Randy Dunlap
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202101241748.UTPpkPRu-lkp@intel.com \
--to=lkp@intel.com \
--cc=ilina@codeaurora.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rjw@rjwysocki.net \
--cc=stephan@gerhold.net \
--cc=ulf.hansson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome