All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philip Li <philip.li@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: ARC compiler not available
Date: Tue, 12 Nov 2019 07:09:23 +0800	[thread overview]
Message-ID: <20191111230923.GA22886@intel.com> (raw)
In-Reply-To: <20191111152758.GA28550@bombadil.infradead.org>

[-- 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!

      reply	other threads:[~2019-11-11 23:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191111230923.GA22886@intel.com \
    --to=philip.li@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.