[llvm-bugs] [Bug 27058] New: ThreadPool.h fails to build with gcc 5.3.2 when cross-compiling for powerpc64
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Mar 24 12:39:54 PDT 2016
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: unassignedbugs at nondot.org
Reporter: bryan at shatow.net
CC: llvm-bugs at lists.llvm.org
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160324/3c06854e/attachment.html>
More information about the llvm-bugs
mailing list