Ryan Taylor
2011-Oct-14 15:08 UTC
[LLVMdev] undefined symbol: _ZN4llvm12PassRegistry12registerPassERKNS_8PassInfoEb
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' -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111014/dd5d1299/attachment.html>
Duncan Sands
2011-Oct-14 15:26 UTC
[LLVMdev] undefined symbol: _ZN4llvm12PassRegistry12registerPassERKNS_8PassInfoEb
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
Ryan Taylor
2011-Oct-14 15:41 UTC
[LLVMdev] Fwd: undefined symbol: _ZN4llvm12PassRegistry12registerPassERKNS_8PassInfoEb
---------- Forwarded message ---------- From: Duncan Sands <baldrick at free.fr> Date: Fri, Oct 14, 2011 at 8:38 AM Subject: Re: [LLVMdev] undefined symbol: _ZN4llvm12PassRegistry12registerPassERKNS_8PassInfoEb To: Ryan Taylor <ryta1203 at gmail.com> Hi Ryan, please write also to the list and not just to me personally. That way others can join the discussion, and it will be archived for the benefit of others with similar problems in the future. Thanks, Duncan. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111014/15e4084f/attachment.html>
Ryan Taylor
2011-Oct-14 15:51 UTC
[LLVMdev] undefined symbol: _ZN4llvm12PassRegistry12registerPassERKNS_8PassInfoEb
Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: ../llvm_gcc/llvm-gcc-4.2-2.9.source/configure -program-prefix=llvm --enable-llvm=/home/ryan/llvm/llvm_core/llvm-2.9 --enable-languages=c,c++ --disable-jit : (reconfigured) ../llvm_gcc/llvm-gcc-4.2-2.9.source/configure -program-prefix=llvm --enable-llvm=/home/ryan/llvm/llvm_core/llvm-2.9 --enable-languages=c,c++ --disable-jit Thread model: posix gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build) Not sure if that helps or not. That's the llvmgcc version though. On Fri, Oct 14, 2011 at 8:41 AM, Ryan Taylor <ryta1203 at gmail.com> wrote:> > > ---------- Forwarded message ---------- > From: Duncan Sands <baldrick at free.fr> > Date: Fri, Oct 14, 2011 at 8:38 AM > Subject: Re: [LLVMdev] undefined symbol: > _ZN4llvm12PassRegistry12registerPassERKNS_8PassInfoEb > To: Ryan Taylor <ryta1203 at gmail.com> > > > Hi Ryan, please write also to the list and not just to me personally. > That way others can join the discussion, and it will be archived for > the benefit of others with similar problems in the future. > > Thanks, Duncan. > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111014/a66b8625/attachment.html>
Apparently Analagous Threads
- [LLVMdev] Fwd: undefined symbol: _ZN4llvm12PassRegistry12registerPassERKNS_8PassInfoEb
- [LLVMdev] undefined symbol: _ZN4llvm12PassRegistry12registerPassERKNS_8PassInfoEb
- [LLVMdev] undefined symbol: _ZN4llvm12PassRegistry12registerPassERKNS_8PassInfoEb
- [LLVMdev] Extract Loop Failing
- [LLVMdev] Extract Loop Failing