This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: cmake fails to run/build under Cygwin
- From: "Nick Kennedy" <nick at nick-kennedy dot com>
- To: <cygwin at cygwin dot com>
- Date: Mon, 21 Sep 2015 23:28:57 +0100
- Subject: RE: cmake fails to run/build under Cygwin
- Authentication-results: sourceware.org; auth=none
- References: <CAA3P5HMEWibqgdNXc4pazB1wdoBtxcDAbHrHQfHFBi5y925ZMA at mail dot gmail dot com> <CAA3P5HPNrvCLCAoLwukbrmrkVNBmRdSjMgMw0O739XxLXY9o=g at mail dot gmail dot com> <BAY169-DS380D0D49EEEF1B5B9D64E3A7460 at phx dot gbl>
On 21 September 2015 Tony Kelman wrote:
> Could you try at least taking the win32 cmake off your path?
> Or as an experiment, running `PATH=/usr/bin cmake .` ?
I've just tried that - no difference.
> Problems with exec'ing external programs would otherwise lead me to suspect BLODA or something trying to inject hooks
> into all processes on startup. You aren't trying to run this in conemu by any chance?
I'm just running in a normal Cygwin session. The most likely BLODA culprit would be Kaspersky Internet Security. I've also got Visual Studio and the
Windows debugging toolkit installed, but I don't think either of those are likely.
Using gdb, the external process seems to get launched normally. The response from `uname` is received, which is just one line of text. But then there seems to be an infinite loop within ProcessUNIX.c in cmsysProcess_WaitForData (lines 1129-1130). This repeatedly calls kwsysProcessWaitForPipe which keeps returning false and so the loop goes on. The underlying Windows function called seems to be ntdll!ZwWaitForMultipleObjects.
I've tried pausing Kaspersky which doesn't help. I'll also try uninstalling it at some point.
Thanks for the help to date anyway.
Nick
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple