[LLVMdev] LLVM build error under gcc version 4.2.1 (SUSE Linux)
Kelvin Tian
kevinn.tian at gmail.com
Thu Jun 4 08:10:03 PDT 2009
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>
More information about the llvm-dev
mailing list