[cfe-dev] [LLVMdev] [LLVMDev] Clang stopped compiling?

Douglas Gregor dgregor at apple.com
Tue Oct 25 07:52:06 PDT 2011

On Oct 25, 2011, at 7:20 AM, Marshall Clow wrote:

> On Oct 25, 2011, at 6:09 AM, Marcello Maggioni wrote:
>> Hi, I'm trying to compile the latest clang/llvm SVN versions and I get
>> this error on multiple systems :
> Linking, not compiling, but still.
> I am getting a similar error when building this morning.
>> Undefined symbols for architecture x86_64:
>> "clang::Sema::checkPseudoObjectRValue(clang::Expr*)", referenced from:
>>     clang::Sema::CheckPlaceholderExpr(clang::Expr*) in libclangSema.a(SemaExpr.o)
>> "clang::Sema::checkPseudoObjectIncDec(clang::Scope*, clang::SourceLocation, clang::UnaryOperatorKind, clang::Expr*)", referenced from:
>>     clang::Sema::BuildUnaryOp(clang::Scope*, clang::SourceLocation, clang::UnaryOperatorKind, clang::Expr*) in libclangSema.a(SemaExpr.o)
>> "clang::Sema::checkPseudoObjectAssignment(clang::Scope*, clang::SourceLocation, clang::BinaryOperatorKind, clang::Expr*, clang::Expr*)", referenced from:
>>     clang::Sema::BuildBinOp(clang::Scope*, clang::SourceLocation, clang::BinaryOperatorKind, clang::Expr*, clang::Expr*) in libclangSema.a(SemaExpr.o)
>> ld: symbol(s) not found for architecture x86_64

r142915 was missing the new file that it purported to add. The commit has been reverted, and things should build now.

	- Doug

More information about the cfe-dev mailing list