[LLVMbugs] [Bug 13872] New: thread-local storage is unsupported for the current target

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Sep 19 05:29:35 PDT 2012


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: unassignedbugs at nondot.org
        ReportedBy: dhill at mindcry.org
                CC: llvmbugs at cs.uiuc.edu
    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.



More information about the llvm-bugs mailing list