Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1452546

Re: Build failure in linux mainline when building arcv2 images

From Vineet Gupta <Vineet.Gupta1@synopsys.com>
Newsgroups linux.kernel
Subject Re: Build failure in linux mainline when building arcv2 images
Date 2016-07-29 22:10 +0200
Message-ID <s0mgx-Yp-13@gated-at.bofh.it> (permalink)
References <s06EO-7sn-5@gated-at.bofh.it> <s08wV-mF-1@gated-at.bofh.it> <s0gkN-5iX-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 07/29/2016 06:43 AM, Guenter Roeck wrote:
> On 07/28/2016 10:20 PM, Vineet Gupta wrote:
>> Hi Guenter,
>>
>> On 07/28/2016 08:23 PM, Guenter Roeck wrote:
>>> Hi Vineet,
>>>
>>> Mainline fails to build arcv2 images with the following error.
>>>
>>> {standard input}: Assembler messages:
>>> {standard input}:19174: Error: Instruction with long immediate data in delay slot
>>> make[2]: *** [block/cfq-iosched.o] Error 1
>>>
>>> Bisect points to commit 9a7f38c42c2 ("cfq-iosched: Convert from jiffies to
>>> nanoseconds"),
>>> but I don't really hold it responsible. It looks more like a compiler / binutils
>>> problem
>>> to me.
>>
>> Indeed - triggers a latent bug in ARC gcc !
>>
>>> I am using a toolchain built with buildroot (gcc 4.8.3). Is there a more recent
>>> toolchain
>>> than the one in buildroot available, by any chance ? If yes, where do I find it ?
>>
>> Yeah there's a 4.8.5 based one (referred to as GNU 2016.03) - will prebuilt
>> toolchain suffice or would you prefer building on your own. Prebuilt could be
>> found below.
>>
>> https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2016.03
>>
>>
>> For building on your own, Alexey can point to upstream buildroot which enabled
>> 2016.03 tools.
>>
> 
> Unfortunately, I get the same error when using "arc-linux-gcc.br_real (Buildroot
> 2016.05) 4.8.5".

Weird - I don't see this when building mainline of now using prebuilt 2016.03
tools on github . I'm building axs103_smp_defconfig.

What exact buildroot commit did u use to build your tools BTW - I can try and
replicate that here !

Thx,
-Vineet

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Build failure in linux mainline when building arcv2 images Guenter Roeck <linux@roeck-us.net> - 2016-07-29 05:30 +0200
  Re: Build failure in linux mainline when building arcv2 images Vineet Gupta <vgupta@synopsys.com> - 2016-07-29 07:30 +0200
    Re: Build failure in linux mainline when building arcv2 images Guenter Roeck <linux@roeck-us.net> - 2016-07-29 15:50 +0200
      Re: Build failure in linux mainline when building arcv2 images Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2016-07-29 22:10 +0200
        Re: Build failure in linux mainline when building arcv2 images Guenter Roeck <linux@roeck-us.net> - 2016-07-29 23:50 +0200
          Re: Build failure in linux mainline when building arcv2 images Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2016-07-30 00:50 +0200
            Re: Build failure in linux mainline when building arcv2 images Guenter Roeck <linux@roeck-us.net> - 2016-07-30 06:30 +0200
              Re: Build failure in linux mainline when building arcv2 images Alexey Brodkin <Alexey.Brodkin@synopsys.com> - 2016-08-01 12:00 +0200

csiph-web