https://llvm.org/bugs/show_bug.cgi?id=25202
Bug ID: 25202 Summary: unrecognized reloc 23 Product: lld Version: unspecified Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: All Bugs Assignee: unassignedb...@nondot.org Reporter: ism...@i10z.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified λ clang -v clang version 3.8.0 (trunk 250389) Target: x86_64-suse-linux Thread model: posix InstalledDir: /opt/clang/bin Found candidate GCC installation: /usr/lib64/gcc/x86_64-suse-linux/5 Selected GCC installation: /usr/lib64/gcc/x86_64-suse-linux/5 Candidate multilib: .;@m64 Candidate multilib: 32;@m32 Selected multilib: .;@m64 λ cat test.c #include <stdio.h> __thread double tlvar; // following line is needed so get_value() is not inlined by compiler double get_value() __attribute__((noinline)); double get_value() { return tlvar; } int main() { double f = 0.0; tlvar = 1.0; return 0; } λ clang -fuse-ld=lld2 test.c -lm unrecognized reloc 23 clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation) -- 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