On Tuesday 10 November 2026 14:00:56 LIU Hao wrote:
> 在 2026-11-9 21:54, LIU Hao 写道:
> > 在 2026-11-5 06:47, Pali Rohár 写道:
> > > Hello, when you have a time, could you look at my changes in the
> > > mingw_setjmp_v3.patches file sent in the previous email?
> > > 
> > > Just for information all those commits were applied on the top of the
> > > master branch at time of sending them, which was on top of the commit
> > > 088d2039f9f5ca872092c7a03c765936a93011f8
> 
> As for patch 3, I'm quite hesitating to add `__intrinsic_setjmpex` to ARM32
> import library. There's no new hardware that can run ARM32 programs, so I
> think we should stop updating ARM32 code (and deprecate and remove it in the
> future). Furthermore, Visual Studio no longer ships with ARM32 headers and
> libraries, so it's unverifiable.

Without patch 3 we are getting compile errors on CI for arm32. As I have
described in the commit description, the __intrinsic_setjmpex symbol
exists for msvc builds in import library and resolves to the
vcruntime140.dll which we do not want to use.

> With recent MSVC, the setups seem to be
> 
>  - x86: Only `_setjmp` exists; `_setjmpex` doesn't.
>  - x64: Both `_setjmp` and `_setjmpex` exist and reference to byte-wise exact 
> copies.
>  - ARM64: `_setjmp` doesn't exist; only `_setjmpex` exists.
> 
> So it looks like there's even less reason to do so.

That matches what I wrote in some of my commits. arm32 has also
_setjmpex symbol like arm64.


_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to