[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
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: 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
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.
-------------- 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