在 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
--
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-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
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
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
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