[mmotm:master 121/157] arch/powerpc/kernel/module_64.c:463: undefined reference to `.elf64_apply_relocate_add'

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

 



tree:   git://git.cmpxchg.org/linux-mmotm.git master
head:   fe4cd888f71ef173e0e5a0f9dccc42904c0107f3
commit: bfc91c122c791863922ddfcbfef5e0028fde908c [121/157] powerpc: factor out relocation code from module_64.c to elf_util_64.c
config: powerpc-ps3_defconfig (attached as .config)
compiler: powerpc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout bfc91c122c791863922ddfcbfef5e0028fde908c
        # save the attached .config to linux build tree
        make.cross ARCH=powerpc 

All errors (new ones prefixed by >>):

   arch/powerpc/kernel/built-in.o: In function `apply_relocate_add':
>> arch/powerpc/kernel/module_64.c:463: undefined reference to `.elf64_apply_relocate_add'

vim +463 arch/powerpc/kernel/module_64.c

   457			 * .TOC. so don't fail it just for that. */
   458			if (sym)
   459				sym->st_value = my_r2(&me->arch.elf_info);
   460			me->arch.toc_fixed = true;
   461		}
   462	
 > 463		return elf64_apply_relocate_add(&me->arch.elf_info, strtab, symindex,
   464						relsec, me->name);
   465	}
   466	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


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