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

Reply via email to