IAR MSP430编译器编译时出现内部错误
适用于 MSP430 的 IAR C/C++ 编译器 5.10.1 [评估] (5.10.1.20144)
尝试编译 FreeRTOS 5.4 Task.c 文件时出现非法状态内部错误(其他一切都编译正常)
内部错误:[CoreUtil/General]:非法状态
启动版本IAR(MSP430版本)工作正常。
有什么想法吗?
IAR C/C++ Compiler for MSP430
5.10.1 [Evaluation] (5.10.1.20144)
I get an illegal state internal error when attempting to compile the FreeRTOS 5.4 Task.c file (everything else compiles fine)
Internal Error: [CoreUtil/General]: Illegal state
The kick start version of IAR (MSP430 version) works fine.
Any thoughts?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您应该尝试将此帖子发布到 Yahoo 托管的 MSP430 群组。安德斯,编写/维护编译器的人,擅长解决那里的问题。那里还有一些非常活跃的成员,他们为明智的问题提供了很好的答案。
您还可以通过他们的支持系统发送问题报告。他们总是非常善于帮助我解决任何问题。
You should try posting this on the Yahoo hosted MSP430 group. Anders, the guy that wrote/maintains the compiler, is good at answering problems there. There are also some very active members there who provide good answers to sensible questions.
You could also send a problem report through their support system. They have always been very good at getting me fixes to any problems.
一些想法
尝试更改优化级别
对问题源文件进行“分而治之”,直到将其减少到可能导致问题的最小代码量ICE,然后尝试重新表达这部分代码以摆脱 ICE 和/或将其作为错误报告发送给 IAR
检查来自 IAR 的更新 - 这可能是他们意识到的编译器错误,甚至可能有修复/解决方法
A few ideas
try changing the optimisation level
do a "divide and conquer" on the problem source file until you have reduced it to the smallest amount of code that can cause the ICE, then try re-expressing this part of the code to get rid of the ICE and/or send it to IAR as a bug report
check for updates from IAR - this may be a compiler bug that they are aware of and maybe even have a fix/workaround for