On Thursday 11 June 2026 17:13:30 Evgeny Karpov wrote:
> On 25 Dec 2025, Pali R. wrote: 
> > +    };
> > +    __writefsdword (0, (DWORD)&exception_record); /* dynamically register 
> > SEH error handler, it is active until manually unregistered */
> > +#elif defined(SEH_INLINE_ASM)
> > +    asm volatile (".seh_handler %p0, " ASM_EXCEPT :: "i" 
> > (__mingw_SEH_error_handler)); /* statically register error SEH handler, it 
> > is active only in the current function */
> > +#elif defined(__x86_64__)
> > +    __mingw_init_ehandler (); /* dynamically register SEH error handler 
> > for all functions, it is active until program terminates */
> > +#endif
> 
> The final version that was committed a few days ago reports an error for 
> unsupported platform. It breaks aarch64-w64-mingw32 build from upstream repos.
> It should contain at least an empty block for __aarch64__.
> 
> Regards,
> Evgeny

Hello, could you provide your build errors? We have tested all changes
which were merged via github CI for i386, amd64, arm32, arm64 and
arm64ec and all tests passed. We have also tested builds locally for
i386 and amd64 for different msvcrt versions and there was no test
failure or compile issue.

Note that arm64 is using SEH and there the relevant macro for SEH should
be defined and SEH code compiled.

If you have some configuration of arm64 without SEH then such thing is
not supported. If this is your case the __mingw_init_ehandler code could
be a fallback (which is now defined only for amd64 without SEH configuration).

In any case, I would need more details what is wrong or what is not
working. I will try to address those issues.


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

Reply via email to