[LLVMbugs] [Bug 2514] New: Relocation when using llvm in shared library

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Jul 3 02:35:34 PDT 2008


http://llvm.org/bugs/show_bug.cgi?id=2514

           Summary: Relocation when using llvm in shared library
           Product: libraries
           Version: 2.3
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: cyb at lepi.org
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=1794)
 --> (http://llvm.org/bugs/attachment.cgi?id=1794)
Workaround patch for llvm 2.3

When I try to link a shared library with llvm's x86 code generator, on a 64bits
machine, I get an error about a R_X86_64_PC32 relocation error. The error is
caused by the assembly function called in 'lib/Target/X86/X86JITInfo.cpp'.

I have attached a patch that work arround the issue (for llvm 2.3), in waiting
for a better solution.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list