-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Undefined symbols for architecture x86_64 #2392
Comments
This is usually an indicator that the LLVM libraries you are linking with were not compiled with RTTI. What platform are you using? Did you use eosio_build.sh? |
@spoonincode My platform is macOS Sierra 10.12.6; |
same error |
There have been numerous fixes to the MacOS build script this week. Please update your clone with |
@WildBlackBear @pranksteess run these commands and paste the output here: |
same error |
@pacificcode this is my anwser |
@WildBlackBear @pranksteess @bilibiliChangKai brew remove --force llvm |
That didn't help, still have the same issue:
It seems that mine error is related to gettext. Which version of gettext are you using? |
Related: #1319 |
In my case, reinstalling gettext helped.
|
@pacificcode |
reinstalling gettext worked for me as well. |
@bilibiliChangKai thanks, reinstalling gettext worked for me. |
Thanks @schabluk If anyone is interested, this is what I ran to install EOS mainnet on macOS |
I follow getting start, but there are something wrong with me. Could you please help me?
When I use "./eosio_build.sh",there are 2 errors
Undefined symbols for architecture x86_64: "typeinfo for llvm::Instruction", referenced from: typeinfo for llvm::SelectInst in libRuntime.a(LLVMEmitIR.cpp.o) "typeinfo for llvm::MemoryBuffer", referenced from: typeinfo for llvm::ObjectMemoryBuffer in libRuntime.a(LLVMJIT.cpp.o) "typeinfo for llvm::JITSymbolResolver", referenced from: typeinfo for LLVMJIT::NullResolver in libRuntime.a(LLVMJIT.cpp.o) "typeinfo for llvm::RTDyldMemoryManager", referenced from: typeinfo for LLVMJIT::UnitMemoryManager in libRuntime.a(LLVMJIT.cpp.o) "typeinfo for llvm::CmpInst", referenced from: typeinfo for llvm::FCmpInst in libRuntime.a(LLVMEmitIR.cpp.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [libraries/wasm-jit/Source/Programs/Test] Error 1 make[1]: *** [libraries/wasm-jit/Source/Programs/CMakeFiles/Test.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs....
What should I do?
The text was updated successfully, but these errors were encountered: