lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202511040818.lT806PAp-lkp@intel.com>
Date: Tue, 4 Nov 2025 08:25:43 +0800
From: kernel test robot <lkp@...el.com>
To: Varad Gautam <varadgautam@...gle.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
	Arnd Bergmann <arnd@...db.de>
Subject: ld.lld: error: relocation R_PPC_ADDR16_HI cannot be used against
 symbol 'abatron_pteptrs'; recompile with -fPIC

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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