[linux-next:master 6009/6010] vmscan.c:(.text+0x6118): dangerous relocation: unsupported relocation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   9ed46da14b9b9b2ad4edb3b0c545b6dbe5c00d39
commit: 60872a66c0e59515ec40ac418b2320942173cb11 [6009/6010] fixup for "mm: swap: introduce swap_free_nr() for batched swap_free()"
config: arm64-randconfig-r034-20211222 (https://download.01.org/0day-ci/archive/20240415/202404151057.8GwgSUrU-lkp@xxxxxxxxx/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240415/202404151057.8GwgSUrU-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202404151057.8GwgSUrU-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   aarch64-linux-ld: mm/vmscan.o: in function `shrink_folio_list':
   vmscan.c:(.text+0x6118): undefined reference to `mthp_stats'
   aarch64-linux-ld: mm/vmscan.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `mthp_stats' which may bind externally can not be used when making a shared object; recompile with -fPIC
>> vmscan.c:(.text+0x6118): dangerous relocation: unsupported relocation
>> aarch64-linux-ld: vmscan.c:(.text+0x6120): undefined reference to `mthp_stats'
   aarch64-linux-ld: mm/memory.o: in function `alloc_anon_folio':
   memory.c:(.text+0xb238): undefined reference to `mthp_stats'
   aarch64-linux-ld: mm/memory.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `mthp_stats' which may bind externally can not be used when making a shared object; recompile with -fPIC
   memory.c:(.text+0xb238): dangerous relocation: unsupported relocation
>> aarch64-linux-ld: memory.c:(.text+0xb438): undefined reference to `mthp_stats'
   aarch64-linux-ld: memory.c:(.text+0xb4d0): undefined reference to `mthp_stats'
   aarch64-linux-ld: mm/memory.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `mthp_stats' which may bind externally can not be used when making a shared object; recompile with -fPIC
   memory.c:(.text+0xb4d0): dangerous relocation: unsupported relocation
   aarch64-linux-ld: mm/memory.o:memory.c:(.text+0xb4dc): more undefined references to `mthp_stats' follow
   aarch64-linux-ld: mm/huge_memory.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `mthp_stats' which may bind externally can not be used when making a shared object; recompile with -fPIC
   mm/huge_memory.o: in function `do_huge_pmd_anonymous_page':
>> huge_memory.c:(.text+0x3780): dangerous relocation: unsupported relocation
   aarch64-linux-ld: mm/huge_memory.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `mthp_stats' which may bind externally can not be used when making a shared object; recompile with -fPIC
   huge_memory.c:(.text+0x3990): dangerous relocation: unsupported relocation

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux