edA-qa mort-ora-y
2013-Apr-01 04:28 UTC
[LLVMdev] cannot compile 3.2, ScalarEvolutionTest fails to link
I am trying to build 3.2 and get this error: make[2]: Leaving directory `/home/opt/llvm-3.2.src/unittests/ADT' /home/opt/llvm-3.2.src/unittests/Analysis/Release+Asserts/ScalarEvolutionTest.o: In function `llvm::(anonymous namespace)::ScalarEvolutionsTest_SCEVMultiplyAddRecs_Test::TestBody()': ScalarEvolutionTest.cpp:(.text+0x1408): undefined reference to `llvm::LoopBase<llvm::BasicBlock, llvm::Loop>::~LoopBase()' ScalarEvolutionTest.cpp:(.text+0x14fa): undefined reference to `llvm::LoopBase<llvm::BasicBlock, llvm::Loop>::~LoopBase()' clang: error: linker command failed with exit code 1 (use -v to see invocation) I compile with these options: export REQUIRES_RTTI=1 export REQUIRES_EH=1 ./configure --prefix=/opt/llvm/install --enable-optimized --enable-shared --enable-libffi --enable-assertions make> gcc --versiongcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 I was able to compile 3.1 previously. -- edA-qa mort-ora-y -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Sign: Please digitally sign your emails. Encrypt: I'm also happy to receive encrypted mail. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 261 bytes Desc: OpenPGP digital signature URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130401/f59bd247/attachment.sig>