[llvm-bugs] [Bug 27893] New: LLD does not implement TLS relocations required by the FreeBSD base system

via llvm-bugs llvm-bugs at lists.llvm.org
Thu May 26 08:31:48 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=27893

            Bug ID: 27893
           Summary: LLD does not implement TLS relocations required by the
                    FreeBSD base system
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: emaste at freebsd.org
                CC: llvm-bugs at lists.llvm.org
            Blocks: 23214
    Classification: Unclassified

Trying to link the FreeBSD/mips64 base system, with a workaround in place for
PR 27880, fails when linking libc due to missing TLS relocation support:

--- libc.so.7.full ---
relocation R_MIPS_TLS_GD cannot be used when making a shared object; recompile
with -fPIC.
relocation R_MIPS_TLS_GD cannot be used when making a shared object; recompile
with -fPIC.
relocation R_MIPS_TLS_GD cannot be used when making a shared object; recompile
with -fPIC.
relocation R_MIPS_TLS_GD cannot be used when making a shared object; recompile
with -fPIC.
relocation R_MIPS_TLS_GD cannot be used when making a shared object; recompile
with -fPIC.
relocation R_MIPS_TLS_GD cannot be used when making a shared object; recompile
with -fPIC.
relocation R_MIPS_TLS_GD cannot be used when making a shared object; recompile
with -fPIC.
*** [libc.so.7.full] Error code 1

PR submitted for tracking; Simon is working on an implementation.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160526/c6ae1394/attachment.html>


More information about the llvm-bugs mailing list