编译遇到的新问题

发布于 2013-09-25 16:42:24    浏览:3782
/home/tt/newdisk/realtouch-stm32f4/software/rt-thread/rt-thread/libcpu/arm/cortex-m4/context_gcc.S: Assembler messages:
/home/tt/newdisk/realtouch-stm32f4/software/rt-thread/rt-thread/libcpu/arm/cortex-m4/context_gcc.S:113: Error: thumb conditional instruction should be in IT block -- `vstmdbeq r1!,{d8-d15}'
/home/tt/newdisk/realtouch-stm32f4/software/rt-thread/rt-thread/libcpu/arm/cortex-m4/context_gcc.S:122: Error: thumb conditional instruction should be in IT block -- `moveq r4,#0x01'
/home/tt/newdisk/realtouch-stm32f4/software/rt-thread/rt-thread/libcpu/arm/cortex-m4/context_gcc.S:143: Error: thumb conditional instruction should be in IT block -- `vldmiane r1!,{d8-d15}'
/home/tt/newdisk/realtouch-stm32f4/software/rt-thread/rt-thread/libcpu/arm/cortex-m4/context_gcc.S:155: Error: thumb conditional instruction should be in IT block -- `bicne lr,lr,#0x10'
scons: *** [build/libcpu/arm/cortex-m4/context_gcc.o] Error 1
scons: building terminated because of errors.

查看更多

4 个回答
li3p
li3p 2014-01-21
This guy hasn't written anything yet
也遇到这个问题了,请问有解决吗?
bernard
bernard 2014-01-21
This guy hasn't written anything yet
记得好像是编译器的问题,升级个GNU GCC版本看看吧。但不保证我是记错了
aozima
aozima 2017-09-29
拒绝白嫖,拒绝键盘侠!
编译参数添加 -mimplicit-it=thumb

/bsp/stm32f40x/rtconfig.py
    AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp -Wa,-mimplicit-it=thumb '

撰写答案

请登录后再发布答案,点击登录
关注者
0
被浏览
3.8k

发布
问题

分享
好友

手机
浏览

扫码手机浏览