linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: kernel test robot <lkp@intel.com>, 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: Re: undefined reference to `cpu_sa110_suspend_size'
Date: Thu, 10 Dec 2020 18:58:02 -0800	[thread overview]
Message-ID: <2e33b214-2416-3030-0308-5987388392eb@infradead.org> (raw)
In-Reply-To: <202012071244.gmhxfkIp-lkp@intel.com>

On 12/6/20 8:46 PM, kernel test robot wrote:
> Hi Stephan,
> 
> FYI, the error/warning still remains.
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   0477e92881850d44910a7e94fc2c46f96faa131f
> commit: a871be6b8eee13a35a3e8e56c62770ef17ee9220 cpuidle: Convert Qualcomm SPM driver to a generic CPUidle driver
> date:   7 months ago
> config: arm-randconfig-r005-20201207 (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'
>    arm-linux-gnueabi-ld: arch/arm/kernel/suspend.o: in function `__cpu_suspend_save':
>>> suspend.c:(.text+0x140): undefined reference to `cpu_sa110_do_suspend'
>>> arm-linux-gnueabi-ld: suspend.c:(.text+0x168): undefined reference to `cpu_sa110_do_resume'
>    arm-linux-gnueabi-ld: drivers/firmware/qcom_scm-smc.o: in function `__scm_smc_do_quirk':
>    qcom_scm-smc.c:(.text+0x5c): 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+0x1a4): 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+0x454): undefined reference to `__arm_smccc_smc'
> 
> ---


Missing Kconfig warning:

WARNING: unmet direct dependencies detected for ARM_CPU_SUSPEND
  Depends on [n]: ARCH_SUSPEND_POSSIBLE [=n]
  Selected by [y]:
  - ARM_QCOM_SPM_CPUIDLE [=y] && CPU_IDLE [=y] && (ARM [=y] || ARM64) && (ARCH_QCOM [=n] || COMPILE_TEST [=y]) && !ARM64


Patch has been sent for this kconfig warning & build errors.

-- 
~Randy


  reply	other threads:[~2020-12-11  2:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-07  4:46 undefined reference to `cpu_sa110_suspend_size' kernel test robot
2020-12-11  2:58 ` Randy Dunlap [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
2021-01-24  9:41 kernel test robot
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=2e33b214-2416-3030-0308-5987388392eb@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=ilina@codeaurora.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --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;
as well as URLs for NNTP newsgroup(s).