All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexey.Brodkin@synopsys.com (Alexey Brodkin)
To: linux-snps-arc@lists.infradead.org
Subject: Build regressions/improvements in v4.9-rc1
Date: Wed, 19 Oct 2016 12:23:12 +0000	[thread overview]
Message-ID: <1476879762.26312.12.camel@synopsys.com> (raw)
In-Reply-To: <87inso4kxb.fsf@concordia.ellerman.id.au>

Hi Michael,

On Wed, 2016-10-19@22:50 +1100, Michael Ellerman wrote:
> Vineet Gupta <Vineet.Gupta1 at synopsys.com> writes:
> > 
> > On 10/17/2016 02:02 PM, Arnd Bergmann wrote:
> > > 
> > > On Monday, October 17, 2016 9:59:24 AM CEST Vineet Gupta wrote:
> > > > 
> > > > On 10/17/2016 12:34 AM, Geert Uytterhoeven wrote:
> > > > > 
> > > > > > 
> > > > > > 48 error regressions:
> > > > > > > 
> > > > > > > ? + /home/kisskb/slave/src/arch/arc/include/asm/atomic.h: Error: bad instruction `llockd r2,[r0]':??=> 476
> > > > > > > ? + /home/kisskb/slave/src/arch/arc/include/asm/atomic.h: Error: bad instruction `llockd r2,[r13]':??=>
> > > > > > > 475
> > > > 
> > > > [snip...]
> > > > 
> > > > > 
> > > > > > 
> > > > > > > 
> > > > > > > ? + /home/kisskb/slave/src/arch/arc/include/asm/atomic.h: Error: bad instruction `scondd r4,[r8]':??=> 516
> > > > > > > ? + /home/kisskb/slave/src/arch/arc/include/asm/atomic.h: Error: bad instruction `scondd r6,[r3]':??=> 478
> > > > > arcv2/axs103_smp_defconfig
> > 
> > @Michael can I bother you to upgrade the tools or is this absolutely must for you.
> 
> Happy to, just short on time.
> 
> I tried building a new toolchain with buildroot, using the instructions
> from last time, but the resulting toolchain doesn't relocate, ie. it has
> hard-coded paths in it. Any ideas?

Hm... that's strange - it used to work but doesn't work with newer Buildroot...

Anyways if something very simple (i.e. with no extra libraries) works for you just go
ahead and grab pre-built image that Thomas Petazzoni builds.

That's the most recent one:
http://autobuild.buildroot.org/toolchains/tarballs/br-arcle-hs38-full-2016.08-613-ge98b4dd.tar.bz2

If I'm not mistaken Thomas runs some post-processing script to make these toolchains
relocatable.

Maybe Thomas may comment on that and even maybe will share his post-processing technique
so you'll be able to build your customized toolchain.

Regards,
Alexey

WARNING: multiple messages have this Message-ID (diff)
From: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
To: "mpe@ellerman.id.au" <mpe@ellerman.id.au>,
	"thomas.petazzoni@free-electrons.com" 
	<thomas.petazzoni@free-electrons.com>
Cc: "arnd@arndb.de" <arnd@arndb.de>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"peterz@infradead.org" <peterz@infradead.org>,
	"Vineet.Gupta1@synopsys.com" <Vineet.Gupta1@synopsys.com>,
	"geert@linux-m68k.org" <geert@linux-m68k.org>,
	"mmarek@suse.cz" <mmarek@suse.cz>,
	"linux-snps-arc@lists.infradead.org" 
	<linux-snps-arc@lists.infradead.org>
Subject: Re: Build regressions/improvements in v4.9-rc1
Date: Wed, 19 Oct 2016 12:23:12 +0000	[thread overview]
Message-ID: <1476879762.26312.12.camel@synopsys.com> (raw)
In-Reply-To: <87inso4kxb.fsf@concordia.ellerman.id.au>

Hi Michael,

On Wed, 2016-10-19 at 22:50 +1100, Michael Ellerman wrote:
> Vineet Gupta <Vineet.Gupta1@synopsys.com> writes:
> > 
> > On 10/17/2016 02:02 PM, Arnd Bergmann wrote:
> > > 
> > > On Monday, October 17, 2016 9:59:24 AM CEST Vineet Gupta wrote:
> > > > 
> > > > On 10/17/2016 12:34 AM, Geert Uytterhoeven wrote:
> > > > > 
> > > > > > 
> > > > > > 48 error regressions:
> > > > > > > 
> > > > > > >   + /home/kisskb/slave/src/arch/arc/include/asm/atomic.h: Error: bad instruction `llockd r2,[r0]':  => 476
> > > > > > >   + /home/kisskb/slave/src/arch/arc/include/asm/atomic.h: Error: bad instruction `llockd r2,[r13]':  =>
> > > > > > > 475
> > > > 
> > > > [snip...]
> > > > 
> > > > > 
> > > > > > 
> > > > > > > 
> > > > > > >   + /home/kisskb/slave/src/arch/arc/include/asm/atomic.h: Error: bad instruction `scondd r4,[r8]':  => 516
> > > > > > >   + /home/kisskb/slave/src/arch/arc/include/asm/atomic.h: Error: bad instruction `scondd r6,[r3]':  => 478
> > > > > arcv2/axs103_smp_defconfig
> > 
> > @Michael can I bother you to upgrade the tools or is this absolutely must for you.
> 
> Happy to, just short on time.
> 
> I tried building a new toolchain with buildroot, using the instructions
> from last time, but the resulting toolchain doesn't relocate, ie. it has
> hard-coded paths in it. Any ideas?

Hm... that's strange - it used to work but doesn't work with newer Buildroot...

Anyways if something very simple (i.e. with no extra libraries) works for you just go
ahead and grab pre-built image that Thomas Petazzoni builds.

That's the most recent one:
http://autobuild.buildroot.org/toolchains/tarballs/br-arcle-hs38-full-2016.08-613-ge98b4dd.tar.bz2

If I'm not mistaken Thomas runs some post-processing script to make these toolchains
relocatable.

Maybe Thomas may comment on that and even maybe will share his post-processing technique
so you'll be able to build your customized toolchain.

Regards,
Alexey

  reply	other threads:[~2016-10-19 12:23 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-17  7:21 Build regressions/improvements in v4.9-rc1 Geert Uytterhoeven
2016-10-17  7:34 ` Geert Uytterhoeven
2016-10-17  7:34   ` Geert Uytterhoeven
2016-10-17 16:59   ` Vineet Gupta
2016-10-17 16:59     ` Vineet Gupta
2016-10-17 21:02     ` Arnd Bergmann
2016-10-17 21:02       ` Arnd Bergmann
2016-10-17 22:37       ` Vineet Gupta
2016-10-17 22:37         ` Vineet Gupta
2016-10-19 11:50         ` Michael Ellerman
2016-10-19 11:50           ` Michael Ellerman
2016-10-19 12:23           ` Alexey Brodkin [this message]
2016-10-19 12:23             ` Alexey Brodkin
2016-10-19 20:32             ` Thomas Petazzoni
2016-10-19 20:32               ` Thomas Petazzoni
2016-10-26 23:56             ` Michael Ellerman
2016-10-26 23:56               ` Michael Ellerman
2016-10-27  7:07               ` Thomas Petazzoni
2016-10-27  7:07                 ` Thomas Petazzoni
2016-10-27  9:07                 ` Alexey Brodkin
2016-10-27  9:07                   ` Alexey Brodkin
2016-10-27  9:11                   ` Thomas Petazzoni
2016-10-27  9:11                     ` Thomas Petazzoni
2016-10-27  9:24                     ` Geert Uytterhoeven
2016-10-27  9:24                       ` Geert Uytterhoeven
2016-10-27  9:39                       ` Alexey Brodkin
2016-10-27  9:39                         ` Alexey Brodkin
2016-10-27 17:21                         ` Vineet Gupta
2016-10-27 17:21                           ` Vineet Gupta
2016-10-28 10:42                           ` Arnd Bergmann
2016-10-28 10:42                             ` Arnd Bergmann
2016-10-27  9:32                     ` Arnd Bergmann
2016-10-27  9:32                       ` Arnd Bergmann
2016-10-27 10:04                       ` Thomas Petazzoni
2016-10-27 10:04                         ` Thomas Petazzoni

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=1476879762.26312.12.camel@synopsys.com \
    --to=alexey.brodkin@synopsys.com \
    --cc=linux-snps-arc@lists.infradead.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.