Subject: Build error in torvalds kernel 3.11 for omap2plus

From: [email-masked] (Guenter Roeck)
Date: Sun, 08 Sep 2013 10:16:14 -0700

On 09/08/2013 02:02 AM, Russell King - ARM Linux wrote:
> On Sun, Sep 08, 2013 at 11:34:10AM +0530, Anil Kumar wrote:
>> scripts/kconfig/conf --silentoldconfig Kconfig
>>    CHK     include/generated/uapi/linux/version.h
>>    CHK     include/generated/utsrelease.h
>> make[1]: `include/generated/mach-types.h' is up to date.
>>    CALL    scripts/checksyscalls.sh
>>    CHK     include/generated/compile.h
>>    AS      arch/arm/mm/cache-v7.o
>> arch/arm/mm/cache-v7.S: Assembler messages:
>> arch/arm/mm/cache-v7.S:285: Error: garbage following instruction -- `dsb ishst'
>> arch/arm/mm/cache-v7.S:297: Error: garbage following instruction -- `dsb ishst'
>> make[1]: *** [arch/arm/mm/cache-v7.o] Error 1
>> make: *** [arch/arm/mm] Error 2
>
> You need a later binutils for these instructions - 2.22 works just fine,
> even with gcc 4.5.x.

Since we are at it:

Build reference: v3.11-7887-gb409624

Building arm:defconfig ... passed
Building arm:allmodconfig ... failed
--------------
Error log:
arch/arm/mach-cns3xxx/pcie.c: In function 'cns3xxx_pcie_hw_init':
arch/arm/mach-cns3xxx/pcie.c:350:1: warning: the frame size of 1064 bytes is larger than 1024 bytes [-Wframe-larger-than=]
arch/arm/kernel/return_address.c:63:2: warning: #warning "TODO: return_address should use unwind tables" [-Wcpp]
arch/arm/kernel/return_address.c:63:2: warning: #warning "TODO: return_address should use unwind tables" [-Wcpp]
/tmp/cce439dZ.s: Assembler messages:
/tmp/cce439dZ.s:506: Error: selected processor does not support ARM mode `isb '
/tmp/cce439dZ.s:512: Error: selected processor does not support ARM mode `isb '
/tmp/cce439dZ.s:513: Error: selected processor does not support ARM mode `dsb '
/tmp/cce439dZ.s:583: Error: selected processor does not support ARM mode `isb '
/tmp/cce439dZ.s:589: Error: selected processor does not support ARM mode `isb '
/tmp/cce439dZ.s:590: Error: selected processor does not support ARM mode `dsb '
make[1]: *** [arch/arm/mach-vexpress/dcscb.o] Error 1
make: *** [arch/arm/mach-vexpress] Error 2
make: *** Waiting for unfinished jobs....
--------------

Any solution for this one ? omap2plus passes for me.

gcc version used is "arm-poky-linux-gnueabi-gcc (GCC) 4.7.2" from poky 1.3.

Thanks,
Guenter