BRoy98 / pandroid

Automatically exported from code.google.com/p/pandroid
0 stars 0 forks source link

Build error with Sourcery-G++-Lite (CodeSourcery compiler version Sourcery G++ Lite 2011.03-41 for ARM GNU/Linux gcc-4.5.2) #18

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

Affected Version:
git://git.omapzoom.org/kernel/omap.git kernel/android-2.6.35

What steps will reproduce the problem?

1. Download 
http://www.codesourcery.com/sgpp/lite/arm/portal/package8741/public/arm-none-lin
ux-gnueabi/arm-2011.03-41-arm-none-linux-gnueabi.bin
2. Install Sourcery G++ Lite 2011.03-41 for ARM GNU/Linux
3. git clone 
4. cd kernel/android-2.6.35
5. git checkout ec895072ad0b686d2c130e5d80a3076a03042033
6. make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- panda_defconfig
7. make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage

What is the expected output? What do you see instead?

Expected output is to get the kernel compiled and generate uImage.

Build errors:

arch/arm/mach-omap2/omap-headsmp.S:36: Error: selected processor does not 
support ARM mode `smc #0'
arch/arm/mach-omap2/omap44xx-smc.S:30: Error: selected processor does not 
support ARM mode `smc #0'
arch/arm/mach-omap2/sleep44xx.S:114: Error: selected processor does not support 
ARM mode `smc #0'
security/smc/omap4/bridge_pub2sec.S:95: Error: selected processor does not 
support ARM mode `smc #0'

Please provide any additional information below.

These build errors are assembler related errors due to gcc-4.5.2 version. 
Please find attach a patch that helps resolving the errors. Please update this 
information in 
http://www.omappedia.com/wiki/PandaBoard_L27.12.1-P2_Release_Notes#Setting_up_bu
ild_environment  In kernel & driver source section.

Thanks,
Mayank Chopra
mak.chopra@gmail.com

Original issue reported on code.google.com by mak.cho...@gmail.com on 26 Aug 2011 at 6:39

Attachments: