<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - ThreadPool.h fails to build with gcc 5.3.2 when cross-compiling for powerpc64"
   href="https://llvm.org/bugs/show_bug.cgi?id=27058">27058</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>ThreadPool.h fails to build with gcc 5.3.2 when cross-compiling for powerpc64
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.8
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Support Libraries
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>bryan@shatow.net
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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 <a href="http://reviews.llvm.org/D15464">http://reviews.llvm.org/D15464</a> 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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>