On 2026-11-19 21:47, Brian Inglis wrote:
On 2026-11-19 18:34, Paul Eggert wrote:
On 2026-11-19 10:34, Brian Inglis wrote:
I could post the full redacted output, or send the unredacted output to your PM, if it would help.
Thanks, but I think the strace output suffices. The key lines are here:

17000745 50756044 [main] diff 3042635 fhandler_base::read: returning -1814967408, binary mode    190 50756234 [main] diff 3042635 read: 2479999888 = read(4, 0x6FFAD85B0010, -1814967408)
   114 50756348 [main] diff 3042635 read: read(4, 0x6FFB6C2CCBA0, 0) blocking
   120 50756468 [main] diff 3042635 fhandler_base::read: returning 0, binary 
mode
   107 50756575 [main] diff 3042635 read: 0 = read(4, 0x6FFB6C2CCBA0, 0)

The first two lines says diff called read (4, buf, N) which returned, where N was 2479999888, but strace misinterpreted the 2479999888 as being -1814967408. The last three lines suggest that diff called read (4, buf, N) where N was a multiple of 2**32, and strace got confused into thinking that N == 0, and so did 'read' itself (!).

I filed a bug report against Cygwin <https://cygwin.com/pipermail/cygwin/2026- November/260246.html> and installed the attached workaround to diffutils; please give the workaround a try.

Sorry Paul,

We have a problem rebuilding with auto(re)conf (or GCC) upgraded since last year, wint_t is no longer /need/ed from GCC 14 stddef.h, so the build now fails.
I will have to follow this up with our autoconf (or GCC) maintainers.

I also have a higher priority issue with gettext defaults changing, but nobody noticed the static libraries defaulted to omitted in the test release, until I promoted it to current stable.
I have to deal with that first, as it is preventing fixes to base packages.

Then I will circle back to diffutils auto(re)conf (and/or GCC) when the maintainers provide those updates, and hopefully can rebuild to test your fix.

Hi Paul,

Seems problem may be a gnulib/autoconf bug reporting okay to use wint_t from gcc 14 stddef.h, so reported to bug-gnulib, and build fix for now is to use config arg "gl_cv_clean_version_stddef=yes", so will try that now.

--
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher  but when there is no more to cut
                                -- Antoine de Saint-Exupéry




Reply via email to