[cfe-commits] r138418 - in /cfe/trunk: lib/CodeGen/CGDecl.cpp test/CodeGen/2005-02-27-MarkGlobalConstant.c test/CodeGen/decl.c test/CodeGen/string-literal-short-wstring.c test/CodeGen/string-literal.c

Nico Weber thakis at chromium.org
Sun Aug 28 18:54:07 PDT 2011


On Sun, Aug 28, 2011 at 12:55 AM, Eric Christopher <echristo at apple.com> wrote:
>
> On Aug 27, 2011, at 5:45 PM, Nico Weber wrote:
>
> When a change in clang makes ld crash when linking the code produced
> by clang, is this something you care about? (We essentially use trunk
> clang with the Xcode 3.2 toolchain.)
>
> Such an old ld. Is there any hope of seeing if it crashes the ld shipped
> with Xcode4?

We updated our bots to Xcode 3.2.6 and the ld crash seems to be gone,
hooray. I assume that means it's fixed in Xcode 4's ld as well then,
but I haven't tried.

Here's the exact error message, in case anyone runs into this in the future:

clang:error: unable to execute command: Segmentation fault
clang:error: linker command failed due to signal 2 (use -v to see invocation)
clang: note: diagnostic msg: Please submit a bug report to
http://llvm.org/bugs/ and include command line arguments and all
diagnostic information.
clang:warning: treating 'c' input as 'c++' when in C++ mode, this
behavior is deprecated
clang:warning: treating 'c' input as 'c++' when in C++ mode, this
behavior is deprecated

The fix is to use an Xcode newer than 3.2.2

Nico



More information about the cfe-commits mailing list