Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-12186

Building with link time optimization leaves behind temporary file

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium

      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}

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: