https://llvm.org/bugs/show_bug.cgi?id=27058

            Bug ID: 27058
           Summary: ThreadPool.h fails to build with gcc 5.3.2 when
                    cross-compiling for powerpc64
           Product: libraries
           Version: 3.8
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Support Libraries
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

In file included from
/root/git/freebsd/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/ThreadPool.cpp:14:0:
/root/git/freebsd/lib/clang/libllvmsupport/../../../contrib/llvm/include/llvm/Support/ThreadPool.h:127:8:
error: 'atomic' in namespace 'std' does not name a template type
   std::atomic<unsigned> ActiveThreads;
        ^

Came from http://reviews.llvm.org/D15464 r255593.

Simple patch attached.

I'm unable to reproduce without using a powerpc64 cross-compiler so I'm not
sure exactly what is going on here as gcc 4.9-6 all work fine when not
cross-compiling.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to