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

            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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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
succeed.

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:

https://github.com/rmagick/rmagick/issues/96#issue-25963549

Notice that we crap out with clang: error: unknown argument:
'-multiply_definedsuppress'

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

http://lists.macromates.com/textmate/2014-February/037093.html

Notice that we crap out with error: unknown argument:
'-fobjc-default-synthesize-properties'

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:

http://clang-developers.42468.n3.nabble.com/error-unknown-argument-ffoo-gt-reason-td4037260.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to