在 2026-11-10 18:41, Pali Rohár 写道:
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.

OK maybe that patch can be just checked in. ARM32 CRT libraries can only be installed with an old Visual Studio (they are not part of Windows SDK) which I'm not willing to do.

On ARM64EC these seem to resolve to the same function, unlike x86-64 where they resolve to different copied of the same function, so those really are the same everywhere.



--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

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

Reply via email to