Re: [PATCH 05/45] C++: Set compilation as C++ for .c files

kbuild test robot
2018-04-02T06:11:44Z

[-- Attachment #1: Type: text/plain, Size: 1339 bytes --]

Hi David,

I love your patch! Yet something to improve:

[auto build test ERROR on v4.16-rc7]
[cannot apply to linus/master tip/x86/core tip/locking/core v4.16 next-20180329]
[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/David-Howells/C-Convert-the-kernel-to-C/20180402-120344
config: i386-randconfig-x073-201813 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All error/warnings (new ones prefixed by >>):

CONFIG_CC_STACKPROTECTOR_AUTO: Compiler does not support any known stack-protector
>> cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
>> cc1: warning: command line option '-fpermissive' is valid for C++/ObjC++ but not for C
>> cc1: error: CPU you selected does not support x86-64 instruction set
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 #2: .config.gz --]
[-- Type: application/gzip, Size: 31736 bytes --]