Build failure in linux mainline when building arcv2 images
Vineet Gupta
vgupta at synopsys.com
Thu Jul 28 22:20:12 PDT 2016
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.
Thx,
-Vineet
More information about the linux-snps-arc
mailing list