This change seems to break the 64bit msvcrt build for gcc:

x86_64-w64-mingw32\bin\ld.exe: ada/adaint.o:adaint.c:(.text+0x4375):
undefined reference to `fstat64'

Here a smaller reproducer:

$ cat x.c
#include <sys/stat.h>

int main( void )
{
   struct stat64 something;
   fstat64(0, &something);
   return 0;
}

$ gcc x.c
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/15.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\msys64\tmp\ccuYT5yk.o:x.c:(.text+0x1a): undefined reference to
`fstat64'
collect2.exe: error: ld returned 1 exit status

Reverting this commit seems to fix things.


_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to