[LLVMdev] undefined symbol: _ZN4llvm12PassRegistry12registerPassERKNS_8PassInfoEb
Duncan Sands
baldrick at free.fr
Fri Oct 14 08:26:46 PDT 2011
Hi Ryan, are both opt and LLVMHello from the same version of LLVM? And the same
build of LLVM (in particular built the same way wrt optimizations, enabling of
assertions etc)?
Ciao, Duncan.
> Has anyone seen this error before? I'm trying to load a pass that apparently
> isn't registered, it's just the "Hello World" sample , so I don't see the problem.
>
> Error:
>
> me at here:~/llvm/llvm_core/llvm-2.9$ opt -load Release/lib/LLVMHello.so -hello
> <cdfg.c> /dev/null
> Error opening 'Release/lib/LLVMHello.so': Release/lib/LLVMHello.so: undefined
> symbol: _ZN4llvm12PassRegistry12registerPassERKNS_8PassInfoEb
> -load request ignored.
> opt: Unknown command line argument '-hello'. Try: 'opt -help'
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list