RE: Parallel make hangs on 64-bit Cygwin

2023-03-23 Thread Jon Beniston via Cygwin
Hi Marco, >There was a discussion on the matter on the packager mailing list in February >https://cygwin.com/pipermail/cygwin-apps/2023-February/042624.html Thanks. I did search, but it seems Google's index doesn't include that thread:

Parallel make hangs on 64-bit Cygwin

2023-03-22 Thread Jon Beniston via Cygwin
Hi, When trying to build gcc using make with -j N, I'm finding that make will hang on 64-bit Cygwin. I don't see this problem with 32-bit Cygwin on the same PC. When it hangs, there are N make processes reported in task manager that are using 0% CPU, that appear to be waiting for N sh.exe

RE: SIGINT lost while program calls PeekMessage

2020-07-06 Thread Jon Beniston
Hi Corinna, >Since your example code is running very tightly most of its time inside >some Windows system DLL function, there's next to no chance to interrupt >the thread to inject the signal handler call. Cygwin tries this 100 >times per signal. If that fails, the signal gets lost. > >One way

SIGINT lost while program calls PeekMessage

2020-07-02 Thread Jon Beniston
Hi, I have a Cygwin program that: - registers a SIGINT handler, via signal(SIGINT,h) - creates a window, using Win32 CreateWindow - and is then calling PeekMessage for that window in a loop It appears that while PeekMessage is being called, any SIGINTs sent to the program are lost. Is this to

expect - broken pipe

2016-01-20 Thread Jon Beniston
Hi, I'm trying to run the GCC DejaGNU testsuite on 32-bit Cygwin. It randomly fails with the message: "parent: sync byte write: broken pipe" This occurs frequently if the testsuite is run in parallel (i.e. make -j4), but occasionally when not in parallel too. It seems this error message is

RE: Windows XP Support

2016-01-11 Thread Jon Beniston
Windows XP still accounts for about 10% of desktop users... Similar to the total number of Mac users. Maybe some browser OS stats from cygwin.com would be illuminating. Jon -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation:

GCC make check -jN fails with broken pipe

2015-12-13 Thread Jon Beniston
Hi, I'm trying to run the GCC testsuite in parallel (i.e. -j4) on Cygwin, but it fails with " parent: sync byte write: broken pipe": make check-gcc -j4 .. Running /home/me/gcc/testsuite/gcc.c-torture/compile/compile.exp ... Running /home/me/gcc/testsuite/gcc.c-torture/compile/compile.exp ...

RE: setup-x86.exe exits before installation is complete

2014-03-07 Thread Jon Beniston
It seems recent versions of setup-x86.exe exit before the installation is complete. Without the --no-admin option, the main installation is run as a child process, and the parent doesn't wait for the child to complete. This can cause a bit of a problem for other installers that install Cygwin

setup-x86.exe exits before installation is complete

2014-03-06 Thread Jon Beniston
Hi, It seems recent versions of setup-x86.exe exit before the installation is complete. Without the --no-admin option, the main installation is run as a child process, and the parent doesn't wait for the child to complete. This can cause a bit of a problem for other installers that install Cygwin

bash pwd returning windows style paths

2010-05-20 Thread Jon Beniston
Hi, I'm trying to get the linuxtools Eclipse autoconf plugin to work on Cygwin. One problem I'm having is that a configure script (from newlib) is calling pwd which is returning a Windows style path (e.g. c:/something), which causes it to fail. This appears to be because Eclipse is setting the

RE: bash pwd returning windows style paths

2010-05-20 Thread Jon Beniston
POSIX states that a shell is under no obligation to trust a PWD inherited from the parent process, and that there are unspecified results if you try to manually change PWD outside of the use of 'cd' within the shell. Bash, in particular, merely checks whether the current value of the

Using WinPcap in a cygwin application

2010-01-18 Thread Jon Beniston
Hi, I'm trying to use WinPcap 4.1.1 in a program that links with cygwin1.dll 1.7.1-1. The program I have built runs successfully on Vista and Windows 7, but fails with a SIGSEGV seemingly before it calls WinMainCRTStartup on Windows XP SP3. The stack trace from insight is:

cygpath and spaces in filenames when reading from a file

2009-12-29 Thread Jon Beniston
Hi, cygpath can read a list of paths to convert from a file, when started with -file. However, how do you specify paths with spaces in them in this mode? It seems quoting the path or using \ doesn't seem to work. E.g: $cygpath --windows --file - /usr/local/my dir/ \usr\local\my dir\ $ cygpath