error 127 under cygwin-3.6.5
Denis Excoffier
cygwin@Denis-Excoffier.org
Wed Oct 15 19:13:54 GMT 2025
Hello,
I had the opportunity to try with cygwin-3.6.5 because from time to time i renew my packages with ./setup and this was this morning.
Seems to work OK, including X-Windows and many GCC etc. things.
But, at some point, when i used /redacted/path/coreutils-9.8/bin/ls.exe (that i have compiled by myself), it failed with error 127 (some DLL is missing).
/usr/bin/ls works with no problem. Quick check: no DLL is missing and the DLLs (3 DLLs) are the same for both ls’s.
I didn’t perform a full study. I can say that many of /redacted/path/coreutils-9.8/bin/programs (all also compiled the same day) still worked perfectly.
Found only one another non-functioning (same error): /redacted/path/rsync-3.4.1/bin/rsync.exe (also compiled by myself).
Just before using ./setup i was using cygwin-3.7.0-277.
So i began some tests with all cygwin-3.7.0 (from -282 to -294) found under /x86_64/release/cygwin/ (also with /devel and /doc) to search
for the first failing one. Problem is: none of them is failing: all cygwin-3.7.0-277 to -294 (at least 277 and 292 to 294) have no problem with /redacted/path/coreutils-9.8/bin/ls.exe.
Back with cygwin-3.6.5, failure again. Recompilation and installation of cygwin-3.6.5, failure again.
Recompilation and installation of cygwin-3.7.0-294, no failure. I finally installed cygwin-3.7.0-294 and will not move in the next days.
Should have tried with cygwin-3.6.4, but forgot to do this.
I did also ‘diff -r --no-dereference’ between newlib-cygwin’s from 3.6.5 and from -294, found 6558 lines in the diff, this seems a little bit too much
for two packages (even trunk vs branch) prepared more or less the same day.
I performed the above-explained scenario on a W10 box, but the initial problem was also present on a W11 box that i can use. Installation of -294 also
made the failure disappear on W11.
Hope this helps,
Denis Excoffier.
More information about the Cygwin
mailing list