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: unassignedb...@nondot.org
          Reporter: ema...@freebsd.org
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to