[LLVMbugs] [Bug 1299] NEW: Incorrect use of RIP Relative to access globals on x86_64

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Apr 1 09:05:22 PDT 2007


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

           Summary: Incorrect use of RIP Relative to access globals on
                    x86_64
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: jeffc at jolt-lang.org


Absolute addressing is never used to address a global variable.  This is
incorrect as there is no guarantee that a given global is within 2GB of an
instruction referencing it.  On some operating systems, such as FreeBSD, the JIT
will almost always find the globals more than 2GB away from code, but on any OS
all it takes is more than 2GB of global variables to make this happen.

This bug causes numerous JIT failures in llvm-test on FreeBSD.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list