[LLVMbugs] [Bug 3801] non- PIC-aware assembler code in X86 jit

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Sep 6 13:22:29 PDT 2009


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


Anton Korobeynikov <asl at math.spbu.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED




--- Comment #19 from Anton Korobeynikov <asl at math.spbu.ru>  2009-09-06 15:22:29 ---
(In reply to comment #18)
> (In reply to comment #17)
> > (In reply to comment #15)
> > > It was confirmed from many sources that the patch works correctly for both 32
> > > and 64 bit linux, and fixes the issue. I think the problem reported by Anton
> > > was just due an unclean build, so please include it in 2.6
> > No, it is not. I think you haven't tried to build libLTO.so, have you?
> > 
> 
> The patch works correctly on 32-bit Linux.
Right, the problem is only on 64-bit systems, because 32 bit pcrel relocation
is generated which is not suitable for PIC.

I've committed different version of this patch, which seems to work:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090831/086505.html


-- 
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