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

From: Masami Hiramatsu
Date: Wed Aug 02 2017 - 22:17:40 EST


On Thu, 3 Aug 2017 01:35:11 +0800
kbuild test robot <lkp@xxxxxxxxx> wrote:

> 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-artpec_3_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-a3/arbiter.c:230: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-a3/arbiter.c:44:
> include/asm-generic/sections.h:33:22: note: previous declaration of '_stext' was here
> extern char _text[], _stext[], _etext[];
> ^~~~~~
> >> arch/cris/arch-v32/mach-a3/arbiter.c:230: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-a3/arbiter.c:44:
> include/asm-generic/sections.h:33:32: note: previous declaration of '_etext' was here
> extern char _text[], _stext[], _etext[];
> ^~~~~~

OK, I'll add a fix for cris.

Thanks,

>
> vim +/_stext +230 arch/cris/arch-v32/mach-a3/arbiter.c
>
> 035e111f Jesper Nilsson 2007-11-29 229
> 035e111f Jesper Nilsson 2007-11-29 @230 extern char _stext, _etext;
> 035e111f Jesper Nilsson 2007-11-29 231
>
> :::::: The code at line 230 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


--
Masami Hiramatsu <mhiramat@xxxxxxxxxx>