labath added a comment.

In https://reviews.llvm.org/D32787#744974, @probinson wrote:

> Looking at CMakeError.log, the test program does `#include <poll.h>` but does 
> not `#define _GNU_SOURCE`.  The define has to be there for your example to 
> compile on my Ubuntu.


We do that in LLDBGenerateConfig.cmake:7.

However, a previous version of the ppoll patch did not have the correct define. 
Could it be that you just have stale cmake cache?


Repository:
  rL LLVM

https://reviews.llvm.org/D32787



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to