Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S943252AbcJSOuJ (ORCPT ); Wed, 19 Oct 2016 10:50:09 -0400 Received: from us01smtprelay-2.synopsys.com ([198.182.47.9]:39121 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S943236AbcJSOuC (ORCPT ); Wed, 19 Oct 2016 10:50:02 -0400 From: Alexey Brodkin To: "mpe@ellerman.id.au" , "thomas.petazzoni@free-electrons.com" CC: "arnd@arndb.de" , "linux-kernel@vger.kernel.org" , "peterz@infradead.org" , "Vineet.Gupta1@synopsys.com" , "geert@linux-m68k.org" , "mmarek@suse.cz" , "linux-snps-arc@lists.infradead.org" Subject: Re: Build regressions/improvements in v4.9-rc1 Thread-Topic: Build regressions/improvements in v4.9-rc1 Thread-Index: AQHSKEkHFZ9uGrL1dEaSuXt0wjLoaqCsvYYAgABDywCAABrNAIACb88AgAAI9AA= Date: Wed, 19 Oct 2016 12:23:12 +0000 Message-ID: <1476879762.26312.12.camel@synopsys.com> References: <1476688913-15648-1-git-send-email-geert@linux-m68k.org> <00b16c44-79b8-43b8-6516-13c8bb92eb03@synopsys.com> <5541266.ySlPfDOezF@wuerfel> <9a0f80b3-adb3-36de-d59f-885ac29ea2e6@synopsys.com> <87inso4kxb.fsf@concordia.ellerman.id.au> In-Reply-To: <87inso4kxb.fsf@concordia.ellerman.id.au> Accept-Language: en-US, ru-RU Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.121.14.110] Content-Type: text/plain; charset="utf-8" Content-ID: <846D72CDFC6BF74AA62077359D9ECABA@internal.synopsys.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id u9JEoj4M017284 Content-Length: 1951 Lines: 51 Hi Michael, On Wed, 2016-10-19 at 22:50 +1100, Michael Ellerman wrote: > Vineet Gupta 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