Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1699300

Re: [PATCH -tip v7 1/2] irq: Make irqentry text section unconditional

Path csiph.com!goblin3!goblin2!goblin.stu.neva.ru!news.unit0.net!news.panservice.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH -tip v7 1/2] irq: Make irqentry text section unconditional
Date Sat, 29 Jul 2017 13:20:01 +0200
Message-ID <u8xWN-1rm-11@gated-at.bofh.it> (permalink)
References <u8e7M-4Ks-15@gated-at.bofh.it>
X-Extloop1 1
X-Ironport-Av E=Sophos;i="5.40,430,1496127600"; d="gz'50?scan'50,208,50";a="130944319"
MIME-Version 1.0
Content-Type multipart/mixed; boundary="IS0zKkzwUGydFO0o"
Content-Disposition inline
User-Agent Mutt/1.5.23 (2014-03-12)
X-Sa-Exim-Connect-IP <locally generated>
X-Sa-Exim-Mail-From fengguang.wu@intel.com
X-Sa-Exim-Scanned No (on bee); SAEximRunCond expanded to false
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 303
Organization linux.* mail to news gateway
X-Original-Cc kbuild-all@01.org, Ingo Molnar <mingo@kernel.org>, Thomas Gleixner <tglx@linutronix.de>, Francis Deslauriers <francis.deslauriers@efficios.com>, mathieu.desnoyers@efficios.com, Ingo Molnar <mingo@redhat.com>, "H . Peter Anvin" <hpa@zytor.com>, x86@kernel.org, Masami Hiramatsu <mhiramat@kernel.org>, Ananth N Mavinakayanahalli <ananth@in.ibm.com>, Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>, "David S . Miller" <davem@davemloft.net>, linux-kernel@vger.kernel.org
X-Original-Date Sat, 29 Jul 2017 19:14:12 +0800
X-Original-Message-ID <201707291952.j4GOJWo7%fengguang.wu@intel.com>
X-Original-References <150125070083.10811.5869422852047711786.stgit@devbox>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1699300

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Masami,

