<html>
    <head>
      <base href="http://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 --- - Can't build lldb 3.4.2 on OS X 10.8.5"
   href="http://llvm.org/bugs/show_bug.cgi?id=20406">20406</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Can't build lldb 3.4.2 on OS X 10.8.5
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.4
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </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>lldb-dev@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>noloader@gmail.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This is kind of ironic considering Apple contributes heavily to LLVM....

Unpacked LLDB next to Clang according to <a href="http://lldb.llvm.org/build.html">http://lldb.llvm.org/build.html</a>:

    llvm
    |
    `-- tools
        |
        +-- clang
        |
        `-- lldb

Created a build directory, configure'd, and make'd:

    mkdir build
    cd build
    ../llvm/configure --enable-optimized --prefix=/usr/local
    make -j4

That results in an error "'atomic' file not found".

As can be seen above, I clearly did not configure with '--enable-cxx11'.

I have no idea how to instruct LLDB to accommodate Apple's ancient platform
files, or how to instruct LLDB to use early 2000 namespaces. The docs don't
discuss it.

The platform is OS X 10.8.5, x64, fully patched. Xcode version 5.1.1 (5B1008).

    $ uname -a
    Darwin riemann.home.pvt 12.5.0 Darwin Kernel Version 12.5.0: Sun Sep 29
13:33:47 PDT 2013; 
    root:xnu-2050.48.12~1/RELEASE_X86_64 x86_64

And

    $ clang -v
    Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
    Target: x86_64-apple-darwin12.5.0
    Thread model: posix

*********

    llvm[3]: Compiling lldb.cpp for Release+Asserts build
    llvm[3]: Compiling lldb-log.cpp for Release+Asserts build
    In file included from
/Users/jeffrey/Clang-3.4.2/llvm/tools/lldb/source/lldb-log.cpp:10:
    In file included from
/Users/jeffrey/Clang-3.4.2/llvm/tools/lldb/source/../include/lldb/lldb-private-log.h:17:
    In file included from
/Users/jeffrey/Clang-3.4.2/llvm/tools/lldb/source/../include/lldb/lldb-private.h:19:
    In file included from
/Users/jeffrey/Clang-3.4.2/llvm/tools/lldb/source/../include/lldb/lldb-public.h:13:
    In file included from
/Users/jeffrey/Clang-3.4.2/llvm/tools/lldb/source/../include/lldb/lldb-defines.h:13:
    In file included from
/Users/jeffrey/Clang-3.4.2/llvm/tools/lldb/source/../include/lldb/lldb-types.h:14:
    In file included from
/Users/jeffrey/Clang-3.4.2/llvm/tools/lldb/source/../include/lldb/lldb-forward.h:15:
   
/Users/jeffrey/Clang-3.4.2/llvm/tools/lldb/source/../include/lldb/Utility/SharingPtr.h:22:10:
fatal error: 
          'atomic' file not found
    #include <atomic>
             ^
    In file included from
/Users/jeffrey/Clang-3.4.2/llvm/tools/lldb/source/lldb.cpp:12:
    In file included from
/Users/jeffrey/Clang-3.4.2/llvm/tools/lldb/source/../include/lldb/lldb-private.h:19:
    In file included from
/Users/jeffrey/Clang-3.4.2/llvm/tools/lldb/source/../include/lldb/lldb-public.h:13:
    In file included from
/Users/jeffrey/Clang-3.4.2/llvm/tools/lldb/source/../include/lldb/lldb-defines.h:13:
    In file included from
/Users/jeffrey/Clang-3.4.2/llvm/tools/lldb/source/../include/lldb/lldb-types.h:14:
    In file included from
/Users/jeffrey/Clang-3.4.2/llvm/tools/lldb/source/../include/lldb/lldb-forward.h:15:
   
/Users/jeffrey/Clang-3.4.2/llvm/tools/lldb/source/../include/lldb/Utility/SharingPtr.h:22:10:
fatal error: 
          'atomic' file not found
    #include <atomic>
             ^
    1 error generated.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>