[LLVMbugs] [Bug 13048] New: Invalid x86 tls sequence

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jun 7 10:31:53 PDT 2012


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

             Bug #: 13048
           Summary: Invalid x86 tls sequence
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: ASSIGNED
          Severity: enhancement
          Priority: P
         Component: Backend: X86
        AssignedTo: rafael.espindola at gmail.com
        ReportedBy: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


I am getting the following error when linking firefox with gold:

test.o:test.i:function choose_arena: error: TLS relocation against invalid
instruction

The problem is that clang is producing the sequence

  11:   8d 04 1d 00 00 00 00    lea    0x0(,%ebx,1),%eax
  18:   e8 fc ff ff ff          call   19 <choose_arena+0x19>

and the linker expects

  11:   8d 83 00 00 00 00       lea    0x0(%ebx),%eax
  17:   e8 fc ff ff ff          call   18 <choose_arena+0x18>

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