Using gcc 4.8 from devtoolset2. Clang builds fine so might try building with 
that tomorrow.

Sent from my iPhone

On Oct 27, 2015, at 7:46 PM, Oleksiy Vyalov 
<ovya...@google.com<mailto:ovya...@google.com>> wrote:

Hi Mark,

what compiler do you use? Could you try to build LLDB with clang 3.5 specifying 
it via DCMAKE_C_COMPILER and DCMAKE_CXX_COMPILER flags?
It might be a problem with sysroot setup since some headers are not found - you 
can try to pass a custom sysroot with -DCMAKE_CXX_FLAGS="--sysroot=..."

On Tue, Oct 27, 2015 at 2:05 PM, Mark Chandler via lldb-dev 
<lldb-dev@lists.llvm.org<mailto:lldb-dev@lists.llvm.org>> wrote:
Hi All,

Trying to get LLDB to compile on centos 5 to help reduce the size of cores of 
programs crashing on some servers however im running into some compile issues 
with it. Looks like some features are used from newer kernel versions and was 
wondering what the procedure is to get this fixed and updated into lldb.

These are the errors so far:
https://gist.githubusercontent.com/lodle/47493c8ea2a51eff5322/raw/ce158e1d10d1df363bdd3a77b11ff3d8661e8144/lldb_make.txt
Some of them are using O_CLOEXEC flag and headers that don't exist and was easy 
enough to add works around. The ones at the end im not sure about.


Build Script:
https://gist.github.com/lodle/e24a80907bbf7a7b72f6


Thanks for the help.


Mark Chandler
Battle.Net<http://battle.net> Infrastructure | Blizzard Entertainment
(P) 949-955-1380 x15353<tel:949-955-1380%20x15353>


_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org<mailto:lldb-dev@lists.llvm.org>
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev




--
Oleksiy Vyalov | Software Engineer | 
ovya...@google.com<mailto:ovya...@google.com>
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to