[LLVMdev] Error when loading omega library with llvm-2.7

Duncan Sands baldrick at free.fr
Thu Oct 14 02:04:52 PDT 2010


Hi Hui Hang,

> We have met with some errors when load omega library with opt (llvm-2.7), it reports some errors with
>    Error opening '/curr/huinghuang/llvm-2.7/Release/lib/omega_interface.so': /curr/huinghuang/llvm-2.7/Release/lib/omega_interface.so: undefined symbol:  _ZN5omega15WANT_SEGM_FAULTE
>
> It seems that there is some symbols that can not be recognized, however, when we can find that symbol in the compiled omega library. Since the omega library .so can be loaded with opt in llvm-2.3, we are confused why it does not work with llvm-2.7.

I don't think there's enough information here for anybody to be able to help
you.  Omega is not part of LLVM (where did you get it from?), meaning that
we can't try to reproduce your problem.  As far as I know LLVM just uses the
standard operating system routines to load dynamic libraries, and it looks like
this is failing, so presumably that symbol really is undefined in spite of what
you say.

Ciao,

Duncan.



More information about the llvm-dev mailing list