Re: [Mingw-w64-public] Successfully built cross compiler produces non-working EXE files

2024-06-05 Thread LIU Hao
在 2024-06-06 04:59, itsthew...@tuta.io 写道: A little update on the faulty cross compiler; the problem is most certainly not in the MinGW-w64 libraries, as I swapped the libraries between the reference and faulty toolchains and the results were the same. This leaves the linker... I tried differe

Re: [Mingw-w64-public] Successfully built cross compiler produces non-working EXE files

2024-06-05 Thread Bob via Mingw-w64-public
A little update on the faulty cross compiler; the problem is most certainly not in the MinGW-w64 libraries, as I swapped the libraries between the reference and faulty toolchains and the results were the same. This leaves the linker... I tried different Binutils versions and found something inte

Re: [Mingw-w64-public] [PATCH 1/4] crt: Preprocess all .def.in files with -DDEF_

2024-06-05 Thread Jeremy Drake via Mingw-w64-public
On Tue, 4 Jun 2024, Pali Rohár wrote: > > I'm really sorry about this issue. It was caused by me by starting using > > all those F* macros in crt-aliases.def.in file and then also moving > > DECORATED_EXPORT() macro into func.def.in. I spotted it just because > > fastcall exports (in 4/4 change) d

Re: [Mingw-w64-public] [PATCH] headers: Add missing NTDDI_WIN10* defines

2024-06-05 Thread LIU Hao
在 2024-06-05 01:47, Biswapriyo Nath 写道: From 2e6684ffab2500545d83c2a8c02bf48db8852764 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Tue, 4 Jun 2024 17:45:59 + Subject: [PATCH] headers: Add missing NTDDI_WIN10* defines Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/sdk

Re: [Mingw-w64-public] [PATCH] headers: Add new constants for IsProcessorFeaturePresent from WinSDK 10.0.26100

2024-06-05 Thread LIU Hao
在 2024-06-05 04:10, Martin Storsjö 写道: Signed-off-by: Martin Storsjö --- mingw-w64-headers/include/winnt.h | 15 +++ 1 file changed, 15 insertions(+) Looks good to me. Thanks. -- Best regards, LIU Hao OpenPGP_signature.asc Description: OpenPGP digital signature _

Re: [Mingw-w64-public] [PATCH] headers: Fix the order of asm() and attribute((deprecated())) in time.h

2024-06-05 Thread Martin Storsjö
On Wed, 5 Jun 2024, Jacek Caban wrote: On 5.06.2024 09:44, Martin Storsjö wrote: mingw-w64-headers/crt/time.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Looks good to me. Thanks, pushed. As this was a regression, I believe the fix should be backported, so I'll push this

Re: [Mingw-w64-public] [PATCH] headers: Fix the order of asm() and attribute((deprecated())) in time.h

2024-06-05 Thread Jacek Caban
On 5.06.2024 09:44, Martin Storsjö wrote: mingw-w64-headers/crt/time.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Looks good to me. Thanks, Jacek ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https:/

[Mingw-w64-public] [PATCH] headers: Fix the order of asm() and attribute((deprecated())) in time.h

2024-06-05 Thread Martin Storsjö
This fixes build errors with GCC, after e5ac8c5509cd729b97065733cf4b0df0ec732797; GCC doesn't accept __asm__(), expanded from __MINGW_ASM_CALL(), after __attribute__((deprecated())), while Clang accepts both orders. By default, __MINGW_ATTRIB_DEPRECATED_SEC_WARN doesn't expand to anything, but if