[LLVMbugs] [Bug 18831] New: clang 5.1 introduces new "unknown argument" errors

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Feb 13 15:26:46 PST 2014


            Bug ID: 18831
           Summary: clang 5.1 introduces new "unknown argument" errors
           Product: clang
           Version: unspecified
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: matt at tidbits.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

When I use the clang in Xcode 5.0.2 (Apple LLVM version 5.0 (clang-500.2.79))
to build third-party applications, such as the rmagick gem or TextMate, I

Since installing Xcode 5.1 (Apple LLVM version 5.1 (clang-503.0.19)), those
same tasks fail with an "unknown argument" error.

Here is my report on trying to install the rmagick gem:


Notice that we crap out with clang: error: unknown argument:

Here is my report on trying to build TextMate 2 from scratch:


Notice that we crap out with error: unknown argument:

If I switch back to the clang in Xcode 5.0.2, presto, these problems go away
and I can build both just fine. Therefore I deduce that LLVM version 5.1 
(clang-503.0.19) has introduced a new bad habit of not recognizing arguments or
treating unknown arguments as errors that prevent building. This may need to be
rolled back, as it is causing breakage.

It is possible that the discussion here is relevant:


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/20140213/72a0f89d/attachment.html>

More information about the llvm-bugs mailing list