[cfe-dev] linker error breaking clang build

Chris Lattner clattner at apple.com
Mon Aug 20 15:06:17 PDT 2007


On Aug 20, 2007, at 3:02 PM, Ted Kremenek wrote:

> Did someone forget to check something in?
>
> llvm[1]: Linking Debug executable clang
> Undefined symbols:
>    "llvm::Function::BuildLazyArguments() const", referenced from:
>        llvm::Function::CheckLazyArguments() constin
> libclangCodeGen.a(CodeGenFunction.o)
>        llvm::Function::CheckLazyArguments() constin
> libclangCodeGen.a(CGStmt.o)
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[1]: *** [/Volumes/Data/Users/kremenek/dev/src/llvm/Debug/bin/
> clang] Error 1
> make: *** [all] Error 1

It builds for me.  You probably updated your LLVM headers but didn't  
rebuild llvm/lib/VMCore.

-Chris



More information about the cfe-dev mailing list