Re: arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'

From: Philip Li
Date: Mon Apr 18 2016 - 21:40:42 EST


On Mon, Apr 18, 2016 at 06:52:57PM +0300, Max Filippov wrote:
> Hi Fengguang,
>
> On Mon, Apr 18, 2016 at 6:29 PM, kbuild test robot
> <fengguang.wu@xxxxxxxxx> wrote:
> > FYI, the error/warning still remains.
> >
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head: c3b46c73264b03000d1e18b22f5caf63332547c9
> > commit: 2c684d892bb2ee31cc48f4a8b91e86a0f15e82f9 xtensa: add Three Core HiFi-2 MX Variant.
> > date: 5 weeks ago
> > config: xtensa-smp_lx200_defconfig (attached as .config)
> > 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
> > git checkout 2c684d892bb2ee31cc48f4a8b91e86a0f15e82f9
> > # save the attached .config to linux build tree
> > make.cross ARCH=xtensa
> >
> > All errors (new ones prefixed by >>):
> >
> > arch/xtensa/include/asm/processor.h: Assembler messages:
> >>> arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'
> >>> arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'
> >>> arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'
>
> As I said before these are not errors in the linux code, that's
> a result of using a compiler not configured for this specific xtensa core.
>
sorry for the noise Max, let me follow up this in early next week.

> How can I help to fix it?
>
> --
> Thanks.
> -- Max
>