From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: ld.lld: error: relocation R_PPC_ADDR16_LO cannot be used against local symbol; recompile with -fPIC
Date: Wed, 14 Jan 2026 04:19:50 +0800 [thread overview]
Message-ID: <202601140453.Jf8Sl7jZ-lkp@intel.com> (raw)
::::::
:::::: Manual check reason: "only suspicious fbc files changed"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: Nathan Chancellor <nathan@kernel.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: b71e635feefc852405b14620a7fc58c4c80c0f73
commit: 84ffc79bfbf70c779e60218563f2f3ad45288671 kbuild: Add '-fno-builtin-wcslen'
date: 9 months ago
:::::: branch date: 24 hours ago
:::::: commit date: 9 months ago
config: powerpc-randconfig-r072-20260113 (https://download.01.org/0day-ci/archive/20260114/202601140453.Jf8Sl7jZ-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9b8addffa70cee5b2acc5454712d9cf78ce45710)
smatch version: v0.5.0-8985-g2614ff1a
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260114/202601140453.Jf8Sl7jZ-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/r/202601140453.Jf8Sl7jZ-lkp@intel.com/
All errors (new ones prefixed by >>):
>> ld.lld: error: relocation R_PPC_ADDR16_LO cannot be used against local symbol; recompile with -fPIC
>>> defined in vmlinux.a(arch/powerpc/kernel/head_85xx.o)
>>> referenced by head_85xx.S:168 (arch/powerpc/kernel/head_85xx.S:168)
>>> arch/powerpc/kernel/head_85xx.o:(.head.text+0x30a) in archive vmlinux.a
--
>> ld.lld: error: relocation R_PPC_ADDR16_LO cannot be used against local symbol; recompile with -fPIC
>>> defined in vmlinux.a(arch/powerpc/kernel/head_85xx.o)
>>> referenced by head_85xx.S:169 (arch/powerpc/kernel/head_85xx.S:169)
>>> arch/powerpc/kernel/head_85xx.o:(.head.text+0x316) in archive vmlinux.a
--
>> ld.lld: error: relocation R_PPC_ADDR16_LO cannot be used against local symbol; recompile with -fPIC
>>> defined in vmlinux.a(arch/powerpc/kernel/head_85xx.o)
>>> referenced by head_85xx.S:178 (arch/powerpc/kernel/head_85xx.S:178)
>>> arch/powerpc/kernel/head_85xx.o:(.head.text+0x382) in archive vmlinux.a
--
>> ld.lld: error: relocation R_PPC_ADDR16_LO cannot be used against local symbol; recompile with -fPIC
>>> defined in vmlinux.a(arch/powerpc/kernel/head_85xx.o)
>>> referenced by head_85xx.S:179 (arch/powerpc/kernel/head_85xx.S:179)
>>> arch/powerpc/kernel/head_85xx.o:(.head.text+0x38e) in archive vmlinux.a
--
>> ld.lld: error: relocation R_PPC_ADDR16_LO cannot be used against local symbol; recompile with -fPIC
>>> defined in vmlinux.a(arch/powerpc/kernel/head_85xx.o)
>>> referenced by head_85xx.S:180 (arch/powerpc/kernel/head_85xx.S:180)
>>> arch/powerpc/kernel/head_85xx.o:(.head.text+0x39a) in archive vmlinux.a
--
>> ld.lld: error: relocation R_PPC_ADDR16_LO cannot be used against local symbol; recompile with -fPIC
>>> defined in vmlinux.a(arch/powerpc/kernel/head_85xx.o)
>>> referenced by head_85xx.S:181 (arch/powerpc/kernel/head_85xx.S:181)
>>> arch/powerpc/kernel/head_85xx.o:(.head.text+0x3a6) in archive vmlinux.a
--
>> ld.lld: error: relocation R_PPC_ADDR16_LO cannot be used against local symbol; recompile with -fPIC
>>> defined in vmlinux.a(arch/powerpc/kernel/head_85xx.o)
>>> referenced by head_85xx.S:182 (arch/powerpc/kernel/head_85xx.S:182)
>>> arch/powerpc/kernel/head_85xx.o:(.head.text+0x3b2) in archive vmlinux.a
--
>> ld.lld: error: relocation R_PPC_ADDR16_LO cannot be used against local symbol; recompile with -fPIC
>>> defined in vmlinux.a(arch/powerpc/kernel/head_85xx.o)
>>> referenced by head_85xx.S:183 (arch/powerpc/kernel/head_85xx.S:183)
>>> arch/powerpc/kernel/head_85xx.o:(.head.text+0x3be) in archive vmlinux.a
--
>> ld.lld: error: relocation R_PPC_ADDR16_LO cannot be used against local symbol; recompile with -fPIC
>>> defined in vmlinux.a(arch/powerpc/kernel/head_85xx.o)
>>> referenced by head_85xx.S:170 (arch/powerpc/kernel/head_85xx.S:170)
>>> arch/powerpc/kernel/head_85xx.o:(.head.text+0x322) in archive vmlinux.a
--
>> ld.lld: error: relocation R_PPC_ADDR16_LO cannot be used against local symbol; recompile with -fPIC
>>> defined in vmlinux.a(arch/powerpc/kernel/head_85xx.o)
>>> referenced by head_85xx.S:171 (arch/powerpc/kernel/head_85xx.S:171)
>>> arch/powerpc/kernel/head_85xx.o:(.head.text+0x32e) in archive vmlinux.a
--
>> ld.lld: error: relocation R_PPC_ADDR16_LO cannot be used against local symbol; recompile with -fPIC
>>> defined in vmlinux.a(arch/powerpc/kernel/head_85xx.o)
>>> referenced by head_85xx.S:172 (arch/powerpc/kernel/head_85xx.S:172)
>>> arch/powerpc/kernel/head_85xx.o:(.head.text+0x33a) in archive vmlinux.a
..
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-01-13 20:20 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=202601140453.Jf8Sl7jZ-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.