All of lore.kernel.org
 help / color / mirror / Atom feed
* [dax:xarray 2/6] {standard input}:211: Error: operand out of range (128 is not between -128 and 127)
@ 2019-11-08  4:50 kbuild test robot
  2019-11-08 15:49 ` ARC compiler not available Matthew Wilcox
  0 siblings, 1 reply; 5+ messages in thread
From: kbuild test robot @ 2019-11-08  4:50 UTC (permalink / raw)
  To: kbuild-all

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

tree:   git://git.infradead.org/users/willy/linux-dax.git xarray
head:   498b1f3c48d9d74d7c2902d9d97a7612a5af869c
commit: 5a74ac4c4a97bd8b7dba054304d598e2a882fea6 [2/6] idr: Fix idr_get_next_ul race with idr_remove
config: arc-defconfig (attached as .config)
compiler: arc-elf-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 5a74ac4c4a97bd8b7dba054304d598e2a882fea6
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=arc 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   {standard input}: Assembler messages:
>> {standard input}:211: Error: operand out of range (128 is not between -128 and 127)
   {standard input}:834: Error: operand out of range (128 is not between -128 and 127)

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 8876 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* ARC compiler not available
  2019-11-08  4:50 [dax:xarray 2/6] {standard input}:211: Error: operand out of range (128 is not between -128 and 127) kbuild test robot
@ 2019-11-08 15:49 ` Matthew Wilcox
  2019-11-10  6:00   ` Philip Li
  0 siblings, 1 reply; 5+ messages in thread
From: Matthew Wilcox @ 2019-11-08 15:49 UTC (permalink / raw)
  To: kbuild-all

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

On Fri, Nov 08, 2019 at 12:50:44PM +0800, kbuild test robot wrote:
> tree:   git://git.infradead.org/users/willy/linux-dax.git xarray
> head:   498b1f3c48d9d74d7c2902d9d97a7612a5af869c
> commit: 5a74ac4c4a97bd8b7dba054304d598e2a882fea6 [2/6] idr: Fix idr_get_next_ul race with idr_remove
> config: arc-defconfig (attached as .config)
> compiler: arc-elf-gcc (GCC) 7.4.0
> reproduce:
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         git checkout 5a74ac4c4a97bd8b7dba054304d598e2a882fea6
>         # save the attached .config to linux build tree
>         GCC_VERSION=7.4.0 make.cross ARCH=arc 

That doesn't work:

$ GCC_VERSION=7.4.0 make.cross ARCH=arc O=.build-arc
cd: received redirection to `https://download.01.org/0day-ci/cross-package/'
lftpget -c https://download.01.org/0day-ci/cross-package/./gcc-7.4.0-nolibc/x86_64-gcc-7.4.0-nolibc_sparc-linux.tar.xz
tar Jxf gcc-7.4.0-nolibc/x86_64-gcc-7.4.0-nolibc_sparc-linux.tar.xz -C /home/willy/0day
No cross compiler for arc

Why is it downloading sparc binaries instead of arc binaries?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ARC compiler not available
  2019-11-08 15:49 ` ARC compiler not available Matthew Wilcox
@ 2019-11-10  6:00   ` Philip Li
  2019-11-11 15:27     ` Matthew Wilcox
  0 siblings, 1 reply; 5+ messages in thread
From: Philip Li @ 2019-11-10  6:00 UTC (permalink / raw)
  To: kbuild-all

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

On Fri, Nov 08, 2019 at 07:49:48AM -0800, Matthew Wilcox wrote:
> On Fri, Nov 08, 2019 at 12:50:44PM +0800, kbuild test robot wrote:
> > tree:   git://git.infradead.org/users/willy/linux-dax.git xarray
> > head:   498b1f3c48d9d74d7c2902d9d97a7612a5af869c
> > commit: 5a74ac4c4a97bd8b7dba054304d598e2a882fea6 [2/6] idr: Fix idr_get_next_ul race with idr_remove
> > config: arc-defconfig (attached as .config)
> > compiler: arc-elf-gcc (GCC) 7.4.0
> > reproduce:
> >         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> >         chmod +x ~/bin/make.cross
> >         git checkout 5a74ac4c4a97bd8b7dba054304d598e2a882fea6
> >         # save the attached .config to linux build tree
> >         GCC_VERSION=7.4.0 make.cross ARCH=arc 
> 
> That doesn't work:
> 
> $ GCC_VERSION=7.4.0 make.cross ARCH=arc O=.build-arc
> cd: received redirection to `https://download.01.org/0day-ci/cross-package/'
> lftpget -c https://download.01.org/0day-ci/cross-package/./gcc-7.4.0-nolibc/x86_64-gcc-7.4.0-nolibc_sparc-linux.tar.xz
> tar Jxf gcc-7.4.0-nolibc/x86_64-gcc-7.4.0-nolibc_sparc-linux.tar.xz -C /home/willy/0day
> No cross compiler for arc
> 
> Why is it downloading sparc binaries instead of arc binaries?
sorry, this is a bug in make.cross for arc compiler. Can you re-get the make.cross file
and try again? It should be able download the right compiler

$ GCC_VERSION=7.4.0 ./make.cross ARCH=arc
cd: received redirection to `https://download.01.org/0day-ci/cross-package/'
lftpget -c https://download.01.org/0day-ci/cross-package/./gcc-7.4.0-nolibc/x86_64-gcc-7.4.0-nolibc_arc-elf.tar.xz

Thanks

> _______________________________________________
> kbuild-all mailing list -- kbuild-all(a)lists.01.org
> To unsubscribe send an email to kbuild-all-leave(a)lists.01.org

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ARC compiler not available
  2019-11-10  6:00   ` Philip Li
