From: kernel test robot <lkp@intel.com>
To: Michael Kelley <mikelley@microsoft.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Wei Liu <wei.liu@kernel.org>
Subject: [hyperv-linux:hyperv-next 3/5] ld: mshyperv.c:undefined reference to `hv_root_partition'
Date: Thu, 15 Jul 2021 00:32:45 +0800 [thread overview]
Message-ID: <202107150038.03cAy7eX-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2406 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git hyperv-next
head: 0d9f8d427756841b79df5da8bed98dc113299637
commit: 325d7a85e1ea52c5ca82b246c332e08939b085df [3/5] Drivers: hv: Make portions of Hyper-V init code be arch neutral
config: x86_64-randconfig-c002-20210713 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git/commit/?id=325d7a85e1ea52c5ca82b246c332e08939b085df
git remote add hyperv-linux https://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git
git fetch --no-tags hyperv-linux hyperv-next
git checkout 325d7a85e1ea52c5ca82b246c332e08939b085df
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
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 >>):
ld: arch/x86/kernel/cpu/mshyperv.o: in function `ms_hyperv_init_platform':
mshyperv.c:(.init.text+0x130): undefined reference to `ms_hyperv'
ld: mshyperv.c:(.init.text+0x147): undefined reference to `ms_hyperv'
ld: mshyperv.c:(.init.text+0x153): undefined reference to `ms_hyperv'
ld: mshyperv.c:(.init.text+0x15e): undefined reference to `ms_hyperv'
ld: mshyperv.c:(.init.text+0x16c): undefined reference to `ms_hyperv'
ld: arch/x86/kernel/cpu/mshyperv.o:mshyperv.c:(.init.text+0x17b): more undefined references to `ms_hyperv' follow
ld: arch/x86/kernel/cpu/mshyperv.o: in function `ms_hyperv_init_platform':
mshyperv.c:(.init.text+0x25d): undefined reference to `hv_root_partition'
>> ld: mshyperv.c:(.init.text+0x26f): undefined reference to `hv_root_partition'
ld: mshyperv.c:(.init.text+0x2d6): undefined reference to `ms_hyperv'
ld: mshyperv.c:(.init.text+0x2e1): undefined reference to `ms_hyperv'
ld: mshyperv.c:(.init.text+0x2eb): undefined reference to `ms_hyperv'
ld: mshyperv.c:(.init.text+0x2f6): undefined reference to `ms_hyperv'
ld: mshyperv.c:(.init.text+0x32e): undefined reference to `ms_hyperv'
ld: arch/x86/kernel/cpu/mshyperv.o:mshyperv.c:(.init.text+0x339): more undefined references to `ms_hyperv' follow
---
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: 42551 bytes --]
reply other threads:[~2021-07-14 16:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202107150038.03cAy7eX-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mikelley@microsoft.com \
--cc=wei.liu@kernel.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