-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Medium
-
Code Generation Tools
-
CODEGEN-13602
-
-
default
Extract the attached test case to an empty directory. Run this command ...
% cl430 -@top_level.txt
Run it several times. Once every 5-10 times it ends with ...
warning #10202-D: no suitable entry-point found; setting to 0
Note that --rom_model is used, and thus the entry is _c_int00.
Edit lnk_msp430f2620_problem.cmd. Find these lines ...
/* UNCOMMENT TO SEE CRASH */ /* #define USE_GROUPS */
Uncomment the second line. Then every build causes ...
C:\linker_bug>cl430 -@top_level.txt <Linking> remark #10371-D: (ULP 1.1) Detected no uses of low power mode state changing instructions remark #10372-D: (ULP 4.1) Detected uninitialized Port 1 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins. remark #10372-D: (ULP 4.1) Detected uninitialized Port 2 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins. remark #10372-D: (ULP 4.1) Detected uninitialized Port 3 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins. remark #10372-D: (ULP 4.1) Detected uninitialized Port 4 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins. remark #10372-D: (ULP 4.1) Detected uninitialized Port 5 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins. remark #10372-D: (ULP 4.1) Detected uninitialized Port 6 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins. remark #10372-D: (ULP 4.1) Detected uninitialized Port 7 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins. remark #10372-D: (ULP 4.1) Detected uninitialized Port 8 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins. remark #10372-D: (ULP 4.1) Detected uninitialized Port A in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins. INTERNAL ERROR: lnk430 had an internal inconsistency and aborted This is caused by a defect in the TI Linker. TI Customer Support may be able to suggest a workaround to avoid this. Upgrading to the newest version of the compiler may fix this problem. Contact TI in the E2E support forums at http://e2e.ti.com under "Development Tools", "TI C/C++ Compiler". See the link titled "Submitting an issue". We need to see this ENTIRE error message and a complete, reproducible test case including ALL of the command-line options. Include all of the object files, libraries, and linker command files used to link the program. >> Compilation failure