From: kernel test robot <lkp@intel.com>
To: Varad Gautam <varadgautam@google.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Arnd Bergmann <arnd@arndb.de>
Subject: ld.lld: error: relocation R_PPC_ADDR16_HI cannot be used against symbol 'abatron_pteptrs'; recompile with -fPIC
Date: Tue, 4 Nov 2025 08:25:43 +0800 [thread overview]
Message-ID: <202511040818.lT806PAp-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 6146a0f1dfae5d37442a9ddcba012add260bceb0
commit: 8327bd4fcb6c1dab01ce5c6ff00b42496836dcd2 asm-generic/io.h: Skip trace helpers if rwmmio events are disabled
date: 6 weeks ago
config: powerpc-randconfig-r123-20251103 (https://download.01.org/0day-ci/archive/20251104/202511040818.lT806PAp-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251104/202511040818.lT806PAp-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
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202511040818.lT806PAp-lkp@intel.com/
All errors (new ones prefixed by >>):
>> ld.lld: error: relocation R_PPC_ADDR16_HI cannot be used against symbol 'abatron_pteptrs'; recompile with -fPIC
>>> defined in vmlinux.a(arch/powerpc/mm/nohash/mmu_context.o)
>>> referenced by head_44x.S:212 (arch/powerpc/kernel/head_44x.S:212)
>>> arch/powerpc/kernel/head_44x.o:(.head.text+0xbe) in archive vmlinux.a
--
>> ld.lld: error: relocation R_PPC_ADDR16_LO cannot be used against symbol 'abatron_pteptrs'; recompile with -fPIC
>>> defined in vmlinux.a(arch/powerpc/mm/nohash/mmu_context.o)
>>> referenced by head_44x.S:213 (arch/powerpc/kernel/head_44x.S:213)
>>> arch/powerpc/kernel/head_44x.o:(.head.text+0xc2) in archive vmlinux.a
--
>> ld.lld: error: relocation R_PPC_ADDR16_HI cannot be used against symbol 'start_kernel'; recompile with -fPIC
>>> defined in vmlinux.a(init/main.o)
>>> referenced by head_44x.S:224 (arch/powerpc/kernel/head_44x.S:224)
>>> arch/powerpc/kernel/head_44x.o:(.head.text+0xde) in archive vmlinux.a
--
>> ld.lld: error: relocation R_PPC_ADDR16_LO cannot be used against symbol 'start_kernel'; recompile with -fPIC
>>> defined in vmlinux.a(init/main.o)
>>> referenced by head_44x.S:225 (arch/powerpc/kernel/head_44x.S:225)
>>> arch/powerpc/kernel/head_44x.o:(.head.text+0xe2) in archive vmlinux.a
--
>> ld.lld: error: relocation R_PPC_ADDR16_HA cannot be used against symbol 'critirq_ctx'; recompile with -fPIC
>>> defined in vmlinux.a(arch/powerpc/kernel/irq.o)
>>> referenced by head_44x.S:251 (arch/powerpc/kernel/head_44x.S:251)
>>> arch/powerpc/kernel/head_44x.o:(.head.text+0x106) in archive vmlinux.a
--
>> ld.lld: error: relocation R_PPC_ADDR16_LO cannot be used against symbol 'critirq_ctx'; recompile with -fPIC
>>> defined in vmlinux.a(arch/powerpc/kernel/irq.o)
>>> referenced by head_44x.S:251 (arch/powerpc/kernel/head_44x.S:251)
>>> arch/powerpc/kernel/head_44x.o:(.head.text+0x10a) in archive vmlinux.a
--
>> ld.lld: error: relocation R_PPC_ADDR16_HA cannot be used against symbol 'critirq_ctx'; recompile with -fPIC
>>> defined in vmlinux.a(arch/powerpc/kernel/irq.o)
>>> referenced by head_44x.S:254 (arch/powerpc/kernel/head_44x.S:254)
>>> arch/powerpc/kernel/head_44x.o:(.head.text+0x286) in archive vmlinux.a
--
>> ld.lld: error: relocation R_PPC_ADDR16_LO cannot be used against symbol 'critirq_ctx'; recompile with -fPIC
>>> defined in vmlinux.a(arch/powerpc/kernel/irq.o)
>>> referenced by head_44x.S:254 (arch/powerpc/kernel/head_44x.S:254)
>>> arch/powerpc/kernel/head_44x.o:(.head.text+0x28a) in archive vmlinux.a
--
>> ld.lld: error: relocation R_PPC_ADDR16_HA cannot be used against symbol 'mcheckirq_ctx'; recompile with -fPIC
>>> defined in vmlinux.a(arch/powerpc/kernel/irq.o)
>>> referenced by head_44x.S:256 (arch/powerpc/kernel/head_44x.S:256)
>>> arch/powerpc/kernel/head_44x.o:(.head.text+0x406) in archive vmlinux.a
--
>> ld.lld: error: relocation R_PPC_ADDR16_LO cannot be used against symbol 'mcheckirq_ctx'; recompile with -fPIC
>>> defined in vmlinux.a(arch/powerpc/kernel/irq.o)
>>> referenced by head_44x.S:256 (arch/powerpc/kernel/head_44x.S:256)
>>> arch/powerpc/kernel/head_44x.o:(.head.text+0x40a) in archive vmlinux.a
--
>> ld.lld: error: relocation R_PPC_ADDR16_LO cannot be used against symbol 'init_thread_union'; recompile with -fPIC
>>> defined in ./arch/powerpc/kernel/vmlinux.lds:134
>>> referenced by head_44x.S:109 (arch/powerpc/kernel/head_44x.S:109)
>>> arch/powerpc/kernel/head_44x.o:(.head.text+0x52) in archive vmlinux.a
..
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-11-04 0:26 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=202511040818.lT806PAp-lkp@intel.com \
--to=lkp@intel.com \
--cc=arnd@arndb.de \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=varadgautam@google.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®