You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ 32%] Linking CXX executable ikos-pp
/usr/bin/ld: cannot find -lLLVMAggressiveInstCombine: No such file or directory
/usr/bin/ld: cannot find -lLLVMAnalysis: No such file or directory
/usr/bin/ld: cannot find -lLLVMAsmParser: No such file or directory
/usr/bin/ld: cannot find -lLLVMBitReader: No such file or directory
/usr/bin/ld: cannot find -lLLVMBitWriter: No such file or directory
/usr/bin/ld: cannot find -lLLVMCodeGen: No such file or directory
/usr/bin/ld: cannot find -lLLVMCore: No such file or directory
/usr/bin/ld: cannot find -lLLVMCoroutines: No such file or directory
/usr/bin/ld: cannot find -lLLVMInstCombine: No such file or directory
/usr/bin/ld: cannot find -lLLVMInstrumentation: No such file or directory
/usr/bin/ld: cannot find -lLLVMipo: No such file or directory
/usr/bin/ld: cannot find -lLLVMIRReader: No such file or directory
/usr/bin/ld: cannot find -lLLVMMC: No such file or directory
/usr/bin/ld: cannot find -lLLVMObjCARCOpts: No such file or directory
/usr/bin/ld: cannot find -lLLVMScalarOpts: No such file or directory
/usr/bin/ld: cannot find -lLLVMTarget: No such file or directory
/usr/bin/ld: cannot find -lLLVMTransformUtils: No such file or directory
/usr/bin/ld: cannot find -lLLVMVectorize: No such file or directory
collect2: error: ld returned 1 exit status
Reading through this, I assumed that the issue was the llvm built as one single shared library. Looking at how llvm is packaged on arch linux, that seemed to be true.
By adding -DBUILD_SHARED_LIBS=ON and -DIKOS_LINK_LLVM_DYLIB=ON to ikos cmake parameters,
and also including #include <array> into these files (There were several compiler errors):
I was trying to build ikos (master branch) on Arch Linux.
I did:
Which failed with a linker error:
Reading through this, I assumed that the issue was the llvm built as one single shared library. Looking at how llvm is packaged on arch linux, that seemed to be true.
By adding
-DBUILD_SHARED_LIBS=ON
and-DIKOS_LINK_LLVM_DYLIB=ON
to ikos cmake parameters,and also including
#include <array>
into these files (There were several compiler errors):I was able to build it successfully.
However, after running
make check
, multiple tests failedLooking at logs to see why they're not passing, they seem to fail with the same error:
Maybe that is related to #61?
Also, it would be great if you tell us on which linux distro you build ikos so that we wouldn't have to deal with non-standard llvm distributions.
The text was updated successfully, but these errors were encountered: