Re: [PATCH -tip v8 3/4] irq: Make irqentry text section unconditional

From: kbuild test robot
Date: Wed Aug 02 2017 - 15:12:57 EST


Hi Masami,

[auto build test ERROR on tip/x86/core]
[also build test ERROR on v4.13-rc3 next-20170802]
[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/Masami-Hiramatsu/kprobes-related-bugfix/20170731-031202
config: cris-etraxfs_defconfig (attached as .config)
compiler: cris-linux-gcc (GCC) 6.2.0
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=cris

All errors (new ones prefixed by >>):

>> arch/cris/arch-v32/mach-fs/arbiter.c:161:13: error: conflicting types for '_stext'
extern char _stext, _etext;
^~~~~~
In file included from ./arch/cris/include/generated/asm/sections.h:1:0,
from include/linux/interrupt.h:21,
from arch/cris/arch-v32/mach-fs/arbiter.c:17:
include/asm-generic/sections.h:33:22: note: previous declaration of '_stext' was here
extern char _text[], _stext[], _etext[];
^~~~~~
>> arch/cris/arch-v32/mach-fs/arbiter.c:161:21: error: conflicting types for '_etext'
extern char _stext, _etext;
^~~~~~
In file included from ./arch/cris/include/generated/asm/sections.h:1:0,
from include/linux/interrupt.h:21,
from arch/cris/arch-v32/mach-fs/arbiter.c:17:
include/asm-generic/sections.h:33:32: note: previous declaration of '_etext' was here
extern char _text[], _stext[], _etext[];
^~~~~~

vim +/_stext +161 arch/cris/arch-v32/mach-fs/arbiter.c

035e111f Jesper Nilsson 2007-11-29 160
035e111f Jesper Nilsson 2007-11-29 @161 extern char _stext, _etext;
035e111f Jesper Nilsson 2007-11-29 162

:::::: The code at line 161 was first introduced by commit
:::::: 035e111f9a9b29843bc899f03d56f19d94bebb53 CRIS v32: Add new machine dependent files for Etrax-FS and Artpec-3.

:::::: TO: Jesper Nilsson <jespern@xxxxxxxxxxxxxxxxx>
:::::: CC: Jesper Nilsson <jesper.nilsson@xxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip