Hello , Thank you for you reply. My codesourcery tool chain is arm-none-linux-gnueabi-gcc .
And the version of codesourcery tool chain is (Sourcery G++ Lite 2010q1-202) 4.4.1 I have solved the problem according to your advice. Thank you ! ~_~ 在 2010年11月9日 上午1:09,Deva R <[email protected]>写道: > Hi, > > cortex A8 build for armv7 fails., what version of codesourcery tool chain > is being used? > > btw - we faced similar issues while migrating across codesourcery tool > chain versions for omap armv7 builds. > cross check march flag passed to compiler.. > > http://kerneltrap.org/mailarchive/git-commits-head/2008/10/11/3608944/thread > > > -- > Regards, > Deva > www.bittoggler.com > > > 2010/11/8 l l <[email protected]> > >> 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. >> >> ***************************************************** >> [r...@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: >> [email protected]<android-porting%[email protected]> >> website: http://groups.google.com/group/android-porting >> > > > > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
