[EXT_EP-9780] Linker internal error when crc_table is applied to EXIDX Created: 23/Apr/20  Updated: 27/May/21  Resolved: 09/Apr/21

Status: Fixed
Project: Embedded Software & Tools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: TI User Assignee: TI User
Resolution: Fixed Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Product: Code Generation Tools
Internal ID: CODEGEN-7444
Forum URL: https://e2e.ti.com/support/tools/ccs/f/81/t/898981
Found In Release: MSP430_20.2.0.LTS
ARM_18.12.0.LTS
C2000_20.12.0.STS
MSP430_18.12.0.LTS
MSP430_21.6.0.B1
ARM_20.2.0.LTS
C2000_18.12.0.LTS
C2000_20.2.0.LTS
Fix In Release: C2000_20.2.5.LTS
ARM_20.2.5.LTS
MSP430_21.6.0.LTS
C2000_21.6.0.LTS
MSP430_20.2.5.LTS
Affected Platform/Device: default
Workaround: This defect is still being analyzed, but it might be possible to work around this bug by changing the linker command file to change the section specifiers for the EXIDX and EXTAB sections to use a wildcard at the end of the section name. That is, instead of .c28xabi.exidx, use .c28xabi.exidx*, and instead of .c28xabi.extab, use .c28xabi.extab*

 Description   

The attached C++ file contains a simple instance of exception handling. It is built with the newer EABI. The attached linker command file applies the crc_table operator to the exception handling tables ...

         GROUP
         {
           .c28xabi.exidx
           .c28xabi.extab
         } > EXT, crc_table(crc_for_eh_tables)

Build it ...

% cl2000 --abi=eabi --exceptions try1.cpp -z -o try1.out -m try1.map testlink.cmd
<Linking>
../../master/ELFLNK/table.c:1734:internal fatal error #10120:
   (".c28xabi.exidx")

INTERNAL ERROR: lnk2000 had an internal inconsistency and aborted

Generated at Wed Apr 02 06:01:48 CDT 2025 using Jira 9.12.17#9120017-sha1:aba4002bcd633f188b6a4bb5dd8a0e1f20b79ee4.