Re: [Mingw-w64-public] [PATCH 01/10] crt: Provide emulation of _fstat64, _stat64 and _wstat64 functions

2025-03-26 Thread Pali Rohár
On Wednesday 26 March 2025 15:52:17 Martin Storsjö wrote: > On Thu, 20 Mar 2025, Pali Rohár wrote: > > > These functions are available since msvcr70.dll. > > > For older msvcrt versions provide emulation via _fstat32(), _stat32() > > and _wstat32() functions. These functions have only truncated 3

Re: [Mingw-w64-public] GCC 15.1.0

2025-03-26 Thread LIU Hao
在 2025-3-26 17:18, Kacvinsky, Tom via Mingw-w64-public 写道: HI all, How soon after GCC 15.1.0 is released will there be packages for it? I am predominately interested in The CodeView debugging information it will generate so I can use binutils to generate PDB files. If you would like to try

Re: [Mingw-w64-public] [PATCH v2] headers/crt: Add _wcreate_locale declaration

2025-03-26 Thread Martin Storsjö
On Mon, 24 Mar 2025, LIU Hao wrote: -- LGTM, thanks. // Martin ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Re: [Mingw-w64-public] [EXTERNAL] Re: [PATCH] Add `-mno-outline-atomics` to `CFLAGS`` when building `mingw-w64-crt` and `mingw-w64-libraries/winpthreads` for `aarch64-*`

2025-03-26 Thread Radek Barton via Mingw-w64-public
Hello Martin. Thank you for your feedback. That message was not intended to be a commit message but message of context for the reviewers. I cannot use `git send-patch`  but next time I'll copy and paste the entire output of `git format-patch` including the first part where I'll mention that the

Re: [Mingw-w64-public] [PATCH v2] headers/crt: Add _wcreate_locale declaration

2025-03-26 Thread LIU Hao
在 2025-3-26 20:31, Martin Storsjö 写道: On Mon, 24 Mar 2025, LIU Hao wrote: -- LGTM, thanks. Thanks. Pushed to master now. -- Best regards, LIU Hao OpenPGP_signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list

Re: [Mingw-w64-public] [PATCH 01/10] crt: Provide emulation of _fstat64, _stat64 and _wstat64 functions

2025-03-26 Thread Martin Storsjö
On Thu, 20 Mar 2025, Pali Rohár wrote: These functions are available since msvcr70.dll. For older msvcrt versions provide emulation via _fstat32(), _stat32() and _wstat32() functions. These functions have only truncated 32-bit file size and timestamp support. Real 64-bit non-truncated file s

Re: [Mingw-w64-public] [PATCH 3/5] crt: Provide *_recalloc functions

2025-03-26 Thread Pali Rohár
On Wednesday 26 March 2025 15:26:47 Martin Storsjö wrote: > On Thu, 20 Mar 2025, Pali Rohár wrote: > > > They are natively available since msvcr80.dll, they are not available in > > msvcrt.dll. Provide compatibility emulation into all import libraries where > > they are not available. > > > > Adj

Re: [Mingw-w64-public] [PATCH 5/5] crt: Provide _aligned_msize function for all CRT import libraries

2025-03-26 Thread Martin Storsjö
On Thu, 20 Mar 2025, Pali Rohár wrote: Function _aligned_msize() is available only in msvcr80+ and UCRT. It is not available in msvcrt.dll system os library. --- mingw-w64-crt/Makefile.am | 2 ++ mingw-w64-crt/misc/_aligned_msize.c | 13 + mingw-w64-headers/crt/crtdbg.h

Re: [Mingw-w64-public] [PATCH v2 6/7] crt: Build with -fno-builtin.

2025-03-26 Thread Martin Storsjö
On Sat, 22 Mar 2025, Jacek Caban wrote: mingw-w64-crt implements a number of functions that the compiler considers built-in. Currently, we must be cautious about compiler optimizations, as they may not align with our intentions. In theory, the compiler could optimize an implementation of such a

Re: [Mingw-w64-public] [PATCH] crt, headers: Use headers to redirect __ms_v*scanf functions to v*scanf functions.

2025-03-26 Thread Martin Storsjö
On Sat, 22 Mar 2025, Jacek Caban wrote: --- mingw-w64-crt/Makefile.am| 11 ++- mingw-w64-crt/def-include/crt-aliases.def.in | 8 - mingw-w64-crt/lib-common/msvcr120_app.def.in | 1 - mingw-w64-crt/lib32/msvcr120.def.in | 1 - mingw-w64-crt/lib64/msvcr120.def.i

Re: [Mingw-w64-public] [PATCH] Add `-mno-outline-atomics` to `CFLAGS`` when building `mingw-w64-crt` and `mingw-w64-libraries/winpthreads` for `aarch64-*`

2025-03-26 Thread Martin Storsjö
On Tue, 25 Mar 2025, Radek Barton via Mingw-w64-public wrote: 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 LS

[Mingw-w64-public] GCC 15.1.0

2025-03-26 Thread Kacvinsky, Tom via Mingw-w64-public
HI all, How soon after GCC 15.1.0 is released will there be packages for it? I am predominately interested in The CodeView debugging information it will generate so I can use binutils to generate PDB files. Thanks, Tom ___ Mingw-w64-public mailing