在 2026-7-4 23:54, Pali Rohár 写道:
You need to use -fno-asynchronous-unwind-tables (you are missing "no").
Or at least this switch is working with my gcc version.
Maybe it is possible that gcc toolchain build with some other flags will
not accept the -fno-asynchronous-unwind-tables flag (or ignores it).

Ah right. Overlooked it.


Anyway, I in other email I have proposed to remove the
__mingw_init_ehandler code if the fixing it could not be accepted due to
big maintenance issue.

IMHO the current state of __mingw_init_ehandler is already maintenance
issue, as seems to be that only me was able to compile mingw-w64 when
that __mingw_init_ehandler code was enabled and was in use. So another
argument for removal.

Yes. You are free to send a patch to remove it; I don't mind. Without SEH unwind information, signal handlers might not work, but it's not a big loss for x86-64, and it has never been working for ARM64.

And for this reason you should delete the `#error` which is causing build 
failures for ARM64.


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