[llvm-bugs] [Bug 26363] New: lldb 3.8.0.rc1 fails to build out of llvm tree

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jan 28 16:14:28 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=26363

            Bug ID: 26363
           Summary: lldb 3.8.0.rc1 fails to build out of llvm tree
           Product: lldb
           Version: 3.8
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: sugak at fb.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160129/3cefcbd5/attachment.html>


More information about the llvm-bugs mailing list