<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 --- - test cxa_thread_atexit_test.pass.cpp fails"
   href="https://llvm.org/bugs/show_bug.cgi?id=25874">25874</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>test  cxa_thread_atexit_test.pass.cpp fails
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libc++abi
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.7
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>Linux
          </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>All Bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>burkett@rice.edu
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, mclow.lists@gmail.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>On RedHat 6.5, cxa_thread_atexit_test.pass.cpp fails.

>From Clang Documentation 
  <a href="http://blog.llvm.org/2013/04/clang-support-for-c11-and-beyond.html">http://blog.llvm.org/2013/04/clang-support-for-c11-and-beyond.html</a>:
// Clang now supports C++11s thread_local keyword, including dynamic
// initialization and destruction of thread-local objects. Dynamic
// destruction requires a C++ runtime library which provides
// __cxa_thread_atexit, which is currently only provided by the g++4.8
// C++ runtime library.


I had to add "// XFAIL: linux"  to get around this issue.

This is a build using gpp/clang-3.7 to build clant3.7/clang3.7

Let me know what other information I need to supply to help with this problem.</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>