[llvm-bugs] [Bug 26676] New: relocation R_X86_64_TLSGD not handled creating shared library

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Feb 19 17:20:42 PST 2016


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

            Bug ID: 26676
           Summary: relocation R_X86_64_TLSGD not handled creating shared
                    library
           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
    Classification: Unclassified

Created attachment 15922
  --> https://llvm.org/bugs/attachment.cgi?id=15922&action=edit
sample code demonstrating R_X86_64_TLSGD issue

The attached code sample is a reduced reproduction case from an issue affecting
shared libraries on FreeBSD.

Link the attached to a .so via:

cc -g -Wall -fPIC -o tls_lib.o -c tls_lib.c
cc -g -L/lib -fuse-ld=lld -shared -o tls_lib.so tls_lib.o

The resulting output tls_lib.so contains an unhandled R_X86_64_TLSGD.

-- 
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/20160220/35ed68a9/attachment.html>


More information about the llvm-bugs mailing list