[LLVMdev] error open a share library generated by a LLVM pass

Q Z zhaoqian301 at gmail.com
Thu Jul 30 18:06:37 PDT 2015


Hello,
use command :
opt -load ../Release+Asserts/XX.o -XX <packetbuf.bc> /dev/null

then I got the error by use the XX.o in the LLVM pass directory:
Error opening "../Release+Asserts/XX.o" only ET_DYN and ET_EXEC can be
loaded
-load request ignored.

 I got another error by use the XX.o in the LLVM src directory
$LLVM_SRC/Release+Asserts/lib/XX.o:
Error opening '../../Release+Asserts/lib/XX.so':
../../Release+Asserts/lib/XX.so: undefined symbol:
_ZN4llvm18EQTDDataStructures2IDE
  -load request ignored.

I installed LLVM-3.3 in ubuntu 12.04.5.  there are not errors when I make
the LLVM pass.

Anybody can help me? why I got these errors?

best regards,
zhaoqian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150731/01a5b1a4/attachment.html>


More information about the llvm-dev mailing list