Linker command file with very long line causes tiarmclang to fail with fatal error: source line too long

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Medium

      Extract the attached zip to an empty directory. The file one_line.rsp lists many object file names, all on a single line. It contains about 35,000 characters.

      % tiarmclang f1.o f2.o main.o -o main.out one_line.rsp -Wl,-c
      "one_line.rsp", line 1: fatal error: source line too long
      tiarmclang: error: tiarmlnk command failed with exit code 1 (use -v to see invocation)
      

      The file separate_lines.rsp lists the same object file names, one per line. That works.

      % tiarmclang f1.o f2.o main.o -o main.out separate_lines.rsp -Wl,-c
      

            Assignee:
            TI User
            Reporter:
            TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Connection: Intermediate to External PROD System
                EXTSYNC-4595 - Linker command file with very long ...
                SYNCHRONIZED
                • Last Sync Date: