[EXT_EP-12186] Building with link time optimization leaves behind temporary file Created: 28/Jan/25  Updated: 18/Feb/25  Resolved: 18/Feb/25

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-13377
Forum URL: https://e2e.ti.com/support/sensors-group/sensors---internal/f/1047/t/1467389
Found In Release: ARMCLANG_4.0.1.LTS
Fix In Release: ARMCLANG_4.0.2.LTS
Affected Platform/Device: default

 Description   

Perform these commands in an empty directory.

% type stub_main.c
int main()
{
    return 0;
}

% tiarmclang -flto -o stub_main.out stub_main.c -Wl,-c

Inspect the contents of the directory. In addition to stub_main.c and stub_main.out, there is a temporary file with an auto-generated name similar to

{C98146A6-6555-490C-90B2-BF3F84A8BF33}
Generated at Wed Apr 02 00:45:43 CDT 2025 using Jira 9.12.17#9120017-sha1:aba4002bcd633f188b6a4bb5dd8a0e1f20b79ee4.