2013-09-08 06:04:12

by Anil Kumar

[permalink] [raw]
Subject: Build error in torvalds kernel 3.11 for omap2plus

Hi All,

I am getting below build error in torvalds kernel 3.11 for omap2plus.


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

Thanks
Anil


2013-09-08 09:03:15

by Russell King - ARM Linux

[permalink] [raw]
Subject: Re: Build error in torvalds kernel 3.11 for omap2plus

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.