[cfe-dev] Crash when trying to build llvm/clang with msys/mingw
crazygamealexs at hotmail.com
crazygamealexs at hotmail.com
Fri Aug 6 15:26:16 PDT 2010
llvm[2]: Linking Debug+Asserts executable opt
C:/msys/home/alex/llvm/Debug+Asserts/lib/libLLVMAnalysis.a(Loads.o):Loads.cpp:(.
text$_ZN4llvm13AliasAnalysis13getModRefInfoEPKNS_9VAArgInstEPKNS_5ValueEj[llvm::
AliasAnalysis::getModRefInfo(llvm::VAArgInst const*, llvm::Value const*, unsigne
d int)]+0x0): multiple definition of `llvm::AliasAnalysis::getModRefInfo(llvm::V
AArgInst const*, llvm::Value const*, unsigned int)'
C:/msys/home/alex/llvm/Debug+Asserts/lib/libLLVMAnalysis.a(AliasAnalysis.o):C:\m
sys\home\alex\llvm\lib\Analysis/AliasAnalysis.cpp:233: first defined here
C:/msys/home/alex/llvm/Debug+Asserts/lib/libLLVMInstCombine.a(InstructionCombini
ng.o):C:\msys\home\alex\llvm\lib\Transforms\InstCombine/InstructionCombining.cpp
:1280: undefined reference to `llvm::Pass::mustPreserveAnalysisID(llvm::PassInfo
const*) const'
C:/msys/home/alex/llvm/Debug+Asserts/lib/libLLVMInstCombine.a(InstructionCombini
ng.o): In function `FunctionPass':
C:/msys/home/alex/llvm/include/llvm/Pass.h:291: undefined reference to `llvm::Pa
ss::Pass(llvm::PassKind, void const*)'
C:/msys/home/alex/llvm/Debug+Asserts/lib/libLLVMInstCombine.a(InstructionCombini
ng.o):C:/msys/home/alex/llvm/include/llvm/Pass.h:175: undefined reference to `ll
vm::Pass::lookupPassInfo(int)'
C:/msys/home/alex/llvm/Debug+Asserts/lib/libLLVMInstCombine.a(InstructionCombini
ng.o):InstructionCombining.cpp:(.rdata$_ZTVN4llvm12InstCombinerE[vtable for llvm
::InstCombiner]+0x30): undefined reference to `llvm::Pass::getAdjustedAnalysisPo
inter(llvm::PassInfo const*)'
C:/msys/home/alex/llvm/Debug+Asserts/lib/libLLVMTransformUtils.a(Local.o):Local.
cpp:(.text$_ZN4llvm4Pass16getClassPassInfoINS_12ProfileInfoTINS_8FunctionENS_10B
asicBlockEEEEEPKNS_8PassInfoEv[llvm::PassInfo const* llvm::Pass::getClassPassInf
o<llvm::ProfileInfoT<llvm::Function, llvm::BasicBlock> >()]+0xf): undefined refe
rence to `llvm::Pass::lookupPassInfo(int)'
C:/msys/home/alex/llvm/Debug+Asserts/lib/libLLVMTransformUtils.a(BasicBlockUtils
.o):C:\msys\home\alex\llvm\lib\Transforms\Utils/BasicBlockUtils.cpp:385: undefin
ed reference to `llvm::Pass::mustPreserveAnalysisID(llvm::PassInfo const*) const
'
C:/msys/home/alex/llvm/Debug+Asserts/lib/libLLVMTransformUtils.a(BasicBlockUtils
.o):C:/msys/home/alex/llvm/include/llvm/Pass.h:175: undefined reference to `llvm
::Pass::lookupPassInfo(int)'
C:/msys/home/alex/llvm/Debug+Asserts/lib/libLLVMTransformUtils.a(BasicBlockUtils
.o):C:/msys/home/alex/llvm/include/llvm/Pass.h:175: undefined reference to `llvm
::Pass::lookupPassInfo(int)'
C:/msys/home/alex/llvm/Debug+Asserts/lib/libLLVMTransformUtils.a(BasicBlockUtils
.o):C:/msys/home/alex/llvm/include/llvm/Pass.h:175: undefined reference to `llvm
::Pass::lookupPassInfo(int)'
C:/msys/home/alex/llvm/Debug+Asserts/lib/libLLVMTransformUtils.a(BasicBlockUtils
.o):C:/msys/home/alex/llvm/include/llvm/Pass.h:175: undefined reference to `llvm
::Pass::lookupPassInfo(int)'
C:/msys/home/alex/llvm/Debug+Asserts/lib/libLLVMTransformUtils.a(LoopUnroll.o):L
oopUnroll.cpp:(.text$_ZN4llvm4Pass16getClassPassInfoINS_15ScalarEvolutionEEEPKNS
_8PassInfoEv[llvm::PassInfo const* llvm::Pass::getClassPassInfo<llvm::ScalarEvol
ution>()]+0xf): undefined reference to `llvm::Pass::lookupPassInfo(int)'
C:/msys/home/alex/llvm/Debug+Asserts/lib/libLLVMipa.a(FindUsedTypes.o):FindUsedT
ypes.cpp:(.text$_ZN4llvm10ModulePassC2EPKv[llvm::ModulePass::ModulePass(void con
st*)]+0x1c): undefined reference to `llvm::Pass::Pass(llvm::PassKind, void const
*)'
C:/msys/home/alex/llvm/Debug+Asserts/lib/libLLVMipa.a(FindUsedTypes.o):FindUsedT
ypes.cpp:(.rdata$_ZTVN4llvm13FindUsedTypesE[vtable for llvm::FindUsedTypes]+0x30
): undefined reference to `llvm::Pass::getAdjustedAnalysisPointer(llvm::PassInfo
const*)'
C:/msys/home/alex/llvm/Debug+Asserts/lib/libLLVMAnalysis.a(LazyValueInfo.o):Lazy
ValueInfo.cpp:(.rdata$_ZTVN4llvm13LazyValueInfoE[vtable for llvm::LazyValueInfo]
+0x30): undefined reference to `llvm::Pass::getAdjustedAnalysisPointer(llvm::Pas
sInfo const*)'
C:/msys/home/alex/llvm/Debug+Asserts/lib/libLLVMAnalysis.a(LoopDependenceAnalysi
s.o):LoopDependenceAnalysis.cpp:(.text$_ZN4llvm8LoopPassC2EPv[llvm::LoopPass::Lo
opPass(void*)]+0x1c): undefined reference to `llvm::Pass::Pass(llvm::PassKind, v
oid const*)'
C:/msys/home/alex/llvm/Debug+Asserts/lib/libLLVMAnalysis.a(LoopDependenceAnalysi
s.o):LoopDependenceAnalysis.cpp:(.text$_ZN4llvm13AnalysisUsage21addRequiredTrans
itiveINS_13AliasAnalysisEEERS0_v[llvm::AnalysisUsage& llvm::AnalysisUsage::addRe
quiredTransitive<llvm::AliasAnalysis>()]+0x1c): undefined reference to `llvm::An
alysisUsage::addRequiredTransitiveID(llvm::PassInfo const*)'
C:/msys/home/alex/llvm/Debug+Asserts/lib/libLLVMAnalysis.a(LoopDependenceAnalysi
s.o):LoopDependenceAnalysis.cpp:(.rdata$_ZTVN4llvm22LoopDependenceAnalysisE[vtab
le for llvm::LoopDependenceAnalysis]+0x30): undefined reference to `llvm::Pass::
getAdjustedAnalysisPointer(llvm::PassInfo const*)'
C:/msys/home/alex/llvm/Debug+Asserts/lib/libLLVMAnalysis.a(PostDominators.o):Pos
tDominators.cpp:(.text$_ZN4llvm4Pass16getClassPassInfoINS_17PostDominatorTreeEEE
PKNS_8PassInfoEv[llvm::PassInfo const* llvm::Pass::getClassPassInfo<llvm::PostDo
minatorTree>()]+0xf): undefined reference to `llvm::Pass::lookupPassInfo(int)'
C:/msys/home/alex/llvm/Debug+Asserts/lib/libLLVMAnalysis.a(PostDominators.o):Pos
tDominators.cpp:(.rdata$_ZTVN4llvm17PostDominatorTreeE[vtable for llvm::PostDomi
natorTree]+0x30): undefined reference to `llvm::Pass::getAdjustedAnalysisPointer
(llvm::PassInfo const*)'
C:/msys/home/alex/llvm/Debug+Asserts/lib/libLLVMAnalysis.a(PostDominators.o):Pos
tDominators.cpp:(.rdata$_ZTVN4llvm21PostDominanceFrontierE[vtable for llvm::Post
DominanceFrontier]+0x30): undefined reference to `llvm::Pass::getAdjustedAnalysi
sPointer(llvm::PassInfo const*)'
C:/msys/home/alex/llvm/Debug+Asserts/lib/libLLVMAnalysis.a(LoopInfo.o):LoopInfo.
cpp:(.rdata$_ZTVN4llvm8LoopInfoE[vtable for llvm::LoopInfo]+0x30): undefined ref
erence to `llvm::Pass::getAdjustedAnalysisPointer(llvm::PassInfo const*)'
C:/msys/home/alex/llvm/Debug+Asserts/lib/libLLVMCore.a(Dominators.o):Dominators.
cpp:(.rdata$_ZTVN4llvm21DominanceFrontierBaseE[vtable for llvm::DominanceFrontie
rBase]+0x30): undefined reference to `llvm::Pass::getAdjustedAnalysisPointer(llv
m::PassInfo const*)'
C:/msys/home/alex/llvm/Debug+Asserts/lib/libLLVMCore.a(Dominators.o):Dominators.
cpp:(.rdata$_ZTVN4llvm17DominanceFrontierE[vtable for llvm::DominanceFrontier]+0
x30): undefined reference to `llvm::Pass::getAdjustedAnalysisPointer(llvm::PassI
nfo const*)'
C:/msys/home/alex/llvm/Debug+Asserts/lib/libLLVMCore.a(Dominators.o):Dominators.
cpp:(.rdata$_ZTVN4llvm13DominatorTreeE[vtable for llvm::DominatorTree]+0x30): mo
re undefined references to `llvm::Pass::getAdjustedAnalysisPointer(llvm::PassInf
o const*)' follow
collect2: ld returned 1 exit status
make[2]: *** [/home/alex/llvm/Debug+Asserts/bin/opt.exe] Error 1
make[2]: Leaving directory `/home/alex/llvm/tools/opt'
make[1]: *** [opt/.makeall] Error 2
make[1]: Leaving directory `/home/alex/llvm/tools'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100806/8009b67b/attachment.html>
More information about the cfe-dev
mailing list