http://llvm.org/bugs/show_bug.cgi?id=22408
Bug ID: 22408
Summary: clang no longer bootstraps itself on AArch64 linux
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: AArch64
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
When building clang/llvm on aarch64-linux, using a clang compiler, the
following error is produced:
/usr/bin/ld: lib/libLLVMSupport.a(PrettyStackTrace.cpp.o): unrecognized
relocation (0x20c) in section `.text._ZN4llvm21PrettyStackTraceEntryC2Ev'
/usr/bin/ld: final link failed: Bad value
clang-3.7: error: linker command failed with exit code 1 (use -v to see
invocation)
This is because llvm recently started making use of a thread_local variable in
PrettyStackTrace.cpp, and the AArch64 backend in llvm produces TLS relocations
that are not supported by gnu ld.bfd.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs