[LLVMdev] JIT and libgcc_s.so
james.molloy at arm.com
Mon Oct 1 03:09:08 PDT 2012
There are symbols in libgcc (and compiler-rt) that JIT-compiled modules
may need. These are currently linked correctly because lli and friends
are linked against libgcc_s.so (i.e. shared library version of libgcc,
so dlopen/dlsym works).
However if a consumer links statically, dlsym won't find all compiler
required functions (only the ones that were required by the JIT-compiler
itself will be linked).
So the question is, do we want to support users of the MCJIT linking
statically to libgcc/compiler-rt? Or explicitly not handle this
More information about the llvm-dev