[LLVMdev] [Fwd: Can someone help me with error while i make my own pass]
Chris Lattner
clattner at apple.com
Sun Apr 11 11:12:08 PDT 2010
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>
More information about the llvm-dev
mailing list