http://llvm.org/bugs/show_bug.cgi?id=13872

             Bug #: 13872
           Summary: thread-local storage is unsupported for the current
                    target
           Product: compiler-rt
           Version: unspecified
          Platform: PC
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Attempting to build LLVM + Clang + compiler-rt from GIT on Bitrig OS (OpenBSD
fork).  Compile fails with the error below:


/llvm-3.2.src/projects/compiler-rt/lib/tsan/rtl/tsan_rtl.h:308:8: error:
thread-local storage is unsupported for the current
      target
extern THREADLOCAL char cur_thread_placeholder[];
       ^
/usr/ports/pobj/bitrig-llvm-3.2/llvm-3.2.src/projects/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_internal_defs.h:45:24:
note: expanded from macro
      'THREADLOCAL'
# define THREADLOCAL   __thread
                       ^
1 error generated.
gmake[2]: ***
[projects/compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-x86_64.dir/tsan_clock.cc.o]
Error 1

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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

Reply via email to