[lldb-dev] [Bug 40201] New: regression: can't build from source: The dependency target "cxx" of target "check-all" does not exist

2019-01-02 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=40201

Bug ID: 40201
   Summary: regression: can't build from source: The dependency
target "cxx" of target "check-all" does not exist
   Product: lldb
   Version: unspecified
  Hardware: Macintosh
OS: MacOS X
Status: NEW
  Severity: release blocker
  Priority: P
 Component: All Bugs
  Assignee: lldb-dev@lists.llvm.org
  Reporter: thelastmamm...@gmail.com
CC: llvm-b...@lists.llvm.org

instructions from https://lldb.llvm.org/build.html used to work, but is
currently broken:

```
git clone https://git.llvm.org/git/llvm.git/
cd llvm/tools
git clone https://git.llvm.org/git/clang.git/
git clone https://git.llvm.org/git/lldb.git/
cd ../..
mkdir build
cd build
cmake .. -G Ninja
```

```
...
-- Performing Test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Configuring done
CMake Error at cmake/modules/AddLLVM.cmake:1362 (add_dependencies):
  The dependency target "cxx" of target "check-all" does not exist.
Call Stack (most recent call first):
  CMakeLists.txt:928 (add_lit_target)


CMake Error at cmake/modules/AddLLVM.cmake:1362 (add_dependencies):
  The dependency target "cxx" of target
  "check-lldb-tools-lldb-mi-target-inputs" does not exist.
Call Stack (most recent call first):
  cmake/modules/AddLLVM.cmake:1414 (add_lit_target)
  tools/lldb/lit/CMakeLists.txt:93 (add_lit_testsuites)


CMake Error at cmake/modules/AddLLVM.cmake:1362 (add_dependencies):
  The dependency target "cxx" of target "check-lldb-tools-lldb-mi-target"
  does not exist.
Call Stack (most recent call first):
  cmake/modules/AddLLVM.cmake:1414 (add_lit_target)
  tools/lldb/lit/CMakeLists.txt:93 (add_lit_testsuites)


CMake Error at cmake/modules/AddLLVM.cmake:1362 (add_dependencies):
  The dependency target "cxx" of target
...
```


not sure whether https://bugs.llvm.org/show_bug.cgi?id=39910 is related

I'm on OSX mojave 10.14.1

-- 
You are receiving this mail because:
You are the assignee for the bug.___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


Re: [lldb-dev] [CMake] cross compiling lldb-server

2019-01-02 Thread Joel Winarske via lldb-dev
Ok, thanks for the info.

Joel


On Mon, Dec 31, 2018, 12:15 AM Pavel Labath  On 30/12/2018 00:36, Joel Winarske via lldb-dev wrote:
> > Hi,
> >
> > I'm looking at cross compiling lldb-server for a Linux target.  My use
> > case only needs lldb-server cross-compiled for the target.  I'm finding
> > it's expecting a cross-compiled clang.
> >
> > It would be great to have a build option to support cross-compiling only
> > lldb-server.
> >
> > The other scenario is an architecture specific lldb-server. Say I want
> > AArch64, and the only thing to run on the target is AArch64.  I would
> > never need support for mip64, etc.  This would also minimize the size.
> >
> > Maybe I'm missing something?
> >
>
> Unfortunately, the way the dependencies in lldb are laid out right now,
> it's impossible to compile lldb-server without a matching clang, even
> though the latter will not be used in any meaningful way. Changing that
> is one of my goals, but it's not something that's going to happen soon.
>
> As for the architecture part of the question, you should be able to
> achieve something like that by setting the LLVM_TARGETS_TO_BUILD=AArch64
> cmake variable.
>
> cheers,
> pl
>
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] [Bug 39910] Libcxx should be a dependency of check-lldb target

2019-01-02 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=39910

Jonas Devlieghere  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
 CC||jdevliegh...@apple.com

--- Comment #1 from Jonas Devlieghere  ---
This was added in r349539.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] [Bug 40201] regression: can't build from source: The dependency target "cxx" of target "check-all" does not exist

2019-01-02 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=40201

Jonas Devlieghere  changed:

   What|Removed |Added

 CC||jdevliegh...@apple.com
 Status|NEW |RESOLVED
 Resolution|--- |INVALID

--- Comment #2 from Jonas Devlieghere  ---
Yup, this is intentional, as per PR39910 you referred. It doesn't make sense to
build LLDB without libcxx on Darwin.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] [Bug 39816] lldb doesn't show a file of line entry for big project.

2019-01-02 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=39816

Adrian Prantl  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #4 from Adrian Prantl  ---
Landed in r350274.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev