Re: [PATCH] Fixes for compiling with clang

From: kbuild test robot
Date: Sat Nov 26 2016 - 01:35:35 EST


Hi Peter,

[auto build test ERROR on kbuild/for-next]
[also build test ERROR on v4.9-rc6 next-20161125]
[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/Peter-Foley/Fixes-for-compiling-with-clang/20161126-124017
base: https://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild.git for-next
config: avr32-atngw100_defconfig (attached as .config)
compiler: avr-gcc (GCC) 4.9.2
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
# save the attached .config to linux build tree
make.cross ARCH=avr32

All errors (new ones prefixed by >>):

>> /bin/sh: 0: Illegal option -
--
>> /bin/sh: 0: Illegal option -
kernel/time/Kconfig:155:warning: range is invalid
--
>> /bin/sh: 0: Illegal option -
kernel/time/Kconfig:155:warning: range is invalid
>> /bin/sh: 0: Illegal option -
avr-gcc: error: unrecognized command line option '-mno-pic'
avr-gcc: error: unrecognized command line option '-march=ap'
make[2]: *** [kernel/bounds.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [sub-make] Error 2

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

Attachment: .config.gz
Description: application/gzip