[Lldb-commits] [PATCH 4/4] Move internal header dependency to DNBArchImplX86_64.cpp
Todd Fiala
tfiala at google.com
Thu Mar 13 13:23:05 PDT 2014
BTW - this also happens if I go with cmake using the default output format
and not Ninja:
cmake ../llvm
I've attached the cmake output from that run.
On Thu, Mar 13, 2014 at 1:13 PM, Todd Fiala <tfiala at google.com> wrote:
> Hey Kuba,
>
> I applied all your patches (listed as #1 - 4) from this series to a top of
> tree LLDB trunk branch (svn r203828). I'm building on OS X 10.9.
>
> I'm using a directory structure like this:
> |- llvm
> |- build
>
> cd build
> cmake -GNinja ../llvm
>
> cmake is failing with this message:
>
>
> -- The ASM-ATT compiler identification is unknown
> -- Found assembler: /usr/bin/as
> -- Configuring incomplete, errors occurred!
> See also "/Users/tfiala/lldb/svn/build/CMakeFiles/CMakeOutput.log".
> See also "/Users/tfiala/lldb/svn/build/CMakeFiles/CMakeError.log".
> tfiala-macbookpro:build tfiala$ svn info
> svn: E155007: '/Users/tfiala/lldb/svn/build' is not a working copy
> tfiala-macbookpro:build tfiala$
>
> Here's my OS version:
> uname -a
> Darwin tfiala-macbookpro.roam.corp.google.com 13.1.0 Darwin Kernel
> Version 13.1.0: Thu Jan 16 19:40:37 PST 2014;
> root:xnu-2422.90.20~2/RELEASE_X86_64 x86_64
>
> Any thoughts?
>
>
> On Wed, Mar 12, 2014 at 12:43 PM, Kuba Ober <kuba at mareimbrium.org> wrote:
>
>> ---
>> tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp | 1 +
>> tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.h | 1 -
>> 2 files changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp
>> b/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp
>> index e2d3931..f683635 100644
>> --- a/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp
>> +++ b/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp
>> @@ -18,6 +18,7 @@
>> #include <sys/sysctl.h>
>>
>> #include "MacOSX/x86_64/DNBArchImplX86_64.h"
>> +#include "../HasAVX.h"
>> #include "DNBLog.h"
>> #include "MachThread.h"
>> #include "MachProcess.h"
>> diff --git a/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.h
>> b/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.h
>> index ac171ee..e9ba50f 100644
>> --- a/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.h
>> +++ b/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.h
>> @@ -16,7 +16,6 @@
>>
>> #if defined (__i386__) || defined (__x86_64__)
>> #include "DNBArch.h"
>> -#include "../HasAVX.h"
>> #include "MachRegisterStatesX86_64.h"
>>
>> #include <map>
>> --
>> 1.8.5.5
>>
>> _______________________________________________
>> lldb-commits mailing list
>> lldb-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits
>>
>
>
>
> --
> Todd Fiala | Software Engineer | tfiala at google.com | 650-943-3180
>
--
Todd Fiala | Software Engineer | tfiala at google.com | 650-943-3180
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20140313/65043f17/attachment.html>
-------------- next part --------------
tfiala-macbookpro:build-make tfiala$ cmake ../llvm
-- The C compiler identification is Clang 5.0.0
-- The CXX compiler identification is Clang 5.0.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for C++ include cxxabi.h
-- Looking for C++ include cxxabi.h - found
-- Looking for dirent.h
-- Looking for dirent.h - found
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for errno.h
-- Looking for errno.h - found
-- Looking for execinfo.h
-- Looking for execinfo.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for limits.h
-- Looking for limits.h - found
-- Looking for malloc.h
-- Looking for malloc.h - not found
-- Looking for malloc/malloc.h
-- Looking for malloc/malloc.h - found
-- Looking for ndir.h
-- Looking for ndir.h - not found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for signal.h
-- Looking for signal.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for sys/dir.h
-- Looking for sys/dir.h - found
-- Looking for sys/ioctl.h
-- Looking for sys/ioctl.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for sys/ndir.h
-- Looking for sys/ndir.h - not found
-- Looking for sys/param.h
-- Looking for sys/param.h - found
-- Looking for sys/resource.h
-- Looking for sys/resource.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sys/uio.h
-- Looking for sys/uio.h - found
-- Looking for sys/wait.h
-- Looking for sys/wait.h - found
-- Looking for termios.h
-- Looking for termios.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for utime.h
-- Looking for utime.h - found
-- Looking for valgrind/valgrind.h
-- Looking for valgrind/valgrind.h - not found
-- Looking for zlib.h
-- Looking for zlib.h - found
-- Looking for fenv.h
-- Looking for fenv.h - found
-- Looking for FE_ALL_EXCEPT
-- Looking for FE_ALL_EXCEPT - found
-- Looking for FE_INEXACT
-- Looking for FE_INEXACT - found
-- Looking for mach/mach.h
-- Looking for mach/mach.h - found
-- Looking for mach-o/dyld.h
-- Looking for mach-o/dyld.h - found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Looking for pthread_getspecific in pthread
-- Looking for pthread_getspecific in pthread - found
-- Looking for pthread_rwlock_init in pthread
-- Looking for pthread_rwlock_init in pthread - found
-- Looking for pthread_mutex_lock in pthread
-- Looking for pthread_mutex_lock in pthread - found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - not found
-- Looking for compress2 in z
-- Looking for compress2 in z - found
-- Looking for el_init in edit
-- Looking for el_init in edit - found
-- Looking for setupterm in tinfo
-- Looking for setupterm in tinfo - not found
-- Looking for setupterm in terminfo
-- Looking for setupterm in terminfo - not found
-- Looking for setupterm in curses
-- Looking for setupterm in curses - found
-- Looking for arc4random
-- Looking for arc4random - found
-- Looking for backtrace
-- Looking for backtrace - found
-- Looking for getpagesize
-- Looking for getpagesize - found
-- Looking for getrusage
-- Looking for getrusage - found
-- Looking for setrlimit
-- Looking for setrlimit - found
-- Looking for isatty
-- Looking for isatty - found
-- Looking for isinf
-- Looking for isinf - not found
-- Looking for isinf
-- Looking for isinf - found
-- Looking for finite
-- Looking for finite - not found
-- Looking for isnan
-- Looking for isnan - not found
-- Looking for isnan
-- Looking for isnan - found
-- Looking for ceilf
-- Looking for ceilf - found
-- Looking for floorf
-- Looking for floorf - found
-- Looking for fmodf
-- Looking for fmodf - found
-- Looking for log
-- Looking for log - found
-- Looking for log2
-- Looking for log2 - found
-- Looking for log10
-- Looking for log10 - found
-- Looking for exp
-- Looking for exp - found
-- Looking for exp2
-- Looking for exp2 - found
-- Looking for exp10
-- Looking for exp10 - not found
-- Looking for futimens
-- Looking for futimens - not found
-- Looking for futimes
-- Looking for futimes - found
-- Looking for writev
-- Looking for writev - found
-- Looking for nearbyintf
-- Looking for nearbyintf - found
-- Looking for mallinfo
-- Looking for mallinfo - not found
-- Looking for malloc_zone_statistics
-- Looking for malloc_zone_statistics - found
-- Looking for mkdtemp
-- Looking for mkdtemp - found
-- Looking for mkstemp
-- Looking for mkstemp - found
-- Looking for mktemp
-- Looking for mktemp - found
-- Looking for closedir
-- Looking for closedir - found
-- Looking for opendir
-- Looking for opendir - found
-- Looking for readdir
-- Looking for readdir - found
-- Looking for getcwd
-- Looking for getcwd - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for getrlimit
-- Looking for getrlimit - found
-- Looking for posix_spawn
-- Looking for posix_spawn - found
-- Looking for pread
-- Looking for pread - found
-- Looking for realpath
-- Looking for realpath - found
-- Looking for sbrk
-- Looking for sbrk - found
-- Looking for srand48
-- Looking for srand48 - found
-- Looking for lrand48
-- Looking for lrand48 - found
-- Looking for drand48
-- Looking for drand48 - found
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for strtoq
-- Looking for strtoq - found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for strerror_s
-- Looking for strerror_s - not found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for dlerror
-- Looking for dlerror - found
-- Looking for dlopen
-- Looking for dlopen - found
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - not found
-- Performing Test HAVE_INT64_T
-- Performing Test HAVE_INT64_T - Success
-- Performing Test HAVE_UINT64_T
-- Performing Test HAVE_UINT64_T - Success
-- Performing Test HAVE_U_INT64_T
-- Performing Test HAVE_U_INT64_T - Success
-- Performing Test LLVM_HAS_ATOMICS
-- Performing Test LLVM_HAS_ATOMICS - Success
-- Found LibXml2: /usr/lib/libxml2.dylib (found version "2.7.3")
-- Performing Test SUPPORTS_NO_VARIADIC_MACROS_FLAG
-- Performing Test SUPPORTS_NO_VARIADIC_MACROS_FLAG - Success
-- Target triple: x86_64-apple-darwin13.1.0
-- Native target architecture is X86
-- Threads enabled.
-- Doxygen disabled.
-- Performing Test LLVM_NO_OLD_LIBSTDCXX
-- Performing Test LLVM_NO_OLD_LIBSTDCXX - Success
-- Performing Test C_SUPPORTS_FLAG
-- Performing Test C_SUPPORTS_FLAG - Success
-- Performing Test CXX_SUPPORTS_FLAG
-- Performing Test CXX_SUPPORTS_FLAG - Success
-- Building with -fPIC
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success
-- Performing Test CXX_SUPPORTS_NON_VIRTUAL_DTOR_FLAG
-- Performing Test CXX_SUPPORTS_NON_VIRTUAL_DTOR_FLAG - Success
-- Performing Test CXX_SUPPORTS_CXX11
-- Performing Test CXX_SUPPORTS_CXX11 - Success
-- Found PythonInterp: /usr/bin/python (found version "2.7.5")
-- Constructing LLVMBuild project information
-- Targeting AArch64
-- Targeting ARM
-- Targeting CppBackend
-- Targeting Hexagon
-- Targeting Mips
-- Targeting MSP430
-- Targeting NVPTX
-- Targeting PowerPC
-- Targeting R600
-- Targeting Sparc
-- Targeting SystemZ
-- Targeting X86
-- Targeting XCore
-- Clang version: 3.5.0
-- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG
-- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG - Success
-- Found Subversion: /usr/bin/svn (found version "1.7.10")
-- Expecting header to go in /Users/tfiala/lldb/svn/build-make/tools/clang/lib/Basic/SVNVersion.inc
-- Found PythonLibs: /usr/lib/libpython2.7.dylib (found version "2.7.5")
-- Performing Test CXX_SUPPORTS_NO_DEPRECATED_DECLARATIONS
-- Performing Test CXX_SUPPORTS_NO_DEPRECATED_DECLARATIONS - Success
-- Performing Test CXX_SUPPORTS_NO_DEPRECATED_REGISTER
-- Performing Test CXX_SUPPORTS_NO_DEPRECATED_REGISTER - Failed
-- LLDB version: 3.5.0
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
CMake Error at cmake/modules/LLVMProcessSources.cmake:66 (message):
Found unknown source file
/Users/tfiala/lldb/svn/llvm/tools/lldb/source/LLDBWrapPython.cpp
Please update /Users/tfiala/lldb/svn/llvm/tools/lldb/source/CMakeLists.txt
Call Stack (most recent call first):
cmake/modules/LLVMProcessSources.cmake:44 (llvm_check_source_file_list)
tools/lldb/CMakeLists.txt:176 (llvm_process_sources)
tools/lldb/source/CMakeLists.txt:265 (add_lldb_library)
CMake Warning (dev) at cmake/modules/LLVM-Config.cmake:46 (target_link_libraries):
Policy CMP0023 is not set: Plain and keyword target_link_libraries
signatures cannot be mixed. Run "cmake --help-policy CMP0023" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
The plain signature for target_link_libraries has already been used with
the target "liblldb". All uses of target_link_libraries with a target
should be either all-keyword or all-plain.
The uses of the plain signature are here:
* tools/lldb/CMakeLists.txt:204 (target_link_libraries)
* tools/lldb/CMakeLists.txt:207 (target_link_libraries)
Call Stack (most recent call first):
cmake/modules/LLVM-Config.cmake:34 (explicit_llvm_config)
tools/lldb/CMakeLists.txt:209 (llvm_config)
tools/lldb/source/CMakeLists.txt:265 (add_lldb_library)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at tools/lldb/source/CMakeLists.txt:294 (target_link_libraries):
Policy CMP0023 is not set: Plain and keyword target_link_libraries
signatures cannot be mixed. Run "cmake --help-policy CMP0023" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
The keyword signature for target_link_libraries has already been used with
the target "liblldb". All uses of target_link_libraries with a target
should be either all-keyword or all-plain.
The uses of the keyword signature are here:
* cmake/modules/LLVM-Config.cmake:46 (target_link_libraries)
This warning is for project developers. Use -Wno-dev to suppress it.
-- The ASM-ATT compiler identification is unknown
-- Found assembler: /usr/bin/as
-- Configuring incomplete, errors occurred!
See also "/Users/tfiala/lldb/svn/build-make/CMakeFiles/CMakeOutput.log".
See also "/Users/tfiala/lldb/svn/build-make/CMakeFiles/CMakeError.log".
More information about the lldb-commits
mailing list