[llvm-bugs] [Bug 40078] New: Poor diagnostic from MRI addlib when no prior open/create command

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Dec 18 05:16:28 PST 2018


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: unassignedbugs at nondot.org
          Reporter: edd-llvm at mr-edd.co.uk
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181218/8987155e/attachment.html>


More information about the llvm-bugs mailing list