The solution is to downgrade GCC and its libs, I just managed to build Rack doing that and nothing seems broken.
As with most things MSYS, it’s not straightforward or friendly.
- You need to download by hand, as MSYS doesn’t support downgrading
- mingw-w64-x86_64-gcc-13.2.0-6-any.pkg.tar.zst
- mingw-w64-x86_64-gcc-libs-13.2.0-6-any.pkg.tar.zst
Take heed! There are .sig files with the same long filename… you don’t want or need those.
-
Place the downloaded files in some folder you can access via MSYS.
-
Using msys go to that folder and run
pacman -U -d mingw-w64-x86_64-gcc-libs-13.2.0-6-any.pkg.tar.zst
pacman -U -d mingw-w64-x86_64-gcc-13.2.0-6-any.pkg.tar.zst
Rack and its deps should build.