[LLVMdev] [Fwd: Can someone help me with error while i make my own pass]
ambika
ambika at cse.iitb.ac.in
Mon Apr 12 04:49:17 PDT 2010
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
>
More information about the llvm-dev
mailing list