[LLVMdev] undefined symbol: lto_codegen_set_cpu

Tianyin Xu tixu at cs.ucsd.edu
Wed Dec 12 18:25:53 PST 2012


Hi, all,

I'm using LLVM-3.0. I want to use gold plugin, but I got the following
error message:

/home/tianyin/binutils-2.22/bin/ld: error:
/home/tianyin/llvm-3.0/lib/LLVMgold.so: could not load plugin library:
/home/tianyin/llvm-3.0/lib/LLVMgold.so: undefined symbol:
lto_codegen_set_cpu

Could anyone tell me what's the problem?

Thanks a lot!
Tianyin



More information about the llvm-dev mailing list