https://bugs.llvm.org/show_bug.cgi?id=40078

            Bug ID: 40078
           Summary: Poor diagnostic from MRI addlib when no prior
                    open/create command
           Product: tools
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-ar
          Assignee: unassignedb...@nondot.org
          Reporter: edd-l...@mr-edd.co.uk
                CC: llvm-bugs@lists.llvm.org

When using an MRI script such as the following, with no initial CREATE or OPEN
command...

  ADDLIB example.a
  SAVE

... we see the following on stderr:

  llvm-ar.exe: creating
  llvm-ar.exe: The program issued a command but the command length is
incorrect.

llvm-ar exits with code 1 as I would expect, but this diagnostic isn't useful.

The first line of the stderr is perhaps an indication that it's trying to
create an archive with no name.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to