[lldb-dev] LLDBWrapPython.cpp missing message

Matthew Gardiner mg11 at csr.com
Mon Jul 21 21:52:03 PDT 2014


Ok, thanks.

Zachary Turner wrote:
> LLDBWrapPython.cpp is a generated file. It's normal that the file 
> doesn't exist if you're doing a clean build.  But it's unusual that 
> it's calling 
> "/home/mg11/src/p4play/build/tools/lldb/scripts/LLDBWrapPython.cpp" a 
> *target*, and not a file.  I'm also not sure why I've never seen this 
> message before, maybe it's platform specific?  Still, my first thought 
> is that there's a bug in the CMake, because that shouldn't be a 
> target, it should be a file, which is generated when building some 
> other target.  Either way, I would suggest just trying to debug the 
> CMake a little.  Find the target that supposedly generates that file, 
> then find the place where add_dependency is called.  Make sure that 
> the dependency is specifying the target and not the file.
>
>
> On Mon, Jul 21, 2014 at 3:41 AM, Matthew Gardiner <mg11 at csr.com 
> <mailto:mg11 at csr.com>> wrote:
>
>     Hi folks
>
>     I've been having trying to get the lldb python tests working. My
>     setup is linux Fedora Core 20 64 bit. I tried to follow some of
>     Todd Fiala's troubleshooting tips earlier using the autoconf/make
>     route, and I got bogged down with some faults (see [lldb-dev]
>     Problems running the lldb tests on Fedora Core 20 - 64bit (email
>     originally titled "Add kalimba as a platform.").
>
>     So I thought I'd try the cmake/ninja route and see if things are
>     different. I invoked cmake as follows:
>
>     $ cmake ../llvm/ -G Ninja -DLLVM_TARGETS_TO_BUILD="X86"
>     -DBUILD_SHARED_LIBS=ON -DLLVM_ENABLE_CXX1Y=ON
>     -DCMAKE_BUILD_TYPE="Debug"
>
>
>     However then I see the following diagnostic from cmake:
>
>     -- Configuring done
>     CMake Warning (dev) at tools/lldb/source/CMakeLists.txt:297
>     (add_dependencies):
>       Policy CMP0046 is not set: Error on non-existent dependency in
>       add_dependencies.  Run "cmake --help-policy CMP0046" for policy
>     details.
>       Use the cmake_policy command to set the policy and suppress this
>     warning.
>
>       The dependency target
>      
>     "/home/mg11/src/p4play/build/tools/lldb/scripts/LLDBWrapPython.cpp" of
>       target "liblldb" does not exist.
>     This warning is for project developers.  Use -Wno-dev to suppress it.
>
>     -- Generating done
>     -- Build files have been written to: /home/mg11/src/p4play/build
>
>     So should I be alarmed by
>
>     "
>       The dependency target
>      
>     "/home/mg11/src/p4play/build/tools/lldb/scripts/LLDBWrapPython.cpp" of
>       target "liblldb" does not exist.
>     "
>
>     ?
>
>     What does this mean?
>
>     thanks
>     Matt
>
>
>
>
>
>     Member of the CSR plc group of companies. CSR plc registered in
>     England and Wales, registered number 4187346, registered office
>     Churchill House, Cambridge Business Park, Cowley Road, Cambridge,
>     CB4 0WZ, United Kingdom
>     More information can be found at www.csr.com <http://www.csr.com>.
>     Keep up to date with CSR on our technical blog, www.csr.com/blog
>     <http://www.csr.com/blog>, CSR people blog, www.csr.com/people
>     <http://www.csr.com/people>, YouTube, www.youtube.com/user/CSRplc
>     <http://www.youtube.com/user/CSRplc>, Facebook,
>     www.facebook.com/pages/CSR/191038434253534
>     <http://www.facebook.com/pages/CSR/191038434253534>, or follow us
>     on Twitter at www.twitter.com/CSR_plc
>     <http://www.twitter.com/CSR_plc>.
>     New for 2014, you can now access the wide range of products
>     powered by aptX at www.aptx.com <http://www.aptx.com>.
>     _______________________________________________
>     lldb-dev mailing list
>     lldb-dev at cs.uiuc.edu <mailto:lldb-dev at cs.uiuc.edu>
>     http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>
>
>
>
> To report this email as spam click here 
> <https://www.mailcontrol.com/sr/GhJX791S0rfGX2PQPOmvUqW%21RI4xIDLrkF4%21MbBrKafal11pWk8gNnr%21COlGfNMi2PF171VK7gtOzrnJmt4uGw==>.
>




More information about the lldb-dev mailing list