ambika
2010-Apr-11 16:13 UTC
[LLVMdev] [Fwd: Can someone help me with error while i make my own pass]
-------------- next part -------------- An embedded message was scrubbed... From: ambika <ambika at cse.iitb.ac.in> Subject: [LLVMdev] Can someone help me with error while i make my own pass Date: Thu, 08 Apr 2010 21:40:25 +0530 Size: 4901 URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100411/33876147/attachment.eml>
Chris Lattner
2010-Apr-11 18:12 UTC
[LLVMdev] [Fwd: Can someone help me with error while i make my own pass]
Try doing a clean build, then doing 'make ENABLE_PIC=1' -Chris On Apr 11, 2010, at 9:13 AM, ambika wrote:> > > From: ambika <ambika at cse.iitb.ac.in> > Date: April 8, 2010 9:10:25 AM PDT > To: llvmdev at cs.uiuc.edu > Subject: [LLVMdev] Can someone help me with error while i make my own pass > > > Hi, > > I have added LoaderInterface pass in llvm code and then I invoke this > pass in other pass. Iget the following error: > > llvm[0]: Linking Release Loadable Module MyDfg.so > /usr/bin/ld: /home/ambika/llvm_3/llvm-obj/lib/ss-fs/Release/MyDfg.o: > relocation R_386_GOTOFF against undefined symbol `(anonymous > namespace)::LoaderInterface::ID' can not be used when making a shared object > /usr/bin/ld: final link failed: Bad value > collect2: ld returned 1 exit status > make: *** [/home/ambika/llvm_3/llvm-obj/Release/lib/MyDfg.so] Error 1 > > > Can someone tell me the reason for this error. > > regards, > Ambika > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100411/23d5b59e/attachment.html>
ambika
2010-Apr-12 11:49 UTC
[LLVMdev] [Fwd: Can someone help me with error while i make my own pass]
Tried that but still no success Chris Lattner wrote:> Try doing a clean build, then doing 'make ENABLE_PIC=1' > > -Chris > > On Apr 11, 2010, at 9:13 AM, ambika wrote: > >> >> >> *From: *ambika <ambika at cse.iitb.ac.in <mailto:ambika at cse.iitb.ac.in>> >> *Date: *April 8, 2010 9:10:25 AM PDT >> *To: *llvmdev at cs.uiuc.edu <mailto:llvmdev at cs.uiuc.edu> >> *Subject: **[LLVMdev] Can someone help me with error while i make my >> own pass* >> >> >> Hi, >> >> I have added LoaderInterface pass in llvm code and then I invoke this >> pass in other pass. Iget the following error: >> >> llvm[0]: Linking Release Loadable Module MyDfg.so >> /usr/bin/ld: /home/ambika/llvm_3/llvm-obj/lib/ss-fs/Release/MyDfg.o: >> relocation R_386_GOTOFF against undefined symbol `(anonymous >> namespace)::LoaderInterface::ID' can not be used when making a shared >> object >> /usr/bin/ld: final link failed: Bad value >> collect2: ld returned 1 exit status >> make: *** [/home/ambika/llvm_3/llvm-obj/Release/lib/MyDfg.so] Error 1 >> >> >> Can someone tell me the reason for this error. >> >> regards, >> Ambika >> >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu <mailto:LLVMdev at cs.uiuc.edu> >> http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >> >> >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >
Reasonably Related Threads
- [LLVMdev] [Fwd: Can someone help me with error while i make my own pass]
- [LLVMdev] [Fwd: Can someone help me with error while i make my own pass]
- [LLVMdev] Can someone help me with error while i make my own pass
- [LLVMdev] [Fwd: Error while running my pass with opt]
- [LLVMdev] Duplicating a Basic Block