This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] 编译器/TMS320F28379D:"处理函数(未知或文件范围)文件(未知)行0&quot 时的分段故障;

Guru**** 3040200 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/898923/compiler-tms320f28379d-segmentation-fault-while-processing-function-unknown-or-file-scope-file-unknown-line-0

我尝试使用 CCS 10.0.0.00010进行编译(因为您提到10中不再存在此问题)、但我遇到了尚未遇到的编译问题:

"c:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000 /Users/userName/git/codeCCS10/code_base/emb_code -v28 -ml -mt --cla_support=cla1 -float_support=fpu32 -tmu_support=tmu0 -vcu_support=vcu2 -include_pat="C:/ti/ccs1000/xdctools_3_61_00_16_core/packages /ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include -include_path="C:/Users/userName/git/codeCCS10/code_base/emb_code/Include /Source/System/HardwareSerial/SerialBuffer.cpp -include_path="C:cuse_support=vcuit_support=vcu-build_warn="-board_board_display_warning_decning="-board_board_board_display_board_board_refus_board.tradecnation="-board_display_display_display_board_refus_display_board_refus_display_board_board_refus_display_board_display_display_board_board.us_board_board_board_board_board.us_board_ref_board_refus_board_display_board.cn"-board_display_board_ref_ref_refus_board_board_display_display

内部错误:C:\ti\ccs1000\ccs\tools\compiler\ti-cgt-C2000_20.2.0.LTS \bin\ac2000.exe 遇到分段错误
处理函数时(未知或文件范围)文件(未知)行0

这是由 TI C/C++解析器中的缺陷导致的。
TI 客户支持可能会建议解决方法来避免这种情况。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    [引用用户="John Chaparro"]

    内部错误:C:\ti\ccs1000\ccs\tools\compiler\ti-cgt-C2000_20.2.0.LTS \bin\ac2000.exe 遇到分段错误
    处理函数时(未知或文件范围)文件(未知)行0

    这是由 TI C/C++解析器中的缺陷导致的。
    TI 客户支持可能会建议解决方法来避免这种情况。

    [/报价]

    这是与编译器无关的问题。 我将把这篇文章拆分为不同的主题、并提请我们的编译器专家注意

    谢谢

    Ki

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    [引用 user="John Chaparro"]内部错误:C:\ti\ccs1000\ccs\tools\compiler\ti-cgt-C2000-20.2.0.LTS \bin\ac2000.exe 遇到分段错误
    处理函数时(未知或文件范围)文件(未知)第0行[/引用]

    遗憾的是、您在编译器中遇到了已知问题。  在版本20.2.1.LTS 中对其进行了修复。  有关更多详细信息、请 参阅此论坛帖子。

    谢谢、此致、

    乔治