Recently I have been getting a build failure while trying to link lli when performing a cmake based build. The failure is:
“_LLVMLinkInMCJIT”, referenced from:
(anonymous namespace)::ForceMCJITLinking::ForceMCJITLinking()in lli.cpp.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [bin/lli] Error 1
I have fixed this with the attached patch. It anybody else getting this error? Should I commit the patch?
mcjit.patch (878 Bytes)