Displaying 1 result from an estimated 1 matches for "llvminitializephoenixtargetmc".
2011 Oct 18
0
[LLVMdev] error in lib dependencies generated by llvm-config for 3.0
...I got the following error:
llvm[2]: Linking Debug+Asserts executable llc
/local/scratch/uabpath/uabpath-3.0/build/tools/llc/Debug+Asserts/llc.o:
In function `llvm::InitializeAllTargetMCs()':
/local/scratch/uabpath/uabpath-3.0/build/include/llvm/Config/Targets.def:26:
undefined reference to `LLVMInitializePhoenixTargetMC'
Because -lLLVMPhoenixDesc is not included in the link command. The
following patch fix the error:
diff --git a/tools/llvm-config/llvm-config.in.in
b/tools/llvm-config/llvm-config.in.in
index 840a10e..325149b 100644
--- a/tools/llvm-config/llvm-config.in.in
+++ b/tools/llvm-config/llvm-conf...