最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

Fatal error: Internal fault: 0x55af in

工作和技术 crifan 3866浏览 0评论

问题: 对于某些C源文件,编译出错,显示Fatal error: Internal fault: 0x55af in XXX,其中行号都是最后一行,怀疑是最后没有加对于空行而导致的,但是加了空行也没解决问题.

办法:是arm的编译器的bug,去下载对应的那个848补丁升级即可.升级后的版本应该是

ARM C Compiler, ADS1.2 [Build 848]

具体解释,参考:

C/C++ Compilers

Build 848 fixes problems with access to nonstatic member functions in C++, functions with pointer-to-function parameters in C++, register stacking in Thumb code, ordering of arguments of shifted compares, float/double stores incorrectly being optimized away, a rare peephole optimization at -O2, boolean conversion in C++ code, incorrect division due to register allocation, evaluation of shift operations, corruption of SB in RWPI code, and stores to malloc’d pointers following memcpy. The C++ compiler now also allows multiple declaration specifications in conditions.

Build 844 added a new switch -Wc to suppress the #pragma warning C2813W.

Build 842 fixes some problems with code generation differences between platforms, Thumb branch/literal pool issues, code optimization, ‘#pragma arm section’, "Internal faults" 0xd288 and 0x2696, and initializing nested structures in C++.

Build 837 fixed faults in the areas of generation of browse information, __packed bitfield initialization, code optimization, DWARF2 line tables, __packed typedefs, #pragma preprocessing, "Internal faults" 0x49de and 0x55af, and memory leaks when compiling with CodeWarrior.

转载请注明:在路上 » Fatal error: Internal fault: 0x55af in

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

网友最新评论 (1)

  1. :mrgreen:
    sgy7年前 (2017-09-23)回复
82 queries in 0.176 seconds, using 22.10MB memory