[poky] Third party toolchain, kernel, bootloader

Robert Berger gmane at reliableembeddedsystems.com
Mon May 9 13:21:45 PDT 2011


Hi Koen,

On 05/09/2011 08:57 PM, Koen Kooi wrote:
>>  CC      arch/arm/kernel/sysfs_v7.o
>> /tmp/ccFfYvGD.s: Assembler messages:
>> /tmp/ccFfYvGD.s:264: Error: selected processor does not support ARM mode
>> `smc #0'
>> /tmp/ccFfYvGD.s:306: Error: selected processor does not support ARM mode
>> `smc #0'
>> make[1]: *** [arch/arm/kernel/sysfs_v7.o] Error 1
>> make: *** [arch/arm/kernel] Error 2
>> make: *** Waiting for unfinished jobs....
> 
> That's a 'feature' of binutils 2.21, either switch to 2.20 or do something like http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/meta-texasinstruments/commit/?id=579d8efb3eb25b114de2640d98a511893d2f4841

I tried something like this in /arch/arm/kernel/Makefile:

plus_sec := $(call as-instr,.arch_extension sec,+sec)
AFLAGS_sysfs_v7.o :=-Wa,-march=armv7-a$(plus_sec)

... but it's not being picked up.

With V=1 I can not see what's passed to the assembler, only the compiler.

Regards,

Robert


..."What I look forward to is continued immaturity followed by death." -
Dave Barry

My public pgp key is available at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1





More information about the poky mailing list