cygwin1.dll 3.5.0-1 appears to cause spurious "error 127" with make 4.4.1

Corinna Vinschen
Mon Feb 26 19:03:22 GMT 2024

On Feb 26 17:34, Dimitry Andric via Cygwin wrote:
> Hi,
> After a recent upgrade of a Cygwin installation, including cygwin1.dll
> (see to
> 3.5.0-1, I now get spurious "error 127" messages from (Cygwin's copy of)
> GNU make 4.4.1-2, when it starts external processes and those external
> processes exit with a zero exit code.
> For example, a very simple Makefile:
> all:
> 	cmd /c echo done
> Running this a few times in a Cygwin bash prompt, gives:
> [...]
>   make: *** [Makefile:2: all] Error 127

This is probably what has been fixed for 3.5.1 already in patch
aa73e1152426 ("Cygwin: console: Fix exit code for non-cygwin process.")

For testing, please install the most recent test release
cygwin-3.6.0-0.62.gc2f6c0415501 via the Cygwin installer and try again.


More information about the Cygwin mailing list