From: kernel test robot <lkp@intel.com>
To: Dave Hansen <dave.hansen@linux.intel.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Sohil Mehta <sohil.mehta@intel.com>,
Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
Subject: ld.lld: error: relocation R_PPC_ADDR16_HA cannot be used against symbol 'virt_phys_offset'; recompile with -fPIC
Date: Sat, 28 Nov 2026 12:06:45 +0100 [thread overview]
Message-ID: <20261128115906.0jcqIVz1-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7cd8495c0f16275c4f9abe1cef09a7b5fcd6d046
commit: 238be4ba87605da69de2131e8736be7a0d299e00 x86/microcode: Refactor platform ID enumeration into a helper
date: 9 months ago
config: powerpc-randconfig-r2309-20261128 (https://download.01.org/0day-ci/archive/20261128/20261128115906.0jcqIVz1-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 578b1f2d6a9776b63cbb6b86f4cca6208d429f48)
sparse: v0.6.5-rc1-21-g84ec0658
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261128/20261128115906.0jcqIVz1-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Fixes: 238be4ba8760 ("x86/microcode: Refactor platform ID enumeration into a helper")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261128115906.0jcqIVz1-lkp@intel.com/
All errors (new ones prefixed by >>):
>> ld.lld: error: relocation R_PPC_ADDR16_HA cannot be used against symbol 'virt_phys_offset'; recompile with -fPIC
>>> defined in vmlinux.a(arch/powerpc/mm/init_32.o)
>>> referenced by main.c
>>> init/main.o:(virt_to_pfn) in archive vmlinux.a
--
>> ld.lld: error: relocation R_PPC_ADDR16_LO cannot be used against symbol 'virt_phys_offset'; recompile with -fPIC
>>> defined in vmlinux.a(arch/powerpc/mm/init_32.o)
>>> referenced by main.c
>>> init/main.o:(virt_to_pfn) in archive vmlinux.a
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-11-28 11:07 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=20261128115906.0jcqIVz1-lkp@intel.com \
--to=lkp@intel.com \
--cc=dave.hansen@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pawan.kumar.gupta@linux.intel.com \
--cc=sohil.mehta@intel.com \
/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
all inboxes | Powered by JetHome®