[PATCH 3/5] powerpc/64: do not link crtsaveres.o in boot

Nicholas Piggin npiggin at gmail.com
Sat May 13 01:20:34 AEST 2017


On Fri, 12 May 2017 22:19:29 +0800
kbuild test robot <lkp at intel.com> wrote:

> Hi Nicholas,
> 
> [auto build test ERROR on next-20170511]
> [also build test ERROR on v4.11]
> [cannot apply to powerpc/next v4.9-rc8 v4.9-rc7 v4.9-rc6]
> [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
> 
> url:    https://github.com/0day-ci/linux/commits/Nicholas-Piggin/Register-save-restore-function-build-improvements/20170512-075435
> config: powerpc-defconfig (attached as .config)
> compiler: powerpc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
> reproduce:
>         wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # save the attached .config to linux build tree
>         make.cross ARCH=powerpc 
> 
> All errors (new ones prefixed by >>):
> 
>    arch/powerpc/boot/of.o: In function `of_try_claim':
> >> of.c:(.text+0x88): undefined reference to `_restgpr_28_x'  

I didn't account for PPC64 && !PPC64_BOOT_WRAPPER case there. Will fix.



More information about the Linuxppc-dev mailing list