Re: [PATCH] kbuild: switch to thin archives

From: kbuild test robot
Date: Fri Jun 02 2017 - 16:57:50 EST


Hi Nicholas,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.12-rc3 next-20170602]
[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/kbuild-switch-to-thin-archives/20170603-025436
config: parisc-c3000_defconfig (attached as .config)
compiler: hppa-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=parisc

All errors (new ones prefixed by >>):

/usr/lib/gcc-cross/hppa-linux-gnu/6/libgcc.a(_ucmpdi2.o): In function `__ucmpdi2':
>> (.text+0x0): multiple definition of `__ucmpdi2'
arch/parisc/lib/ucmpdi2.o:(.text.__ucmpdi2+0x0): first defined here
/usr/lib/gcc-cross/hppa-linux-gnu/6/libgcc.a(fptr.o): In function `__canonicalize_funcptr_for_compare':
>> (.text+0x0): multiple definition of `__canonicalize_funcptr_for_compare'
arch/parisc/kernel/real2.o:(.text+0x278): first defined here
hppa-linux-gnu-ld: internal error ../../ld/ldlang.c 6366

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

Attachment: .config.gz
Description: application/gzip