-
Notifications
You must be signed in to change notification settings - Fork 3.8k
EOS build failure on Ubuntu 16.10 #498
Comments
Hi signitary, your problem looks similar to this issue #413 Seems like your llvm doesn't have RTTI enabled, can you check it via:
Did you install llvm via "./build.sh ubuntu full"? The llvm installed via the script should have RTTI enabled. And btw where do you locate clang-4.0 and lldb-4.0 sources for Yakkety? I'm locating the clang-4.0 and lldb-4.0 from these sources:
And it's building without problem on a freshly installed ubuntu 16.10 |
Yes, I used the build script with the ubuntu and full options. And, yes, my llvm-config-4.0 says I have RTTI enabled. Perhaps I should burn this setup down and start from a fresh install of yakkety or another version of ubuntu? The sources I used for the llvm-toolchain were the following: |
Hi Andriantolie, One more thing I should probably mention is that I had downloaded the original version of the eos sdk and began from there. I've since reloaded the sdk and restarted the build.sh script several times to try and get through the process. I'm thinking now that it would make the most sense to start with a fresh install of ubuntu. Do you recommend Yakkety? Or should I go with Xenial or Zesty? |
That might be the reason. I don’t think running build script with full options multiple times will replace the old dependency with new dependency (I remembered I saw “can’t copy to non-empty directory error” when I did that). Starting fresh will be much better and I would recommend Xenial/ Zesty coz Yakkety has reached its end of life. |
ok, thanks. I'll do that and will post the results here when finished. Hopefully, it will be good news! :) |
This is the latest error I encountered... Running <./build.sh ubuntu full> on a fresh install of Ubuntu Xenial. -- Using custom FindBoost.cmake Unable to find the Boost header files. Please set BOOST_ROOT to the root -- Configuring ChainBase on Linux Unable to find the Boost header files. Please set BOOST_ROOT to the root -- Configuring ChainBase on Linux -- Configuring incomplete, errors occurred! |
The attached file is the CMakeOutput.log from this attempt. |
Hi signitary, I have investigated this issue and realized that Xenial doesn't have curl installed by default. I have made a pull request for this issue here #509 Meanwhile, you can install curl and run again the Or if you don't want to wait for the whole
Hope this works for you! |
Hi signitary, How's it going? Does everything work fine in your side? |
Hi andriantolie, |
Thanks! |
@andriantolie thank you! |
Hi Andriantolie, Yes, it worked! Thank you! |
Awesome! I will close this issue then. |
Hello,
I had to locate the clang-4.0 and lldb-4.0 sources for Yakkety since they were not available from the website. That solved that failure, but now I'm getting the following after all previous dependencies were downloaded and installed:
[ 63%] Building CXX object programs/launcher/CMakeFiles/launcher.dir/main.cpp.o
../Runtime/libRuntime.a(LLVMJIT.cpp.o):(.rodata+0x70): undefined reference to
typeinfo for llvm::JITSymbolResolver' ../Runtime/libRuntime.a(LLVMJIT.cpp.o):(.rodata._ZTIN7LLVMJIT17UnitMemoryManagerE[_ZTIN7LLVMJIT17UnitMemoryManagerE]+0x10): undefined reference to
typeinfo for llvm::RTDyldMemoryManager'../Runtime/libRuntime.a(LLVMJIT.cpp.o):(.rodata._ZTIN4llvm18MCJITMemoryManagerE[_ZTIN4llvm18MCJITMemoryManagerE]+0x10): undefined reference to
typeinfo for llvm::RuntimeDyld::MemoryManager' ../Runtime/libRuntime.a(LLVMJIT.cpp.o):(.rodata._ZTIN4llvm17raw_pwrite_streamE[_ZTIN4llvm17raw_pwrite_streamE]+0x10): undefined reference to
typeinfo for llvm::raw_ostream'../Runtime/libRuntime.a(LLVMJIT.cpp.o):(.rodata._ZTIN4llvm18ObjectMemoryBufferE[_ZTIN4llvm18ObjectMemoryBufferE]+0x10): undefined reference to
typeinfo for llvm::MemoryBuffer' ../Runtime/libRuntime.a(LLVMJIT.cpp.o):(.rodata._ZTIN4llvm9ErrorInfoINS_9ErrorListENS_13ErrorInfoBaseEEE[_ZTIN4llvm9ErrorInfoINS_9ErrorListENS_13ErrorInfoBaseEEE]+0x10): undefined reference to
typeinfo for llvm::ErrorInfoBase'../Runtime/libRuntime.a(LLVMJIT.cpp.o):(.rodata+0x70): undefined reference to
typeinfo for llvm::JITSymbolResolver' ../Runtime/libRuntime.a(LLVMJIT.cpp.o):(.rodata._ZTIN7LLVMJIT17UnitMemoryManagerE[_ZTIN7LLVMJIT17UnitMemoryManagerE]+0x10): undefined reference to
typeinfo for llvm::RTDyldMemoryManager'../Runtime/libRuntime.a(LLVMJIT.cpp.o):(.rodata._ZTIN4llvm18MCJITMemoryManagerE[_ZTIN4llvm18MCJITMemoryManagerE]+0x10): undefined reference to
typeinfo for llvm::RuntimeDyld::MemoryManager' ../Runtime/libRuntime.a(LLVMJIT.cpp.o):(.rodata._ZTIN4llvm17raw_pwrite_streamE[_ZTIN4llvm17raw_pwrite_streamE]+0x10): undefined reference to
typeinfo for llvm::raw_ostream'../Runtime/libRuntime.a(LLVMJIT.cpp.o):(.rodata._ZTIN4llvm18ObjectMemoryBufferE[_ZTIN4llvm18ObjectMemoryBufferE]+0x10): undefined reference to
typeinfo for llvm::MemoryBuffer' ../Runtime/libRuntime.a(LLVMJIT.cpp.o):(.rodata._ZTIN4llvm9ErrorInfoINS_9ErrorListENS_13ErrorInfoBaseEEE[_ZTIN4llvm9ErrorInfoINS_9ErrorListENS_13ErrorInfoBaseEEE]+0x10): undefined reference to
typeinfo for llvm::ErrorInfoBase'../Runtime/libRuntime.a(LLVMEmitIR.cpp.o):(.rodata._ZTIN4llvm10SelectInstE[_ZTIN4llvm10SelectInstE]+0x10): undefined reference to
typeinfo for llvm::Instruction' ../Runtime/libRuntime.a(LLVMEmitIR.cpp.o):(.rodata._ZTIN4llvm8FCmpInstE[_ZTIN4llvm8FCmpInstE]+0x10): undefined reference to
typeinfo for llvm::CmpInst'../Runtime/libRuntime.a(LLVMEmitIR.cpp.o):(.rodata._ZTIN4llvm10SelectInstE[_ZTIN4llvm10SelectInstE]+0x10): undefined reference to
typeinfo for llvm::Instruction' ../Runtime/libRuntime.a(LLVMEmitIR.cpp.o):(.rodata._ZTIN4llvm8FCmpInstE[_ZTIN4llvm8FCmpInstE]+0x10): undefined reference to
typeinfo for llvm::CmpInst'clang: error: linker command failed with exit code 1 (use -v to see invocation)
libraries/wasm-jit/Source/Programs/CMakeFiles/Test.dir/build.make:128: recipe for target 'libraries/wasm-jit/Source/Programs/Test' failed
make[2]: *** [libraries/wasm-jit/Source/Programs/Test] Error 1
CMakeFiles/Makefile2:1066: recipe for target 'libraries/wasm-jit/Source/Programs/CMakeFiles/Test.dir/all' failed
There were two additional failures of the same type before the build ended. Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: