Re: [Mingw-w64-public] [PATCH 2/2] winpthreads: Move SEH handler declaration to end of function

2025-04-24 Thread LIU Hao
在 2025-4-25 05:28, Jacek Caban 写道: Avoiding those hacky labels in the middle of code would definitely be nice, but this seems more invasive. Wouldn’t we want a full _gnu_exception_handler to cover that code? Is it okay if I go ahead and push my patch (which should be mostly a no-op) and we con

Re: [Mingw-w64-public] [PATCH] headers: Add buffer types for FSCTL_DUPLICATE_EXTENTS_TO_FILE(EX) in winioctl.h

2025-04-24 Thread Jacek Caban
On 24.04.2025 21:33, Biswapriyo Nath wrote: From 10cfcc41c79aa8cf4a62a9ded9b2a0a33a282ac1 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 24 Apr 2025 19:31:27 + Subject: [PATCH] headers: Add buffer types for FSCTL_DUPLICATE_EXTENTS_TO_FILE(EX) in winioctl.h Required forhttps://g

Re: [Mingw-w64-public] [PATCH 2/2] winpthreads: Move SEH handler declaration to end of function

2025-04-24 Thread Jacek Caban
On 24.04.2025 14:33, LIU Hao wrote: 在 2025-4-24 20:10, Martin Storsjö 写道: On Thu, 24 Apr 2025, Jacek Caban wrote: This avoids splitting the function into multiple .text chunks, which triggers an error on ARM64EC: error: cannot perform a PC-relative fixup with a non-zero symbol offset --- I ha

[Mingw-w64-public] [PATCH] headers: Add buffer types for FSCTL_DUPLICATE_EXTENTS_TO_FILE(EX) in winioctl.h

2025-04-24 Thread Biswapriyo Nath
From 10cfcc41c79aa8cf4a62a9ded9b2a0a33a282ac1 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 24 Apr 2025 19:31:27 + Subject: [PATCH] headers: Add buffer types for FSCTL_DUPLICATE_EXTENTS_TO_FILE(EX) in winioctl.h Required for https://github.com/mingw-w64/mingw-w64/issues/90 Sign

Re: [Mingw-w64-public] [PATCH 2/2] winpthreads: Move SEH handler declaration to end of function

2025-04-24 Thread Jacek Caban
On 24.04.2025 14:10, Martin Storsjö wrote: On Thu, 24 Apr 2025, Jacek Caban wrote: This avoids splitting the function into multiple .text chunks, which triggers an error on ARM64EC: error: cannot perform a PC-relative fixup with a non-zero symbol offset --- I haven't looked deeper into the LLV

[Mingw-w64-public] [PATCH 1/2] winpthreads: Disable dll_dependency.S assembly on ARM64EC

2025-04-24 Thread Jacek Caban
From: Billy Laws Bootstrapping is not a concern with LLVM toolchains. --- mingw-w64-libraries/winpthreads/src/libgcc/dll_dependency.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingw-w64-libraries/winpthreads/src/libgcc/dll_dependency.S b/mingw-w64-libraries/winpthreads

Re: [Mingw-w64-public] [PATCH v3 1/3] headers: Use __builtin_sponentry for setjmp when available.

2025-04-24 Thread Martin Storsjö
On Thu, 24 Apr 2025, Jacek Caban wrote: On 24.04.2025 12:49, Martin Storsjö wrote: On Thu, 24 Apr 2025, Jacek Caban wrote: Instead of for specific architectures. Fixes setjmp on ARM64EC. --- mingw-w64-headers/crt/setjmp.h | 24 1 file changed, 12 insertions(+), 12 dele

Re: [Mingw-w64-public] [PATCH 2/2] winpthreads: Move SEH handler declaration to end of function

2025-04-24 Thread LIU Hao
在 2025-4-24 20:10, Martin Storsjö 写道: On Thu, 24 Apr 2025, Jacek Caban wrote: This avoids splitting the function into multiple .text chunks, which triggers an error on ARM64EC: error: cannot perform a PC-relative fixup with a non-zero symbol offset --- I haven't looked deeper into the LLVM side

Re: [Mingw-w64-public] [PATCH 2/2] winpthreads: Move SEH handler declaration to end of function

2025-04-24 Thread Martin Storsjö
On Thu, 24 Apr 2025, Jacek Caban wrote: This avoids splitting the function into multiple .text chunks, which triggers an error on ARM64EC: error: cannot perform a PC-relative fixup with a non-zero symbol offset --- I haven't looked deeper into the LLVM side. Even if there's something that could

Re: [Mingw-w64-public] [PATCH 1/2] winpthreads: Disable dll_dependency.S assembly on ARM64EC

2025-04-24 Thread Martin Storsjö
On Thu, 24 Apr 2025, Jacek Caban wrote: From: Billy Laws Bootstrapping is not a concern with LLVM toolchains. --- mingw-w64-libraries/winpthreads/src/libgcc/dll_dependency.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) LGTM. // Martin _

[Mingw-w64-public] [PATCH 2/2] winpthreads: Move SEH handler declaration to end of function

2025-04-24 Thread Jacek Caban
This avoids splitting the function into multiple .text chunks, which triggers an error on ARM64EC: error: cannot perform a PC-relative fixup with a non-zero symbol offset --- I haven't looked deeper into the LLVM side. Even if there's something that could be improved there, splitting a function lik

Re: [Mingw-w64-public] [PATCH v3 1/3] headers: Use __builtin_sponentry for setjmp when available.

2025-04-24 Thread Jacek Caban
On 24.04.2025 12:49, Martin Storsjö wrote: On Thu, 24 Apr 2025, Jacek Caban wrote: Instead of for specific architectures. Fixes setjmp on ARM64EC. --- mingw-w64-headers/crt/setjmp.h | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/mingw-w64-headers/c

Re: [Mingw-w64-public] [PATCH v3 3/3] crt: Add ARM64EC setjmp and longjmp implementation

2025-04-24 Thread Martin Storsjö
On Thu, 24 Apr 2025, Jacek Caban wrote: Based on Wine code by Alexandre Julliard. --- mingw-w64-crt/Makefile.am| 8 +- mingw-w64-crt/misc/arm64ec/longjmp.c | 30 mingw-w64-crt/misc/arm64ec/setjmp.c | 106 +++ mingw-w64-crt/misc/longjmp.S |

Re: [Mingw-w64-public] [PATCH v3 2/3] headers: Mark RtlUnwind* functions as noreturn

2025-04-24 Thread Martin Storsjö
On Thu, 24 Apr 2025, Jacek Caban wrote: --- mingw-w64-headers/include/winnt.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mingw-w64-headers/include/winnt.h b/mingw-w64-headers/include/winnt.h index 7da4c40d8..4d920fdbd 100644 --- a/mingw-w64-headers/include/win

Re: [Mingw-w64-public] [PATCH v3 1/3] headers: Use __builtin_sponentry for setjmp when available.

2025-04-24 Thread Martin Storsjö
On Thu, 24 Apr 2025, Jacek Caban wrote: Instead of for specific architectures. Fixes setjmp on ARM64EC. --- mingw-w64-headers/crt/setjmp.h | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/mingw-w64-headers/crt/setjmp.h b/mingw-w64-headers/crt/setjmp.h

Re: [Mingw-w64-public] [PATCH] crt: Move quartz to lib-common

2025-04-24 Thread LIU Hao
在 2025-4-24 15:46, Biswapriyo Nath 写道: From 503eb07aa0a5a39c8431fd8edece0a8beda6504e Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 24 Apr 2025 07:44:46 + Subject: [PATCH] crt: Move quartz to lib-common Signed-off-by: Biswapriyo Nath --- mingw-w64-crt/{lib64 => lib-common}/quar

Re: [Mingw-w64-public] [PATCH] crt: Move quartz to lib-common

2025-04-24 Thread Hernan Martinez via Mingw-w64-public
Ah ok, so we just have to wait for it to show up in MSYS? Sent with Proton Mail secure email. On Thursday, April 24th, 2025 at 1:46 AM, Biswapriyo Nath wrote: > Previous patch https://sourceforge.net/p/mingw-w64/mailman/message/59175906/ > ___ > M

[Mingw-w64-public] [PATCH] crt: Move quartz to lib-common

2025-04-24 Thread Biswapriyo Nath
Previous patch https://sourceforge.net/p/mingw-w64/mailman/message/59175906/ From 503eb07aa0a5a39c8431fd8edece0a8beda6504e Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 24 Apr 2025 07:44:46 + Subject: [PATCH] crt: Move quartz to lib-common Signed-off-by: Biswapriyo Nath --- ming