<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 --- - lldb 3.8.0.rc1 fails to build out of llvm tree"
   href="https://llvm.org/bugs/show_bug.cgi?id=26363">26363</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>lldb 3.8.0.rc1 fails to build out of llvm tree
          </td>
        </tr>

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

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

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

        <tr>
          <th>OS</th>
          <td>All
          </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@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>sugak@fb.com
          </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>Build and install llvm, clang and compiler-rt. Clone lldb into a directory
outside of llvm tree. Build it:
```
% cmake -G Ninja -DCMAKE_BUILD_TYPE=Release
-DLLDB_PATH_TO_LLVM_BUILD=/home/sugak/llvm/3.8.0/centos6-native/da39a3e
-DLLDB_PATH_TO_CLANG_BUILD=/home/sugak/llvm/3.8.0/centos6-native/da39a3e
% ninja

FAILED: /home/sugak/gcc/4.9.x/centos6-native/1317bc4/bin/g++  
-DHAVE_NR_PROCESS_VM_READV -DHAVE_ROUND -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
-fno-omit-frame-pointer -momit-leaf-frame-pointer -m64 -mtune=generic
-isystem/home/sugak/python/2.7.8/centos6-native/da39a3e/include
-isystem/home/sugak/ncurses/5.9/centos6-native/da39a3e/include
-isystem/home/engshare/third-party2/libedit/3.1/centos6-native/e1c8e90/include
-isystem/home/engshare/third-party2/llvm-fb/stable/centos6-native/da39a3e/include
 -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -ffu
nction-sections -fdata-sections -Wno-deprecated-declarations
-Wno-unknown-pragmas -Wno-strict-aliasing -Wno-deprecated-register
-Wno-vla-extension  -fno-exceptions -fno-rtti -O3 -DNDEBUG -Itools/lldb-mi
-I/home/sugak/lldb/3.8.0.rc1/src/lldb/tools/lldb-mi
-I/home/sugak/lldb/3.8.0.rc1/src/lldb/include -Iinclude
-I/home/sugak/llvm/3.8.0/centos6-native/da39a3e/include
-I/home/lldb/3.8.0.rc1/src/lldb/source
-I/home/sugak/python/2.7.8/centos6-native/da39a3e/include/python2.7
-I/home/sugak/lldb/3.8.0.rc1/src/lldb/tools/clang/include -I../clang/include
-I/home/sugak/ncurses/5.9/centos6-native/da39a3e/includ
e -MMD -MT tools/lldb-mi/CMakeFiles/lldb-mi.dir/MICmdCmdData.cpp.o -MF
tools/lldb-mi/CMakeFiles/lldb-mi.dir/MICmdCmdData.cpp.o.d -o
tools/lldb-mi/CMakeFiles/lldb-mi.dir/MICmdCmdData.cpp.o -c
/home/sugak/lldb/3.8.0.rc1/src/lldb/tools/lldb-mi/MICmdCmdData.cpp
In file included from
/home/sugak/lldb/3.8.0.rc1/src/lldb/tools/lldb-mi/MICmdCmdData.cpp:45:0:
/home/sugak/lldb/3.8.0.rc1/src/lldb/tools/lldb-mi/MIUtilParse.h:13:39: fatal
error: ../lib/Support/regex_impl.h: No such file or directory
 #include "../lib/Support/regex_impl.h"
                                       ^
compilation terminated.
```

Looks like `lldb/tools/lldb-mi/MICmdCmdData.cpp` includes a file from llvm
repository, and expects to access it by a relative path from lldb root.</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>