POSIX struct stat has 4 variants in mingw-w64 based on the
_FILE_OFFSET_BITS and _USE_32BIT_TIME_T settings. st_size can be either
32-bit or 64-bit, and st_atime/st_mtime/st_ctime can also be 32-bit or
64-bit.
So for each ABI of struct stat there has to be separate POSIX stat function
which correc
在 2025-3-26 05:13, Pali Rohár 写道:
On Thursday 20 March 2025 20:38:57 Pali Rohár wrote:
Hello, I started getting new compile warnings during compilation of
mingw-w64 runtime.
In file included from math/modfl.c:6:
.../mingw-w64-headers/crt/fenv.h:64:39: warning: ‘__mingw_fe_dfl_env’
initialized
在 2025-3-26 03:48, Radek Barton via Mingw-w64-public 写道:
diff --git a/mingw-w64-libraries/winpthreads/configure.ac
b/mingw-w64-libraries/winpthreads/configure.ac
index 47be2d6cc..22f7852b3 100644
--- a/mingw-w64-libraries/winpthreads/configure.ac
+++ b/mingw-w64-libraries/winpthreads/configure.a
This patch series is fixing stat functions as was discussed in the long
email thread "stat, _stat, and _stat64i32 issues (was: dirent changes)".
I have not included in this patch series Lasse's followup changes.
Pali Rohár (10):
crt: Provide emulation of _fstat64, _stat64 and _wstat64 functions
On Thursday 20 March 2025 20:38:57 Pali Rohár wrote:
> Hello, I started getting new compile warnings during compilation of
> mingw-w64 runtime.
>
> In file included from math/modfl.c:6:
> .../mingw-w64-headers/crt/fenv.h:64:39: warning: ‘__mingw_fe_dfl_env’
> initialized and declared ‘extern’
>
As a follow up to the first patch "[PATCH] Add check if `libgcc` is available
and link `winpthreads` against it instead of `fakelib`" I am sending another
possibility how to overcome the undefined references of to outline atomics LSE
intrinsic functions for `aarch64-w64-mingw32` GCC build that a