Kelvin Tian
2009-Jun-04 15:10 UTC
[LLVMdev] LLVM build error under gcc version 4.2.1 (SUSE Linux)
Hi, I tried to install LLVM under gcc version 4.2.1 (SUSE Linux). And here's the strange error I got when I tried to build llvm using gmake. Has anyone else met with similar error under same platform? Thanks a lot. ..... ..... `.gnu.linkonce.t._ZNK4llvm16DAGTypeLegalizer13getTypeActionENS_3MVTE' referenced in section `.gnu.linkonce.r._ZNK4llvm16DAGTypeLegalizer13getTypeActionENS_3MVTE' of /home/ktian/llvm/llvm-2.5/Release/lib/libLLVMSelectionDAG.a(LegalizeVectorTypes.o): defined in discarded section `.gnu.linkonce.t._ZNK4llvm16DAGTypeLegalizer13getTypeActionENS_3MVTE' of /home/ktian/llvm/llvm-2.5/Release/lib/libLLVMSelectionDAG.a(LegalizeVectorTypes.o) `.gnu.linkonce.t._ZNK4llvm16DAGTypeLegalizer13getTypeActionENS_3MVTE' referenced in section `.gnu.linkonce.r._ZNK4llvm16DAGTypeLegalizer13getTypeActionENS_3MVTE' of /home/ktian/llvm/llvm-2.5/Release/lib/libLLVMSelectionDAG.a(LegalizeVectorTypes.o): defined in discarded section `.gnu.linkonce.t._ZNK4llvm16DAGTypeLegalizer13getTypeActionENS_3MVTE' of /home/ktian/llvm/llvm-2.5/Release/lib/libLLVMSelectionDAG.a(LegalizeVectorTypes.o) collect2: ld returned 1 exit status gmake[2]: *** [/home/ktian/llvm/llvm-2.5/Release/examples/ParallelJIT] Error 1 gmake[2]: Target `all' not remade because of errors. gmake[2]: Leaving directory `/home/ktian/llvm/llvm-2.5/examples/ParallelJIT' gmake[1]: *** [ParallelJIT/.makeall] Error 2 gmake[1]: Target `all' not remade because of errors. gmake[1]: Leaving directory `/home/ktian/llvm/llvm-2.5/examples' gmake: *** [all] Error 1 llvm[0]: ***** Completed Release Build -- Best regards, Kelvin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090604/fb2fb862/attachment.html>
Apparently Analagous Threads
- [LLVMdev] Using non-system compiler to build llvm and llvm-gcc front end
- [LLVMdev] Using non-system compiler to build llvm and llvm-gcc front end
- [LLVMdev] Question about linking llvm-mc when porting a new backend
- [LLVMdev] Building llvm using non-system gcc/binutils
- [LLVMdev] Building llvm using non-system gcc/binutils