[llvm-bugs] [Bug 31973] New: llvm-ar cannot be invoked with dash arguments

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Feb 15 10:53:49 PST 2017


http://bugs.llvm.org/show_bug.cgi?id=31973

            Bug ID: 31973
           Summary: llvm-ar cannot be invoked with dash arguments
           Product: tools
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-ar
          Assignee: unassignedbugs at nondot.org
          Reporter: ed at 80386.nl
                CC: llvm-bugs at lists.llvm.org

Most implementations of ar(1) can be invoked like this:

ar rs bla.a foo.o bar.o

But also like this:

ar -rs bla.a foo.o bar.o

Only the latter is standardised by POSIX.

What's problematic is that our copy of llvm-ar only supports the former. I've
seen various Makefiles break as a result of this. Examples include Google's
LevelDB.

-- 
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/20170215/1fcfff10/attachment.html>


More information about the llvm-bugs mailing list