@ 2019-11-11 15:27     ` Matthew Wilcox
  2019-11-11 23:09       ` Philip Li
  0 siblings, 1 reply; 5+ messages in thread
From: Matthew Wilcox @ 2019-11-11 15:27 UTC (permalink / raw)
  To: kbuild-all

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

On Sun, Nov 10, 2019 at 02:00:05PM +0800, Philip Li wrote:
> On Fri, Nov 08, 2019 at 07:49:48AM -0800, Matthew Wilcox wrote:
> > On Fri, Nov 08, 2019 at 12:50:44PM +0800, kbuild test robot wrote:
> > > tree:   git://git.infradead.org/users/willy/linux-dax.git xarray
> > > head:   498b1f3c48d9d74d7c2902d9d97a7612a5af869c
> > > commit: 5a74ac4c4a97bd8b7dba054304d598e2a882fea6 [2/6] idr: Fix idr_get_next_ul race with idr_remove
> > > config: arc-defconfig (attached as .config)
> > > compiler: arc-elf-gcc (GCC) 7.4.0
> > > reproduce:
> > >         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> > >         chmod +x ~/bin/make.cross
> > >         git checkout 5a74ac4c4a97bd8b7dba054304d598e2a882fea6
> > >         # save the attached .config to linux build tree
> > >         GCC_VERSION=7.4.0 make.cross ARCH=arc 
> > 
> > That doesn't work:
> > 
> > $ GCC_VERSION=7.4.0 make.cross ARCH=arc O=.build-arc
> > cd: received redirection to `https://download.01.org/0day-ci/cross-package/'
> > lftpget -c https://download.01.org/0day-ci/cross-package/./gcc-7.4.0-nolibc/x86_64-gcc-7.4.0-nolibc_sparc-linux.tar.xz
> > tar Jxf gcc-7.4.0-nolibc/x86_64-gcc-7.4.0-nolibc_sparc-linux.tar.xz -C /home/willy/0day
> > No cross compiler for arc
> > 
> > Why is it downloading sparc binaries instead of arc binaries?
> sorry, this is a bug in make.cross for arc compiler. Can you re-get the make.cross file
> and try again? It should be able download the right compiler

Yes, this now works for me.

I can't quite decipher the error messages from the assembler, but it
seems like this is a bug in gcc-7.4.0 producing invalid assembler input.
It's fixed in gcc-8.2.0.  We could file a gcc bug about this, but I don't
know if it's worthwhile.  Maybe just stop testing with gcc-7.4.0 on arc?

Thanks!

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ARC compiler not available
  2019-11-11 15:27     ` Matthew Wilcox
@ 2019-11-11 23:09       ` Philip Li
  0 siblings, 0 replies; 5+ messages in thread
From: Philip Li @ 2019-11-11 23:09 UTC (permalink / raw)
  To: kbuild-all

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

On Mon, Nov 11, 2019 at 07:27:58AM -0800, Matthew Wilcox wrote:
> On Sun, Nov 10, 2019 at 02:00:05PM +0800, Philip Li wrote:
> > On Fri, Nov 08, 2019 at 07:49:48AM -0800, Matthew Wilcox wrote:
> > > On Fri, Nov 08, 2019 at 12:50:44PM +0800, kbuild test robot wrote:
> > > > tree:   git://git.infradead.org/users/willy/linux-dax.git xarray
> > > > head:   498b1f3c48d9d74d7c2902d9d97a7612a5af869c
> > > > commit: 5a74ac4c4a97bd8b7dba054304d598e2a882fea6 [2/6] idr: Fix idr_get_next_ul race with idr_remove
> > > > config: arc-defconfig (attached as .config)
> > > > compiler: arc-elf-gcc (GCC) 7.4.0
> > > > reproduce:
> > > >         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> > > >         chmod +x ~/bin/make.cross
> > > >         git checkout 5a74ac4c4a97bd8b7dba054304d598e2a882fea6
> > > >         # save the attached .config to linux build tree
> > > >         GCC_VERSION=7.4.0 make.cross ARCH=arc 
> > > 
> > > That doesn't work:
> > > 
> > > $ GCC_VERSION=7.4.0 make.cross ARCH=arc O=.build-arc
> > > cd: received redirection to `https://download.01.org/0day-ci/cross-package/'
> > > lftpget -c https://download.01.org/0day-ci/cross-package/./gcc-7.4.0-nolibc/x86_64-gcc-7.4.0-nolibc_sparc-linux.tar.xz
> > > tar Jxf gcc-7.4.0-nolibc/x86_64-gcc-7.4.0-nolibc_sparc-linux.tar.xz -C /home/willy/0day
> > > No cross compiler for arc
> > > 
> > > Why is it downloading sparc binaries instead of arc binaries?
> > sorry, this is a bug in make.cross for arc compiler. Can you re-get the make.cross file
> > and try again? It should be able download the right compiler
> 
> Yes, this now works for me.
> 
> I can't quite decipher the error messages from the assembler, but it
> seems like this is a bug in gcc-7.4.0 producing invalid assembler input.
> It's fixed in gcc-8.2.0.  We could file a gcc bug about this, but I don't
> know if it's worthwhile.  Maybe just stop testing with gcc-7.4.0 on arc?
Thanks for the info, we will add this to plan to upgrade gcc for cross
compiling.

> 
> Thanks!

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-11-11 23:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-08  4:50 [dax:xarray 2/6] {standard input}:211: Error: operand out of range (128 is not between -128 and 127) kbuild test robot
2019-11-08 15:49 ` ARC compiler not available Matthew Wilcox
2019-11-10  6:00   ` Philip Li
2019-11-11 15:27     ` Matthew Wilcox
2019-11-11 23:09       ` Philip Li

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.