Open hawkw opened 8 years ago
Hi, I have the same problem. It seems a link problem, but I have no idea. Do you have any solution?
This error seems to be because of iron-llvm
issue. I'll try to look at it.
I found a solution for this problem. Surprisingly, the solution is rebuilding llvm with the following options.
-DLLVM_TARGETS_TO_BUILD:STRING="X86" -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DLLVM_ENABLE_RTTI=ON -DLLVM_ENABLE_PIC=ON -DLLVM_ENABLE_TERMINFO=OFF -DLLVM_ENABLE_ZLIB=OFF
LLVM_ENABLE_PIC
seems to relate to this problem, but it is enabled by default. Maybe, zlib or terminfo are related, but I cannot understand what the real problem is.
I can confirm this issue aswell, everything ran fine up until chapter 3 adding JIT.
Trying to build
iron-kaleidoscope
with a fresh clone of the project (after running$ cargo update
), I get the following error message:This could be a config issue on my part, but I'm not sure what is configured incorrectly.