Closed yiyuaner closed 5 years ago
Hi,
The issue seems to come from your LLVM. What is your OS ?
Hi,
The issue seems to come from your LLVM. What is your OS ?
I'm using centos 7:
LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.5.1804 (Core)
Release: 7.5.1804
Codename: Core
@zadlg I install boost library from source (Because boost from my system is too old) and I set env variable BOOST_ROOT to installation directory of boost before running cmake for ikos. Not sure if this is relevant.
Hello @yiyuaner,
I have never seen this error before, but I think it might come from LLVM, as @zadlg mentioned.
ikos needs runtime type information (RTTI) and exception handling (EH), so you should consider compiling LLVM with -DLLVM_ENABLE_RTTI=ON -DLLVM_ENABLE_EH=ON
By the way, we have installation instruction for CentOS 7.5, see doc/INSTALL_CENTOS_7.5.md It uses the bootstrap script to compile all the dependencies (boost, llvm, etc..) automatically with the right set of flags. You can consider trying this too.
Hello @yiyuaner,
I have never seen this error before, but I think it might come from LLVM, as @zadlg mentioned.
ikos needs runtime type information (RTTI) and exception handling (EH), so you should consider compiling LLVM with
-DLLVM_ENABLE_RTTI=ON -DLLVM_ENABLE_EH=ON
By the way, we have installation instruction for CentOS 7.5, see doc/INSTALL_CENTOS_7.5.md It uses the bootstrap script to compile all the dependencies (boost, llvm, etc..) automatically with the right set of flags. You can consider trying this too.
Ok, I can install successfully now. Thanks.
After building ikos, I run it on the given example program loop.c:
ikos loop.c
The program crashed and I got the following stack trace:
Also
make check
fails too:I'm using llvm 4.0.1. llvm 4.0.1 is built using cmake:
And ikos is built by:
Hope for your help, thanks!