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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium 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
      

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

              Created:
              Updated: