https://bugs.winehq.org/show_bug.cgi?id=53912
--- Comment #8 from Robbert van der Helm mail@robbertvanderhelm.nl --- Only just got around to testing this. While the example I posted in the OP now compiles and runs fine, it seems like things still very much broken. Running the yabridge-host.exe binary from https://github.com/robbert-vdh/yabridge results in an immediate stack overflow before the main function is executed, so there's likely still an issue with static initialization somewhere. This happens both with older binaries compiled with older Wine version, as well as with a fresh binary compiled with Wine 8.0 rc1. And both with and without the workarounds for the bugs in Wine 7.21 and 7.22. If you want to test this, run/compile version 5.0.0 to get the version without any workarounds.