Hey all!
I want to compile a kernel derived from (https://github.com/beagleboard/linux/tree/4.1) with the standard arm gcc from ubuntu.
$ arm-linux-gnueabi-gcc-4.9 --version
arm-linux-gnueabi-gcc-4.9 (Ubuntu/Linaro 4.9.3-4ubuntu1) 4.9.3
But I get the following compile error:
arch/arm/mach-omap2/sleep33xx.S: Assembler messages:
arch/arm/mach-omap2/sleep33xx.S:39: Error: cannot use register index
with PC-relative addressing -- `str r0,wfi_flags'
arch/arm/mach-omap2/sleep33xx.S:203: Error: r13 not allowed here -- `adr
sp,temp_stack'
scripts/Makefile.build:294: recipe for target
'arch/arm/mach-omap2/sleep33xx.o' failed
make[1]: *** [arch/arm/mach-omap2/sleep33xx.o] Error 1
I'm not that good in assembler hacking. Can someone tell me what is going wrong here?
Here is the online git version:
https://github.com/beagleboard/linux/blob/4.1/arch/arm/mach-omap2/sleep33xx.S
Thanks for taking time!
Cheers,
Thilo