Stream: git-wasmtime

Topic: wasmtime / issue #10289 MinGW builds are broken when unwi...


view this post on Zulip Wasmtime GitHub notifications bot (Feb 25 2025 at 05:25):

alexcrichton opened issue #10289:

First discovered in https://github.com/bytecodealliance/wasmtime-go/pull/241 which is one of the main users of MinGW builds (AFAIK Go doesn't have MSVC integration). I've bisected through Github Actions (couldn't do so locally) and discovered the following:

So it looks like our workaround of -D__USE_MINGW_SETJMP_NON_SEH, used to fix another bug in MinGW gcc is perhaps triggering some other bug in MinGW which is seemingly fixed with more recent GCC versions.

Overall I personally wish we could just drop this target and not worry about it, but I'm unaware of how to integrate with Go on Windows any other way...

view this post on Zulip Wasmtime GitHub notifications bot (Feb 25 2025 at 16:48):

alexcrichton closed issue #10289:

First discovered in https://github.com/bytecodealliance/wasmtime-go/pull/241 which is one of the main users of MinGW builds (AFAIK Go doesn't have MSVC integration). I've bisected through Github Actions (couldn't do so locally) and discovered the following:

So it looks like our workaround of -D__USE_MINGW_SETJMP_NON_SEH, used to fix another bug in MinGW gcc is perhaps triggering some other bug in MinGW which is seemingly fixed with more recent GCC versions.

Overall I personally wish we could just drop this target and not worry about it, but I'm unaware of how to integrate with Go on Windows any other way...

view this post on Zulip Wasmtime GitHub notifications bot (Feb 25 2025 at 16:48):

alexcrichton commented on issue #10289:

Seems addressed by #10290, so closing.


Last updated: Feb 28 2025 at 02:27 UTC