public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Cong Wang <xiyou.wangcong@gmail.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [congwang:net 13/15] ld.lld: error: relocation R_PPC_ADDR16_HA cannot be used against symbol 'cur_cpu_spec'; recompile with -fPIC
Date: Sat, 22 Mar 2025 05:48:22 +0800	[thread overview]
Message-ID: <202503220548.ryFEa8Fa-lkp@intel.com> (raw)

tree:   https://github.com/congwang/linux.git net
head:   159606d3b1bf9dcaecb690f6f3032ef6a091a7eb
commit: 6985f9f0bf76ac3fc6d025a19f0224b636c00823 [13/15] selftests/tc-testing: Add a test case for FQ_CODEL with HFSC parent
config: powerpc-randconfig-001-20250322 (https://download.01.org/0day-ci/archive/20250322/202503220548.ryFEa8Fa-lkp@intel.com/config)
compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project c2692afc0a92cd5da140dfcdfff7818a5b8ce997)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250322/202503220548.ryFEa8Fa-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/202503220548.ryFEa8Fa-lkp@intel.com/

All errors (new ones prefixed by >>):

>> ld.lld: error: relocation R_PPC_ADDR16_HA cannot be used against symbol 'cur_cpu_spec'; recompile with -fPIC
   >>> defined in vmlinux.a(arch/powerpc/kernel/cputable.o)
   >>> referenced by cputable.c:82 (arch/powerpc/kernel/cputable.c:82)
   >>>               arch/powerpc/kernel/cputable.o:(setup_cpu_spec) in archive vmlinux.a
--
>> ld.lld: error: relocation R_PPC_ADDR16_LO cannot be used against symbol 'cur_cpu_spec'; recompile with -fPIC
   >>> defined in vmlinux.a(arch/powerpc/kernel/cputable.o)
   >>> referenced by cputable.c:82 (arch/powerpc/kernel/cputable.c:82)
   >>>               arch/powerpc/kernel/cputable.o:(setup_cpu_spec) in archive vmlinux.a
--
>> ld.lld: error: relocation R_PPC_ADDR16_HA cannot be used against symbol 'cur_cpu_spec'; recompile with -fPIC
   >>> defined in vmlinux.a(arch/powerpc/kernel/cputable.o)
   >>> referenced by cputable.c:44 (arch/powerpc/kernel/cputable.c:44)
   >>>               arch/powerpc/kernel/cputable.o:(set_cur_cpu_spec) in archive vmlinux.a
--
>> ld.lld: error: relocation R_PPC_ADDR16_LO cannot be used against symbol 'cur_cpu_spec'; recompile with -fPIC
   >>> defined in vmlinux.a(arch/powerpc/kernel/cputable.o)
   >>> referenced by cputable.c:44 (arch/powerpc/kernel/cputable.c:44)
   >>>               arch/powerpc/kernel/cputable.o:(set_cur_cpu_spec) in archive vmlinux.a

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2025-03-21 21:48 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=202503220548.ryFEa8Fa-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=xiyou.wangcong@gmail.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