[LLVMbugs] [Bug 22408] New: clang no longer bootstraps itself on AArch64 linux

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jan 30 09:02:33 PST 2015


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: unassignedbugs at nondot.org
          Reporter: kristof.beyls at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150130/84605e76/attachment.html>


More information about the llvm-bugs mailing list