如何使用-Wa,-mimplicit-it = thumb for"拇指条件指令应该在IT块"?

时间:2017-03-10 10:31:12

标签: c++ opencv arm tbb tegra

在Jetson TK1上使用TBB构建OpenCV时,我遇到了与https://stackoverflow.com/a/35998110/3154588Assembler messages: Error: thumb conditional instruction should be in IT block -- `strexeq r1,r2,[r4]'类似的问题。

但是,我无法弄清楚如何添加-Wa,-mimplicit-it = thumb来解决问题。我将它添加到OpenCV文件中的CMakelists.txt文件中,就在CMAKE_CXX_FLAGS之前,但它没有帮助。

/tmp/ccDH2kIW.s:汇编程序消息: /tmp/ccDH2kIW.s:715:错误:拇指条件指令应该在IT块中 - strexeq r1,r2,[r4]' /tmp/ccDH2kIW.s:1316: Error: thumb conditional instruction should be in IT block -- strexeq r1,r2,[r4]' /tmp/ccDH2kIW.s:5706:错误:拇指条件指令应该在IT块中 - strexeq r1,r2,[r4]' /tmp/ccDH2kIW.s:6001: Error: thumb conditional instruction should be in IT block -- strexeq r6,r5,[r4]' /tmp/ccDH2kIW.s:6636:错误:拇指条件指令应该在IT块中 - `strexeq r1,r3,[r7]'

0 个答案:

没有答案