Error on MAC OS: Unable to load the JIT library

“unable to load the jit library” error occurs in the recent Glow version (12/13/2019).

In version (8/11 2019), there is no runtime error under both backends: interpreter and CPU.
However, the recent Glow version is not working with “CPU backend”. In case of interpreter, it is still working.

I used llvm@7 for compiling Glow.

The detailed error and program arguments are below.

cat_285.png
-m=conv_batchnorm.onnx
-image-mode=0to1
-model-input-name=input.1
-time
-use-imagenet-normalization
-backend=CPU
WARNING: Logging before InitGoogleLogging() is written to STDERR
F1213 12:51:48.990640 176840704 LLVMIRGen.cpp:194] Check failed: llmodule_.get() Unable to load the JIT library.
*** Check failure stack trace: ***
0  image-classifier         0x00000001042b1c55 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 40
1  image-classifier         0x00000001042b2088 SignalHandler(int) + 180
2  libsystem_platform.dylib 0x00007fff64782b5d _sigtramp + 29
3  libsystem_platform.dylib 000000000000000000 _sigtramp + 2609370304
4  libsystem_c.dylib        0x00007fff6463c6a6 abort + 127
5  libglog.0.dylib          0x00000001088ef991 google::InstallFailureFunction(void (*)()) + 0
6  libglog.0.dylib          0x00000001088eeae7 google::LogMessage::SendToLog() + 723
7  libglog.0.dylib          0x00000001088ef349 google::LogMessage::Flush() + 175
8  libglog.0.dylib          0x00000001088f29ef google::LogMessageFatal::~LogMessageFatal() + 15
9  libglog.0.dylib          0x00000001088efc77 google::LogMessageFatal::~LogMessageFatal() + 9
10 image-classifier         0x0000000104410096 glow::LLVMIRGen::initCodeGen() + 422
11 image-classifier         0x000000010443bebf glow::LLVMBackend::compileIRWithoutConstants(glow::IRFunction*) const + 271
12 image-classifier         0x000000010443c639 glow::LLVMBackend::compile(glow::Function*, glow::BackendOptions const&) const + 393
13 image-classifier         0x00000001043467e0 glow::runtime::Provisioner::provision(std::__1::vector<glow::runtime::DAG, std::__1::allocator<glow::runtime::DAG> >&, glow::Module&, glow::CompilationContext&) + 4096
14 image-classifier         0x0000000103f3f207 glow::runtime::HostManager::addNetwork(std::__1::unique_ptr<glow::Module, std::__1::default_delete<glow::Module> >, glow::CompilationContext&, bool) + 4007
15 image-classifier         0x0000000103e9ad37 glow::Loader::compile(glow::CompilationContext&) + 2055
16 image-classifier         0x0000000103edc4e8 buildAndCompileAndGetInAndOutPair(glow::Loader&, glow::PlaceholderBindings&, glow::Type const*) + 456
17 image-classifier         0x0000000103edb45e main::$_2::operator()(unsigned long, unsigned long) const + 1342
18 image-classifier         0x0000000103edaf13 main::$_0::operator()() const + 35
19 image-classifier         0x0000000103edaead decltype(std::__1::forward<main::$_0>(fp)()) std::__1::__invoke<main::$_0>(main::$_0&&) + 29
20 image-classifier         0x0000000103edae15 void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, main::$_0>(std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, main::$_0>&, std::__1::__tuple_indices<>) + 37
21 image-classifier         0x0000000103eda6e3 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, main::$_0> >(void*) + 99
22 libsystem_pthread.dylib  0x00007fff6478b2eb _pthread_body + 126
23 libsystem_pthread.dylib  0x00007fff6478e249 _pthread_start + 66
24 libsystem_pthread.dylib  0x00007fff6478a40d thread_start + 13

For completeness, this is being tracked here.