Hai I am using latest stable linux kernel ( 3.8.6 ) for porting the uImage to my OMAP board I cross compile this kernel to arm-linux with the help of codesourcery*arm-linuc-gnueabi-gcc * toolchain.
It compiles every drivers that i include but it stuck with final end while compiling for arm arch/copy_from_user.s and copy_template.s shows this same error. arch/arm/lib/copy_from_user.o arch/arm/lib/copy_template.S: Assembler messages: arch/arm/lib/copy_template.S:100: Error: selected processor does not support ARM mode `ldralt r3,[r1],#4' arch/arm/lib/copy_template.S:100: Error: selected processor does not support ARM mode `ldralt r4,[r1],#4' arch/arm/lib/copy_template.S:100: Error: selected processor does not support ARM mode `ldralt r5,[r1],#4' arch/arm/lib/copy_template.S:100: Error: selected processor does not support ARM mode `ldralt r6,[r1],#4' arch/arm/lib/copy_template.S:100: Error: selected processor does not support ARM mode `ldralt r7,[r1],#4' arch/arm/lib/copy_template.S:100: Error: selected processor does not support ARM mode `ldralt r8,[r1],#4' arch/arm/lib/copy_template.S:100: Error: selected processor does not support ARM mode `ldralt ip,[r1],#4' arch/arm/lib/copy_template.S:100: Error: selected processor does not support ARM mode `ldralt lr,[r1],#4' arch/arm/lib/copy_template.S:118: Error: selected processor does not support ARM mode `ldralt r3,[r1],#4' arch/arm/lib/copy_template.S:119: Error: selected processor does not support ARM mode `ldralt r4,[r1],#4' arch/arm/lib/copy_template.S:120: Error: selected processor does not support ARM mode `ldralt r5,[r1],#4' arch/arm/lib/copy_template.S:121: Error: selected processor does not support ARM mode `ldralt r6,[r1],#4' arch/arm/lib/copy_template.S:122: Error: selected processor does not support ARM mode `ldralt r7,[r1],#4' arch/arm/lib/copy_template.S:123: Error: selected processor does not support ARM mode `ldralt r8,[r1],#4' arch/arm/lib/copy_template.S:124: Error: selected processor does not support ARM mode `ldralt lr,[r1],#4' arch/arm/lib/copy_template.S:173: Error: selected processor does not support ARM mode `ldralt lr,[r1],#4' arch/arm/lib/copy_template.S:243: Error: selected processor does not support ARM mode `ldralt r4,[r1],#4' arch/arm/lib/copy_template.S:243: Error: selected processor does not support ARM mode `ldralt r5,[r1],#4' arch/arm/lib/copy_template.S:243: Error: selected processor does not support ARM mode `ldralt r6,[r1],#4' arch/arm/lib/copy_template.S:243: Error: selected processor does not support ARM mode `ldralt r7,[r1],#4' arch/arm/lib/copy_template.S:243: Error: selected processor does not support ARM mode `ldralt r8,[r1],#4' arch/arm/lib/copy_template.S:243: Error: selected processor does not support ARM mode `ldralt r9,[r1],#4' arch/arm/lib/copy_template.S:243: Error: selected processor does not support ARM mode `ldralt ip,[r1],#4' arch/arm/lib/copy_template.S:243: Error: selected processor does not support ARM mode `ldralt lr,[r1],#4' arch/arm/lib/copy_template.S:243: Error: selected processor does not support ARM mode `ldralt lr,[r1],#4' arch/arm/lib/copy_template.S:245: Error: selected processor does not support ARM mode `ldralt r4,[r1],#4' arch/arm/lib/copy_template.S:245: Error: selected processor does not support ARM mode `ldralt r5,[r1],#4' arch/arm/lib/copy_template.S:245: Error: selected processor does not support ARM mode `ldralt r6,[r1],#4' arch/arm/lib/copy_template.S:245: Error: selected processor does not support ARM mode `ldralt r7,[r1],#4' arch/arm/lib/copy_template.S:245: Error: selected processor does not support ARM mode `ldralt r8,[r1],#4' arch/arm/lib/copy_template.S:245: Error: selected processor does not support ARM mode `ldralt r9,[r1],#4' arch/arm/lib/copy_template.S:245: Error: selected processor does not support ARM mode `ldralt ip,[r1],#4' arch/arm/lib/copy_template.S:245: Error: selected processor does not support ARM mode `ldralt lr,[r1],#4' arch/arm/lib/copy_template.S:245: Error: selected processor does not support ARM mode `ldralt lr,[r1],#4' arch/arm/lib/copy_template.S:247: Error: selected processor does not support ARM mode `ldralt r4,[r1],#4' arch/arm/lib/copy_template.S:247: Error: selected processor does not support ARM mode `ldralt r5,[r1],#4' arch/arm/lib/copy_template.S:247: Error: selected processor does not support ARM mode `ldralt r6,[r1],#4' arch/arm/lib/copy_template.S:247: Error: selected processor does not support ARM mode `ldralt r7,[r1],#4' arch/arm/lib/copy_template.S:247: Error: selected processor does not support ARM mode `ldralt r8,[r1],#4' arch/arm/lib/copy_template.S:247: Error: selected processor does not support ARM mode `ldralt r9,[r1],#4' arch/arm/lib/copy_template.S:247: Error: selected processor does not support ARM mode `ldralt ip,[r1],#4' arch/arm/lib/copy_template.S:247: Error: selected processor does not support ARM mode `ldralt lr,[r1],#4' arch/arm/lib/copy_template.S:247: Error: selected processor does not support ARM mode `ldralt lr,[r1],#4' How do i overcome this error??? Using kernel - 3.8.6 using toolchain - arm-linux-gnueabi-gcc from codesourcery. I am waitng for your help Thanks in advance ************************************************************************************ On Monday, November 8, 2010 3:22:25 PM UTC+5:30, AndroidBit wrote: > > Hello, > > When I compile the android kernel for i.MX51 board. > My cross compile is :arm-none-linux-gnueabi-gcc > > But I meet such error. > > Can you give me some advice. > > ***************************************************** > [root@localhost kernel_imx]# make > CHK include/linux/version.h > Generating include/asm-arm/mach-types.h > CHK include/linux/utsrelease.h > SYMLINK include/asm -> include/asm-arm > HOSTCC scripts/basic/fixdep > scripts/basic/fixdep.c: 在函数‘traps’中: > scripts/basic/fixdep.c:377: 警告:提领类型双关的指针将破坏强重叠规则 > scripts/basic/fixdep.c:379: 警告:提领类型双关的指针将破坏强重叠规则 > HOSTCC scripts/basic/docproc > HOSTCC scripts/basic/hash > CC kernel/bounds.s > GEN include/linux/bounds.h > CC arch/arm/kernel/asm-offsets.s > GEN include/asm/asm-offsets.h > CALL scripts/checksyscalls.sh > <stdin>:1097: warning: #warning syscall fadvise64 not implemented > <stdin>:1265: warning: #warning syscall migrate_pages not implemented > <stdin>:1321: warning: #warning syscall pselect6 not implemented > <stdin>:1325: warning: #warning syscall ppoll not implemented > <stdin>:1365: warning: #warning syscall epoll_pwait not implemented > HOSTCC scripts/genksyms/genksyms.o > HOSTCC scripts/genksyms/lex.o > HOSTCC scripts/genksyms/parse.o > HOSTLD scripts/genksyms/genksyms > CC scripts/mod/empty.o > HOSTCC scripts/mod/mk_elfconfig > MKELF scripts/mod/elfconfig.h > HOSTCC scripts/mod/file2alias.o > HOSTCC scripts/mod/modpost.o > HOSTCC scripts/mod/sumversion.o > HOSTLD scripts/mod/modpost > HOSTCC scripts/kallsyms > HOSTCC scripts/pnmtologo > HOSTCC scripts/conmakehash > HOSTCC scripts/bin2c > CC init/main.o > /tmp/ccV3RhhG.s: Assembler messages: > /tmp/ccV3RhhG.s:255: Error: selected processor does not support ARM mode > `cpsie i' > /tmp/ccV3RhhG.s:701: Error: selected processor does not support ARM mode > `cpsid i' > /tmp/ccV3RhhG.s:709: Error: selected processor does not support ARM mode > `cpsid i' > /tmp/ccV3RhhG.s:723: Error: selected processor does not support ARM mode > `cpsid i' > /tmp/ccV3RhhG.s:737: Error: selected processor does not support ARM mode > `cpsid i' > /tmp/ccV3RhhG.s:809: Error: selected processor does not support ARM mode > `cpsid i' > /tmp/ccV3RhhG.s:834: Error: selected processor does not support ARM mode > `cpsie i' > make[1]: *** [init/main.o] 错误 1 > make: *** [init] 错误 2 > ***************************************************** > -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.