Re: [Mingw-w64-public] [PATCH] crt/ssp: Fix typo in function name RtlGenRandom

2025-07-14 Thread LIU Hao
在 2025-7-15 02:20, Pali Rohár 写道: --- mingw-w64-crt/ssp/stack_chk_guard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingw-w64-crt/ssp/stack_chk_guard.c b/mingw-w64-crt/ssp/stack_chk_guard.c index be43d8c7e222..8f0ca8581dde 100644 --- a/mingw-w64-crt/ssp/stack_chk_gua

[Mingw-w64-public] [PATCH] crt: Check for compiler support for `no_stack_protector`

2025-07-14 Thread LIU Hao
-- Best regards, LIU Hao From bf179ba7bde94cfed5ade73757523a887a8e4c5b Mon Sep 17 00:00:00 2001 From: LIU Hao Date: Tue, 15 Jul 2025 10:32:42 +0800 Subject: [PATCH] crt: Check for compiler support for `no_stack_protector` This commit contains two changes: 1. `no_stack_protector` is applied on

[Mingw-w64-public] [PATCH] crt/ssp: Fix typo in function name RtlGenRandom

2025-07-14 Thread Pali Rohár
--- mingw-w64-crt/ssp/stack_chk_guard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingw-w64-crt/ssp/stack_chk_guard.c b/mingw-w64-crt/ssp/stack_chk_guard.c index be43d8c7e222..8f0ca8581dde 100644 --- a/mingw-w64-crt/ssp/stack_chk_guard.c +++ b/mingw-w64-crt/ssp/stack_chk

Re: [Mingw-w64-public] no_stack_protector attribute directive is ignored in file stack_chk_guard.c

2025-07-14 Thread Pali Rohár
On Monday 14 July 2025 10:46:36 LIU Hao wrote: > 在 2025-7-13 23:02, Pali Rohár 写道: > > I see. But I think it is better to apply at least this "debugging > > purposes" attribute than nothing. It is only for older gcc versions. > > And with __SSP__ checks it can be targeted just for > > -fstack-prote

Re: [Mingw-w64-public] New implementation for C95 conversion functions

2025-07-14 Thread Kirill Makurin
I do not yet completely understand all aspects of mingw-w64's build process (which, for example, caused issues with btowc and wctob in this patch series), but I wonder if we could add Makefile.am to testcases subdirectory and define all tests in that Makefile.am instead of top-level one? This w

Re: [Mingw-w64-public] New implementation for C95 conversion functions

2025-07-14 Thread Martin Storsjö
On Mon, 14 Jul 2025, LIU Hao wrote: 在 2025-7-14 05:04, Kirill Makurin 写道: The replacements for mb*towc* and wc*tomb* functions are currently used only for pre-msvcr80.dll (including all msvcrt.dll). The tests should be skipped by returning 77 when compiled for msvcr80.dll and later (including