[lldb-dev] [Bug 20406] New: Can't build lldb 3.4.2 on OS X 10.8.5

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jul 23 05:15:56 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=20406

            Bug ID: 20406
           Summary: Can't build lldb 3.4.2 on OS X 10.8.5
           Product: lldb
           Version: 3.4
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: noloader at gmail.com
    Classification: Unclassified

This is kind of ironic considering Apple contributes heavily to LLVM....

Unpacked LLDB next to Clang according to http://lldb.llvm.org/build.html:

    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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140723/f7e31257/attachment.html>


More information about the lldb-dev mailing list