[auto build test ERROR on tip/x86/core]
[also build test ERROR on v4.13-rc2 next-20170728]
[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/irq-Make-irqentry-text-section-unconditional/20170729-170710
config: xtensa-common_defconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.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=xtensa 

All errors (new ones prefixed by >>):

>> arch/xtensa/kernel/setup.c:276:13: error: conflicting types for '_end'
    extern char _end;
                ^
   In file included from ./arch/xtensa/include/generated/asm/sections.h:1:0,
                    from include/linux/interrupt.h:21,
                    from include/linux/pci.h:31,
                    from arch/xtensa/include/asm/platform.h:15,
                    from arch/xtensa/kernel/setup.c:43:
   include/asm-generic/sections.h:39:13: note: previous declaration of '_end' was here
    extern char _end[];
                ^
>> arch/xtensa/kernel/setup.c:277:13: error: conflicting types for '_stext'
    extern char _stext;
                ^
   In file included from ./arch/xtensa/include/generated/asm/sections.h:1:0,
                    from include/linux/interrupt.h:21,
                    from include/linux/pci.h:31,
                    from arch/xtensa/include/asm/platform.h:15,
                    from arch/xtensa/kernel/setup.c:43:
   include/asm-generic/sections.h:33:22: note: previous declaration of '_stext' was here
    extern char _text[], _stext[], _etext[];
                         ^

vim +/_stext +277 arch/xtensa/kernel/setup.c

5a0015d62 Chris Zankel  2005-06-23  271  
5a0015d62 Chris Zankel  2005-06-23  272  /*
5a0015d62 Chris Zankel  2005-06-23  273   * Initialize system. Setup memory and reserve regions.
5a0015d62 Chris Zankel  2005-06-23  274   */
5a0015d62 Chris Zankel  2005-06-23  275  
5a0015d62 Chris Zankel  2005-06-23 @276  extern char _end;
5a0015d62 Chris Zankel  2005-06-23 @277  extern char _stext;
5a0015d62 Chris Zankel  2005-06-23  278  extern char _WindowVectors_text_start;
5a0015d62 Chris Zankel  2005-06-23  279  extern char _WindowVectors_text_end;
5a0015d62 Chris Zankel  2005-06-23  280  extern char _DebugInterruptVector_literal_start;
5a0015d62 Chris Zankel  2005-06-23  281  extern char _DebugInterruptVector_text_end;
5a0015d62 Chris Zankel  2005-06-23  282  extern char _KernelExceptionVector_literal_start;
5a0015d62 Chris Zankel  2005-06-23  283  extern char _KernelExceptionVector_text_end;
5a0015d62 Chris Zankel  2005-06-23  284  extern char _UserExceptionVector_literal_start;
5a0015d62 Chris Zankel  2005-06-23  285  extern char _UserExceptionVector_text_end;
5a0015d62 Chris Zankel  2005-06-23  286  extern char _DoubleExceptionVector_literal_start;
5a0015d62 Chris Zankel  2005-06-23  287  extern char _DoubleExceptionVector_text_end;
2d1c645cc Marc Gauthier 2013-01-05  288  #if XCHAL_EXCM_LEVEL >= 2
2d1c645cc Marc Gauthier 2013-01-05  289  extern char _Level2InterruptVector_text_start;
2d1c645cc Marc Gauthier 2013-01-05  290  extern char _Level2InterruptVector_text_end;
2d1c645cc Marc Gauthier 2013-01-05  291  #endif
2d1c645cc Marc Gauthier 2013-01-05  292  #if XCHAL_EXCM_LEVEL >= 3
2d1c645cc Marc Gauthier 2013-01-05  293  extern char _Level3InterruptVector_text_start;
2d1c645cc Marc Gauthier 2013-01-05  294  extern char _Level3InterruptVector_text_end;
2d1c645cc Marc Gauthier 2013-01-05  295  #endif
2d1c645cc Marc Gauthier 2013-01-05  296  #if XCHAL_EXCM_LEVEL >= 4
2d1c645cc Marc Gauthier 2013-01-05  297  extern char _Level4InterruptVector_text_start;
2d1c645cc Marc Gauthier 2013-01-05  298  extern char _Level4InterruptVector_text_end;
2d1c645cc Marc Gauthier 2013-01-05  299  #endif
2d1c645cc Marc Gauthier 2013-01-05  300  #if XCHAL_EXCM_LEVEL >= 5
2d1c645cc Marc Gauthier 2013-01-05  301  extern char _Level5InterruptVector_text_start;
2d1c645cc Marc Gauthier 2013-01-05  302  extern char _Level5InterruptVector_text_end;
2d1c645cc Marc Gauthier 2013-01-05  303  #endif
2d1c645cc Marc Gauthier 2013-01-05  304  #if XCHAL_EXCM_LEVEL >= 6
2d1c645cc Marc Gauthier 2013-01-05  305  extern char _Level6InterruptVector_text_start;
2d1c645cc Marc Gauthier 2013-01-05  306  extern char _Level6InterruptVector_text_end;
2d1c645cc Marc Gauthier 2013-01-05  307  #endif
ab45fb145 Max Filippov  2015-10-16  308  #ifdef CONFIG_SMP
ab45fb145 Max Filippov  2015-10-16  309  extern char _SecondaryResetVector_text_start;
ab45fb145 Max Filippov  2015-10-16  310  extern char _SecondaryResetVector_text_end;
ab45fb145 Max Filippov  2015-10-16  311  #endif
5a0015d62 Chris Zankel  2005-06-23  312  

:::::: The code at line 277 was first introduced by commit
:::::: 5a0015d62668e64c8b6e02e360fbbea121bfd5e6 [PATCH] xtensa: Architecture support for Tensilica Xtensa Part 3

:::::: TO: Chris Zankel <czankel@tensilica.com>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

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

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH -tip v7 1/2] irq: Make irqentry text section unconditional Masami Hiramatsu <mhiramat@kernel.org> - 2017-07-28 16:10 +0200
  Re: [PATCH -tip v7 1/2] irq: Make irqentry text section unconditional kbuild test robot <lkp@intel.com> - 2017-07-29 13:20 +0200
    Re: [PATCH -tip v7 1/2] irq: Make irqentry text section  unconditional Masami Hiramatsu <mhiramat@kernel.org> - 2017-07-30 05:10 +0200
  Re: [PATCH -tip v7 1/2] irq: Make irqentry text section unconditional kbuild test robot <lkp@intel.com> - 2017-07-29 13:20 +0200

csiph-web