On Mon, Apr 18, 2011 at 12:00:02PM -0700, Andy Doan wrote:
On 04/18/2011 11:54 AM, AJ ONeal wrote:
I just did `git checkout` for linaro/linux-2.6.38 and tried compiling with CROSS_COMPILE=arm-linux-gnueabi- and I get this smc #0 error.
The bug filed here is marked as fixed, but it's still broken for me: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/669912
I ran into this error once before, but I can't find my notes for it.
I think the solution was to append something like $(sec) on a line in the Makefile. Any ideas?
I think you have the right idea. However, my version of arch/arm/mach-omap2/Makefile includes it:
AFLAGS_omap-headsmp.o :=-Wa,-march=armv7-a$(plus_sec)
Does your version have this?
There's a discussion on alkml indicating that even with that change, some people may still be getting problems --- I've asked for more info on the actual options getting passed to the tools.
See http://lists.arm.linux.org.uk/lurker/message/20110418.155129.2a809c41.en.htm...
Cheers ---Dave