<div class="gmail_extra"><div class="gmail_quote">On Mon, Jul 30, 2012 at 8:17 AM, Manuel Klimek <span dir="ltr"><<a href="mailto:klimek@google.com" target="_blank">klimek@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
+alexfh<br>
<div class="im"><br>
On Sun, Jul 29, 2012 at 7:46 PM, Manman Ren <<a href="mailto:mren@apple.com">mren@apple.com</a>> wrote:<br>
><br>
> I started seeing this a few days back, it is probably related to my setup.<br>
><br>
> Debug+Asserts builds fine.<br>
> But for Release+Asserts, I got:<br>
> Undefined symbols for architecture x86_64:<br>
>   "clang::Decl::dump() const", referenced from:<br>
>       clang::ASTContext::DumpRecordLayout(clang::RecordDecl const*, llvm::raw_ostream&, bool) const in libclangAST.a(RecordLayoutBuilder.o)<br>
>       clang::arcmt::trans::MigrationContext::dumpGCAttrs() in libclangARCMigrate.a(TransGCAttrs.o)<br>
>       clang::CodeGen::CodeGenTypes::ComputeRecordLayout(clang::RecordDecl const*, llvm::StructType*) in libclangCodeGen.a(CGRecordLayoutBuilder.o)<br>
> ld: symbol(s) not found for architecture x86_64<br>
> clang: error: linker command failed with exit code 1 (use -v to see invocation)<br>
<br>
</div>Alex, this might be related to your change? It looks like<br>
<a href="http://llvm-reviews.chandlerc.com/rL160788" target="_blank">http://llvm-reviews.chandlerc.com/rL160788</a>  was intended to fix this?<br></blockquote><div>This commit was intended to fix debug-time issue and shouldn't affect builds. But it may be a problem with stale .o files. Manman, did you try to run <b>make clean</b> before building?</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Cheers,<br>
/Manuel<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
> Any idea how to fix this?<br>
><br>
> Thanks,<br>
> Manman</div></div></blockquote><div><br></div><div>-- </div><div>Best regards,</div><div>Alexander Kornienko </div></div><br>
</div>